Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vivado project files for examples #70

Open
siwave opened this issue Dec 9, 2023 · 1 comment
Open

Vivado project files for examples #70

siwave opened this issue Dec 9, 2023 · 1 comment

Comments

@siwave
Copy link

siwave commented Dec 9, 2023

Are the Vivado projects for the pre-built examples available for download?

Thanks

@mmrahorovic
Copy link
Collaborator

Hi @siwave,

The Vivado projects aren't available for download. However, for each pre-built network example, we have provided steps to rebuild the bitfile, which can be found here. The Vivado project of the stitched-IP can then be found under $FINN_HOST_BUILD_DIR. Depending on which example network you're interested in and presuming you only want the Vivado project of the stitched-IP, you can add an additional flag called "stop_step" in the DataflowBuildConfig to run the build flow up until creating the stitched-IP. Since this depends slightly on the custom steps of the networks, I've listed which step generates the stitched-IP:

  • bnn-pynq, cybersecurity-mlp, kws, vgg10-radioml: "step_create_stitched_ip".
  • mobilenet-v1: "step_create_stitched_ip" when targeting Zynq platforms, "step_synthesize_bitfile" when targeting Alveo platforms.
  • resnet50: "step_synthesize_bitfile".

You would need to modify the build.py and add, for example for the bnn-pynq models, the line stop_step="create_stitched_ip" as part of the parameters of the DataflowBuildConfig.

Additionally, if you want to synthesize the stitched-IP, you can set the parameter enable_stitched_ip_synth=True in the DataflowBuildConfig. Note however that this will increase the execution time of the build flow.

Hope this helps!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant