Need help viewing signals of the dut in the waveform

317 views
Skip to first unread message

Friend A

unread,
Sep 7, 2018, 4:58:18 PM9/7/18
to EDA Playground
Hi,

Here is the link to the playground:

1. tb_fsm is the testbench that instantiates the DUT (fsm)

2. Currently I have these lines in the test bench:
$dumpfile("dump.vcd")
 $dumpvars(1)

3. After the simulation run the wavefile is displayed - The problem is I only have access to tb_fsm signals and not to the signals that are internal to the DUT.

4. How do I view the signals internal to the DUT ? for eg: tb_fsm.dutfsm.State or tb_fsm.dutfsm.Next

Note: When I use the GetSignals on EpWave I only see the testbench module and not the instantiated DUT. So I am not sure how to add the DUT signals to the waveform.

Thank you.

Sushma

unread,
Sep 7, 2018, 8:37:22 PM9/7/18
to EDA Playground
The reason is, you have specified dumpvars(1).
It just dumps top level variables and nothing from sub modules.
Please change it to dumpvars():
Yes, no arguments.
Try it.

Friend A

unread,
Sep 8, 2018, 11:02:12 AM9/8/18
to EDA Playground
Thank you - This solves the problem. I can now see signals from the DUT.
Reply all
Reply to author
Forward
Message has been deleted
0 new messages