fastmachinelearning / hls4ml

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

Remove final reshapes even for Quartus #661

Closed jmitrevs closed 2 years ago

jmitrevs commented 2 years ago

Description

A final Reshape for io_parallel is removed for Vivado, but currently not for Quartus. This PR also enables this for Quartus. Also, since it's actually for io_parallel, I moved it from the streaming passes to the optimization passes.

Type of change

Tests

This was found importing a READS model for the Quartus backend. Probably a unit test should be added. I will try to do that.

Checklist