YosysHQ / oss-cad-suite-build

Multi-platform nightly builds of open source digital design and verification tools
ISC License
742 stars 67 forks source link

OPENFPGALOADER_SOJ_DIR not set in environment script #112

Open exitrip opened 2 months ago

exitrip commented 2 months ago

proposed solution:

export OPENFPGALOADER_SOJ_DIR="$release_topdir_abs/share/openFPGALoader"
mmicko commented 2 months ago

What is the use case for this one ? If you check in bin that variable is already set inside binary wrapper for openFPGALoader so it is enough for running this tool

exitrip commented 2 months ago

It wasn't working inside of a Litex board module command until I added the export. So I guess it's a Litex environment issue? Specifically:

⦗OSS CAD Suite⦘ engin@engin-think:~$ CHIPDB=~/oss-cad-suite/chipdb python3 -m litex_boards.targets.colorlight_i9plus --build --flash --with-pmod-uart --with-spi-flash --toolchain=vivado