User guide

D-17
Compiler Directives and System Tasks
$dumpportsall
By default VCS writes to files only when a signal changes value.
The $dumpportsall system task records the values of the ports
in the module instances, which are specified by the
$lsi_dumpports or $dumpports system task, whether there
is a value change on these ports or not. You can specify the file
to which you want VCS to record the port values for the
corresponding module instance or specify no particular file, in
which case VCS writes port values in all files opened by the
$lsi_dumpports or $dumpports system task. See IEEE Std
1364-2001 page 341. Syntax:
$dumpportsall("filename");
$dumpportsflush
VCS stores simulation data in a buffer during simulation from
which it writes data to the file. If you want VCS to write all
simulation data from the buffer to the file or files at a particular
time, execute this $dumpportsflush system task. You can
specify the file to which you want VCS to write from the buffer or
specify no particular file, in which case VCS writes all data from
the buffer to all files opened by the $lsi_dumpports or
$dumpports system task. See IEEE Std 1364-2001 page 342.
Syntax:
$dumpportsfush("filename");