Cocotb requires version 11 of icarus when version 12 is used
See original GitHub issueI’m using versio 15.1 or cocotb and version 12 of icarus verilog along with version 3.9 of python.
I’m on a m1 mac.
While running cocotb I’m getting this issue:
/Users/raffaelemac/oss-cad-suite/bin/vvp -M /opt/homebrew/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/cocotb/libs -m libcocotbvpi_icarus sim_build/sim.vvp libcocotbvpi_icarus:`/opt/homebrew/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/cocotb/libs/libcocotbvpi_icarus.vpl’ failed to open using dlopen() because: dlopen(/opt/homebrew/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/cocotb/libs/libcocotbvpi_icarus.vpl, 9): no suitable image found. Did find: /opt/homebrew/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/cocotb/libs/libcocotbvpi_icarus.vpl: mach-o, but wrong architecture /opt/homebrew/lib/python3.9/site-packages/cocotb/libs/libcocotbvpi_icarus.vpl: mach-o, but wrong architecture. Error: VVP input file 11.0 can not be run with run time version 12.0 (devel) make[1]: * [results.xml] Error 1 make: * [sim] Error 2
Thanks in advance for any help
Issue Analytics
- State:
- Created 2 years ago
- Comments:8 (3 by maintainers)
Top GitHub Comments
As i stated previously after making a clean the numbers matched. So the only issue is related to the arch as stated before. So all clear basically by using the arm64 iverilog with cocotb installed everything works fine.
cocotb, like all software, needs to be built with the same arch and executable format as the program it is being loaded into. cocotb works with all versions of Icarus Verilog AFAICT. The problem is that the numbers don’t match.