Xilinx / finn

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

Refactoring of RTL VVAU #1000

Closed mmrahorovic closed 3 months ago

mmrahorovic commented 3 months ago

(PR combines the previously closed PRs: PR https://github.com/Xilinx/finn/pull/976 , PR https://github.com/Xilinx/finn/pull/975 and PR https://github.com/Xilinx/finn/pull/794)

Adds support for utilizing multi-packed DSP58s for the 'VectorVectorActivation' layer. For weights and activations that are between 4- and 8-bits wide (with the exception of 9-bits for activations for DSP58), the custom layer packs 2, 3 or 4 elements on the input datapath of the DSP to achieve 3 MACs per cycle per DSP58.


Functionalities to be added for the VVU

Tests

Outstanding bugs & features