Lightweight hardware Filomat