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

Workaround to generate bitstream for Xilinx A7 FPGAs using Symbiflow #78

Open
carlosedp opened this issue Jun 12, 2024 · 0 comments
Open

Comments

@carlosedp
Copy link
Owner

carlosedp commented Jun 12, 2024

Since Chisel/Firtool now requires a synthesis define ENABLE_INITIAL_MEM_=True to be able to initialize memories with external files (readmemh/readmems), this define has been added to the chiselv.core file but was not picked by Symbiflow, the toolchain used to generate bitstreams for Xilinx board (like the Arty A7).

I've added a workaround on carlosedp/edalize@4a806a8 that allows passing defines in the filelist array.

This can be used until symbiflow has a proper flag for defines which I've sent here: chipsalliance/f4pga#669

There's an issue open on Edalize at olofk/edalize#434.

The workaround can be installed as described in the Readme (added on 63095e5).

This could be removed once everything works upstream (Edalize and F4pga PRs).

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