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.
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.