How to Feed Data Into FINN IP Block and Interpret the Output? #1254
Unanswered
unnamed-002
asked this question in
Q&A
Replies: 1 comment 3 replies
-
|
Hi, The full FINN build flow will generate an io_shape_dict (in driver.py) for your accelerator according to your bit widths and folding parameters. The driver then arranges/packs the data accordingly, places it in DRAM, and instructs the DMAs to start the transfers. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I followed the steps from this link:
https://github.com/jterry-x/finn-examples/tree/main/build/fpga_flow
I added the output_tfc_w1a1_fpga/stitched_ip/ip folder to my repository and got a stitched IP block named finn_design_0.
Next, I connected the stitched IP block to an AXI4-Stream Data FIFO because TLAST is required by the DMA. My setup is a MicroBlaze system using Nexys 4 DDR.
The bitstream was generated successfully with this Critical Warning:
[Designutils 20-1275] Could not find cell 'inst' within module 'design_1_finn_design_0_0' for instance 'design_1_i/finn_design_0'. The XDC file ../sources_1/bd/design_1/ip/design_1_finn_design_0_0/impl/finn_design.xdc will not be read for this cell.
However, I'm stuck on what to do next, like how do I get data out of the FINN IP block? Is there any simple code example that shows what kind of data I should feed into it and what to expect as output?
Any help or guidance would be greatly appreciated!
Beta Was this translation helpful? Give feedback.
All reactions