Comments (6)
cocotb-config.exe -v
1.8.0
python --version
Python 3.11.1
from cocotb.
This is a 32-bit version. You need 32-bit python to run.
from cocotb.
I have switched to Python 3.11 32-bit, as you can see, but still getting this error message:
PS C:\work\cocotb-master\examples\adder\tests> python .\test_adder.py
C:\work\cocotb-master\examples\adder\tests\test_adder.py:10: UserWarning: Python runners and associated APIs are an experimental feature and subject to change.
from cocotb.runner import get_runner
INFO: Running command ghdl -i --work=top 'C:\work\cocotb-master\examples\adder\hdl\adder.vhdl' in directory C:\work\cocotb-master\examples\adder\tests\sim_build
INFO: Running command ghdl -m --work=top adder in directory C:\work\cocotb-master\examples\adder\tests\sim_build
INFO: Running command ghdl -r --work=top adder --vpi=C:/Users/lcolombini/AppData/Local/Programs/Python/Python311-32/Lib/site-packages/cocotb/libs/cocotbvpi_ghdl.dll in directory C:\work\cocotb-master\examples\adder\tests\sim_build
loading VPI module 'C:/Users/lcolombini/AppData/Local/Programs/Python/Python311-32/Lib/site-packages/cocotb/libs/cocotbvpi_ghdl.dll'
Impossibile trovare il modulo specificato.
C:\tools\ghdl\bin\ghdl.exe:error: cannot load VPI module 'C:/Users/lcolombini/AppData/Local/Programs/Python/Python311-32/Lib/site-packages/cocotb/libs/cocotbvpi_ghdl.dll'
Process 'ghdl' terminated with error 1
I think I'll switch to work on a dockerized version.
from cocotb.
I think it is related to #2030
from cocotb.
This #3378 goes in msys2 should work see: https://github.com/cocotb/cocotb/wiki/Tier-2-Setup-Instructions#windows-installation-using-msys2
The best is to use WSL probably or docker.
from cocotb.
Yes, both WSL and Docker work just fine.
from cocotb.
Related Issues (20)
- Compile sources into different libs HOT 1
- Improve implementation of `Freeze` and `Release`
- `Release` does not work on GHDL
- `Force`/`Release` don't work on Verilator
- Setting value on forced signal causes implicit release on Riviera
- Questa's FLI allows depositing over a forced signal
- Treat each `MODULE` as it's own testsuite in JUnit results
- Backwards compat `TESTCASE`
- Add Python runner to quick start guide
- Allow Logic for BinaryValue.__eq__() in cocotb 1.8
- COCOTB_RESOLVE_X not working HOT 3
- Change CI's MacOS Verilator test to build cocotb from source
- Python Runner starts tests directly (not waiting for GUI) HOT 1
- Add value change triggers as methods to handles
- Make terminology used in documentation consistent
- Make working with packed objects easier
- `TypeError` exception when running simulation HOT 11
- Make `cocotb_tools.runner` work on native Windows environment
- Make sure all public interfaces are documented and typed
- COCOTB + Verilator reads stale signal values when on clock posedge HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cocotb.