Open Merok opened 3 years ago
Hi,
Any help on this issue would be greatly appreciated.
Thanks for the help.
We normally generate VCDs using the simulator console directly. Looking at the console output that seems to work fine on you side. So you can start the simulation in interactive GUI mode (make run gui=1) and then use Questasim to generate the VCD using the following commands:
vcd file <path_where_you_want_the_vcd_to_be_stored.vcd>
vcd add -r <whatever module you are interested in>
run -all
vcd flush
Thank you for your reply. Could you tell me where the list of modules are (i.e to look for the execution block)?
Thanks for you help.
What modules do you mean? You have to look at the RTL source code yourself to figure out which signals you want to add to the VCD.
I want to generate the vcd only for a specific module. For example, to target the ALU of ibex, I tried to specify
vcd add -r /pulpissimo/ips/ibex/rtl/ibex_ex_block.sv
but I obtain an error:
# ** UI-Msg (suppressible): (vsim-3561) No objects found matching 'ibex_ex_block'.
I am new to modelsim so maybe this is not the correct way to do it. Do you have insight on how I should proceed ?
Thanks for the help.
Hi @Merok
Please read up on how to use the VCD commands in the Questa user manual. Conceptually it is wrong to try vcd dumping a systemverilog file. You can dump VCD on module instances thus you must provide a hierarchical path for the design instance of interest to the vcd add
command. Consider the case where you have a design with more than one ibex core; how should questasim know which instance of the core you want to generate traces for if you just provide a file name?
Hello,
I am trying to obtain the VCD file from an execution of a the hello example code in the Simple Runtime using the Ibex (formely zero-riscy) core.
I run my code using
make run vsim/script=export_run.tcl
but cannot find the VCD inbuild/<SRC_FILE_NAME>/pulpissimo/export.vcd.gz
.Here is the log I have:
Could you help me ?
Best