fastmachinelearning / hls4ml

Machine learning on FPGAs using HLS
https://fastmachinelearning.org/hls4ml
Apache License 2.0
1.16k stars 386 forks source link

Split fpga_types into separate files #998

Closed vloncar closed 2 months ago

vloncar commented 2 months ago

Description

fpga_types.py became unwieldy due to all the types from various backends being stored there. To simplify things, we should split them into backend-specific files. This was observed in Catapult PR but agreed to be done afterwards

Type of change

Tests

Nothing to test specifically. If the existing tests work, we're fine. Errors in this refactor would cause import issues so they would be obvious immediately.