YosysHQ / oss-cad-suite-build

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

yosys-config --datdir returns wrong path #8

Closed XarkLabs closed 3 years ago

XarkLabs commented 3 years ago

yosys-config --datdir is a portable way to get the full path to the yosys simulation libraries (typically in a Makefile in conjunction with Icarus Verilog or other simulator). The current oss-cad-suite build appears to return the "build" path, not the actual path where it was installed on the end-users machine. E.g., yosys-config --datdir/ice40/cells_sim.v appears to always return /yosyshq/share/yosys/ice40/cells_sim.v regardless of where the oss-cad-suite package was actually installed.