Request for a more detailed guide on how to implement generated hardware on FPGA
ChristiaanBoe opened this issue · comments
Hello everyone,
As someone who has almost no background in digital electronics a more detailed guide (or perhaps a walkthrough using one of the example codes) on how to implement the generated NNgen hardware on an FPGA and how to run the synthesized hardware (for example the IP-XACT) onto an FPGA would be appreciated.
My main Problems consist of how to implement the .npy file and write it on the off-chip memory.
And how this off-chip-memory is connected to the generated HDL.
From my limited digital electronics knowledge, the generated hardware has AXI4 or an AXI memory mapped interface so does this mean that binary code from the NPY file simply gets written from the off-chip memory to all of the addresses corresponding to different layers when that layer is in use?
A more detailed example of how the input is written towards this AXI interface would also be good for validation.
A more detailed guide with an example in the Read me or in the comments would be highly appreciated.
Thank you in advance and kind regards
An guide or a picture for how to connect the IP block with an Zynq ultrascale MPSOC block for verifacation of the torchvision_onnx_vgg11 pynq example would be much appreciated for example.
Sorry for the delayed response.
The following blog will be useful for you.
Unfortunately the blog is written in Japanese. Please read it via translation.
Dear @shtaxxx,
Your response is very much appreciated, however even with this guide the output buffer still returns 0(see picture).
As far as I am aware I followed the guide presented on the website, is it possible Shtaxxx that you can verify my output, so I know that my ultra 96 v2 is not broken?
I have linked my pynq map and my generated Ip Core: https://drive.google.com/drive/folders/1ZVEzo-VWlVR0uNiezgVjdxrrlC5SXyGg?usp=sharing
I wonder if this problem is just on my end or also on yours.
Thank you in advance,
@ChristiaanBoe
Hi, did you finally solve your problem?
I'm testing the vgg11 example code now, but I have the same problem as yours.
I try to print out the output value,and I find that all 1000 values are equal to zero.