Giter Site home page Giter Site logo

Comments (6)

themperek avatar themperek commented on August 10, 2024

log -recursive *; works on my Modelsim.

Do you have some recent versions of Questa?

I propose to change it to log -recursive *; Can you make PR?

One could also change this in cocotb https://github.com/cocotb/cocotb/blob/65090a583040e4d19b4e433f6efeabd579a71f9a/cocotb/share/makefiles/simulators/Makefile.questa#L144C9-L144C26
Since cocotb has Questa in CI if one writes a test to check for this file it would check.

from cocotb-test.

Roenski avatar Roenski commented on August 10, 2024

I have Questa 2017.01, so quite an old one. That's why I wanted to check if it's only my problem.

I can make a PR. Is there a way I can make the test in cocotb and run it, since the CI with Questa is private?

from cocotb-test.

themperek avatar themperek commented on August 10, 2024

If you make a PR to cocotb it will run Questa. You cannot see it but maintainers do.
But how to check that signals are in wlf file?

from cocotb-test.

Roenski avatar Roenski commented on August 10, 2024

One test would be that the file gets generated at all.

Second would be to check that signals exist in the file. If the test module is known, it is probably enough to search for one of the signals lowest in the hierarchy. For that there is probably a vsim command, just need to browse through the command reference :)

from cocotb-test.

themperek avatar themperek commented on August 10, 2024

@Roenski

Just found that log -recursive *; is not the same as log -recursive /*;. If I have multiple top design I see only the first one in waveforms in the case of log -recursive *;.

from cocotb-test.

Roenski avatar Roenski commented on August 10, 2024

Hi, sorry for a bit late reply. I haven't done much to test this further. But, since you found that my suggestion breaks something, then, naturally, it shouldn't be used. Maybe it is just better to leave it as it is. It's not a big task to write custom code for generating the waveform, anyway :)

I close the issue, if it is ok

from cocotb-test.

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.