Xilinx / finn

Dataflow compiler for QNN inference on FPGAs
https://xilinx.github.io/finn
BSD 3-Clause "New" or "Revised" License
723 stars 230 forks source link

2 - Add hls bridge for FINN kernel in Coyote #946

Open ADGLY opened 9 months ago

ADGLY commented 9 months ago

This PR should be merged after https://github.com/Xilinx/finn/pull/930.

This PR is now the first one that should be merged.

This PR allows circumventing the limited address space offered by Coyote for the AXILite. An HLS bridge is added between the AXILite control interface from Coyote and the FINN AXILite signals (tlast marker + writeable weights). By configuring the two registers of the HLS bridge (address offset + value), it is possible to write to a full 32 bits address space.

This PR also makes it so that axi stream width converters do not need to be instantiated manually. Upon AXI4Stream width mismatch, a converter is instantiated.

The new commits start at: "Generate width converters".