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

Combination of --toolchain=openxc7 and --no-compile-gateware options #2141

Open
Mecrisp opened this issue Dec 16, 2024 · 0 comments
Open

Combination of --toolchain=openxc7 and --no-compile-gateware options #2141

Mecrisp opened this issue Dec 16, 2024 · 0 comments

Comments

@Mecrisp
Copy link

Mecrisp commented Dec 16, 2024

I am trying to generate the example design using the openXC7 toolchain for a Kintex-7 based Genesys2 for which the toolchain option to the litex-boards target file has been kindly added (see litex-hub/litex-boards#624).

I installed the openXC7 toolchain using the nix toolchain installer, https://github.com/openXC7/toolchain-nix which resides in a different environment than LiteX, and it seems as if the --no-compile-gateware is ignored when specifying the --toolchain=openxc7 option.

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

/snap/openxc7/current/opt/nextpnr-xilinx/external/prjxray-db/ does not exist on your system. 
Do you have the openXC7 toolchain installed? 
You can get it here: https://github.com/openXC7/toolchain-installer

On the other hand, trying to run LiteX from within the nix environment entered using nix develop github:openxc7/toolchain-nix results in invisible/missing tools for running LiteX.

I would like the ability to first generate a script in LiteX for later synthesis of the gateware without dependencies on nextpnr-xilinx at this stage, and then switching to the openXC7 environment to actually run the synthesis script in its own environment, just like it is possible for Vivado.

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