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

Option --toolchain=openxc7 ignored for Genesys2 #624

Open
Mecrisp opened this issue Dec 10, 2024 · 1 comment
Open

Option --toolchain=openxc7 ignored for Genesys2 #624

Mecrisp opened this issue Dec 10, 2024 · 1 comment

Comments

@Mecrisp
Copy link

Mecrisp commented Dec 10, 2024

I am trying to generate the LiteX example SoC for a Kintex-7 based Digilent Genesys2 board with a fresh LiteX install, using the openXC7 toolchain. But it seems as if the option --toolchain=openxc7 is ignored.

~/FPGA/LiteX/litex-boards/litex_boards/targets/digilent_genesys2.py --toolchain=openxc7 --output-dir=experiment-nogates --build --no-compile-gateware

Results in a build_digilent_genesys2.sh file to launch Vivado instead of Yosys (vivado -mode batch -source digilent_genesys2.tcl) along with the .tcl file necessary for Vivado.

Likewise, using this command

~/FPGA/LiteX/litex-boards/litex_boards/targets/digilent_genesys2.py --toolchain=openxc7 --output-dir=experiment --build

ends with this error message:

OSError: Unable to find or source Vivado toolchain, please either:
- Source Vivado's settings manually.
- Or set LITEX_ENV_VIVADO environment variant to Vivado's settings path.
- Or add Vivado toolchain to your $PATH.

I would expect it to create a shell script to invoke yosys and nextpnr-xilinx as provided by the openxc7 toolchain.

@Mecrisp
Copy link
Author

Mecrisp commented Dec 11, 2024

The same issue of the toolchain option being ignored, using Vivado as default instead, also happens with --toolchain=yosys+nextpnr and --toolchain=f4pga and also in combination with litex-boards/litex_boards/targets/xilinx_kc705.py

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