openhwgroup / cva6

The CORE-V CVA6 is an Application class 6-stage RISC-V CPU capable of booting Linux
https://docs.openhwgroup.org/projects/cva6-user-manual/
Other
2.23k stars 677 forks source link

Some confusion about using Verdi to view.vcd files #2199

Closed cllll402 closed 3 months ago

cllll402 commented 3 months ago

Following the instructions, I have successfully generated the.vcd waveform file for the script smoke-tests.sh.

But when I opened the waveform file and wanted to analyze it in modules, I was confused. I don't know where to start, and there don't seem to be any guidelines in the documentation that mention this part.

Here are some of the attempts I made and the difficulties I encountered. I would appreciate it if anyone could give me some guidance.

First, I convert the.vcd file to the.fsdb file. image

Second, I reconfigured the Verdi command parameters and set the environment variables needed in the file Flist.cva6. image image image

Finally, I use Verdi to open the file in the.vcd build directory. image

The error appears as follows: image image

Is there anything else I didn't set up properly?

JeanRochCoulon commented 3 months ago

To use VERDI, "export VERDI=1" before running the simulation. Please close the issue if solved.

cllll402 commented 3 months ago

Thank you for your answer. I enabled "export VERDI=1", but the problem still persists.

JeanRochCoulon commented 3 months ago

You should open verdi by executing cva6.py, is it the case on your side ?

JeanRochCoulon commented 3 months ago

No updates... I close the github issue, re-open it if needed.