Tuesday, June 28, 2011

Waveform generation and view

To dump the waveform file

Add the following lines in verilog scripts.
$dumpfile("waveform.vcd");
$dumpvars(0, top_module_name);
0--hierarchical level. If sub-modules are included, increase the number.

To view the waveform
1) use DVE, command "dve &"
2) use Virsim command "vcs -RPP"