Giter VIP home page Giter VIP logo

Comments (6)

lukipedio avatar lukipedio commented on May 29, 2024

cocotb-config.exe -v
1.8.0

python --version
Python 3.11.1

from cocotb.

themperek avatar themperek commented on May 29, 2024

This is a 32-bit version. You need 32-bit python to run.

from cocotb.

lukipedio avatar lukipedio commented on May 29, 2024

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.

lukipedio avatar lukipedio commented on May 29, 2024

I think it is related to #2030

from cocotb.

themperek avatar themperek commented on May 29, 2024

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.

lukipedio avatar lukipedio commented on May 29, 2024

Yes, both WSL and Docker work just fine.

from cocotb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.