Skip to content

How to use DSPs in FINN? #888

Answered by fpjentzsch
MFJI asked this question in Q&A
Discussion options

You must be logged in to vote

Hi,

for the MatrixVectorActivation layer, you can set the resType attribute to "dsp": https://github.com/Xilinx/finn/blob/13313c293eb00d2eb88edcaf68386fdf52152aeb/src/finn/custom_op/fpgadataflow/matrixvectoractivation.py#L70C14-L70C21

This should instruct Vitis HLS to use DSPs for the MAC operations. A more efficient implementation is work-in-progress (#794).

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by auphelia
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants