-
Notifications
You must be signed in to change notification settings - Fork 338
Description
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.