User guide

D-22
Compiler Directives and System Tasks
$vcdplusflush
Tells VCS to “flush” or write all the simulation results in memory
to the VPD file at the time VCS executes this system task. Use
$vcdplusautoflushon to enable automatic flushing of
simulation results to the file when simulation stops. Syntax:
$vcdplusflush;
$vcdplusmemon
Records value changes and times for memories and multi-
dimensional arrays. Syntax:
system_task( Mda [, dim1Lsb [, dim1Rsb [, dim2Lsb
[, dim2Rsb [, ... dimNLsb [, dimNRsb]]]]]] );
Mda
This argument specifies the name of the multi-dimensional
array (MDA) to be recorded. It must not be a part select. If no
other arguments are given, then all elements of the MDA are
recorded to the VPD file.
dim1Lsb
This is an optional argument that specifies the name of the
variable that contains the left bound of the first dimension. If no
other arguments are given, then all elements under this single
index of this dimension are recorded.
dim1Rsb
This is an optional argument that specifies the name of variable
that contains the right bound of the first dimension.
Note: The dim1Lsb and dim1Rsb arguments specify the
range of the first dimension to be recorded. If no other
arguments are given, then all elements under this range of
addresses within the first dimension are recorded.