Giter Site home page Giter Site logo

Comments (8)

alexforencich avatar alexforencich commented on July 24, 2024

What simulator are you using?

from corundum.

alexforencich avatar alexforencich commented on July 24, 2024

And exactly what file are you running? cocotb doesn't print out "Running test..." (at least, I didn't see that in the output when I ran it myself), and you can't run the script directly from python at the moment, only via makefiles or via pytest. The old myhdl tests are deprecated and have been removed, and AFAIK those only supported icarus verilog, which is fine with constant functions.

from corundum.

happyPisces avatar happyPisces commented on July 24, 2024

I am running the old myhdl tests, It is strange that some constant functions are supported, such as hash_toep.

from corundum.

alexforencich avatar alexforencich commented on July 24, 2024

What is the output of iverilog -v?

from corundum.

happyPisces avatar happyPisces commented on July 24, 2024

Icarus Verilog version 0.9.7 (v0_9_7)

from corundum.

alexforencich avatar alexforencich commented on July 24, 2024

Well. There's your problem, Icarus Verilog 10.0 was released in 2015. Current stable version is 11.0. Your simulator is more than 6 years old, might be time to upgrade.

from corundum.

happyPisces avatar happyPisces commented on July 24, 2024

Thank you. By the way, for the new version using cocotb, would you please give the minimum version requirements of the relevant tools, such as python, pytest, cocotb and so on?

from corundum.

alexforencich avatar alexforencich commented on July 24, 2024

Currently several of the cocotb extensions that I have written - along with cocotb itself - are evolving along with corundum. So you'll definitely want to run the latest versions of those. But python has a package manager called pip, so as long as you install them from pip, you should be fine. I won't push anything to this repo that doesn't work with the versions of the tools on pip, as tox runs the tests on github actions using the pip versions of everything. However, there is at least one major breaking change that I will be making at some point, just FYI. But again, I will make sure the pip packages and the corundum testbenches are updated together. Not sure what python version would be best, latest will definitely work, but I think it will probably work all the way back to python 3.6.

from corundum.

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.