User guide

17-17
VCD+ (vpd) File Generation
Using the $vcdplusmemorydump Task
The $vcdplusmemorydump task dumps a snapshot of memory
locations. When the function is called, the current contents of the
specified range of memory locations are recorded (dumped).
The complete set of multi-dimensional array elements to be dumped
can be specified only once. You can specify multiple element subsets
of an array using multiple $vcdplusmemorydump commands, but
they must occur in the same simulation time. In subsequent simulation
times, $vcdplusmemorydump commands must use the initial set of
array elements or a subset of those elements. Dumping elements
outside the initial specifications will cause a warning.
Within VirSim, multi-dimensional arrays can be expanded in each
dimension in much the same way as memories. By default, only the
portions of the multi-dimensional array that have data are shown in
VirSim.
System Tasks for Capturing Source Statement
Execution Data
(Verilog only) The Source Window requires the use of VCD+ options
to save source hierarchy information and VCD+ tasks to capture
source statement execution information in VCD+ files. Capturing
source statement execution allows you to view and trace statement
execution in the Source Window.
Note that saving statement execution data can significantly increase
simulation time and VCD+ file size.
The following information is covered in this section:
How to Capture Verilog Source Statement Execution