openlane2
openlane2 copied to clipboard
Explicit Yosys Plugin Handling
Description
A user tried to use the VHDL flow in OpenLane in our IIC-OSIC-TOOLS image, see https://github.com/iic-jku/IIC-OSIC-TOOLS/issues/43.
The error is that the command ghdl
is not working inside Yosys. If I start Yosys just by
> yosys
then running ghdl
inside, it throws the error ERROR: No such command: ghdl (type 'help' for a command overview)
.
If I start Yosys with
> yosys -m ghdl
then running ghdl
inside Yosys works fine!
Question: What is wrong with the OpenLane setup in our image?
Expected Behavior
VHDLClassic flow should work.
Environment report
Failed to get Docker info: [Errno 2] No such file or directory: 'docker'
Failed to get Nix info: [Errno 2] No such file or directory: 'nix'
kernel: Linux
kernel_version: 6.6.32-linuxkit
supported: True
distro: ubuntu
distro_version: 22.04
python_version: 3.10.12
python_path:
- /usr/local/lib/python3.10/dist-packages/openlane
- /headless/.local/lib/python3.10/site-packages
- /usr/lib/python310.zip
- /usr/lib/python3.10
- /usr/lib/python3.10/lib-dynload
- /usr/local/lib/python3.10/dist-packages
- /usr/lib/python3/dist-packages
- /usr/lib/python3.10/dist-packages
- /foss/tools/ngspyce/154a272/local/lib/python3.10/dist-packages
- /foss/tools/pyopus/0.11/local/lib/python3.10/dist-packages
- /foss/tools/yosys/share/yosys/python3
- /foss/tools/klayout/v0.29.4/pymod
tkinter: True
container_info: None
nix_info: None
Reproduction material
None needed.
Relevant log output
See above.