User guide
2-3
Starting VirSim
+cfgfile+<filename>
(Optional.) Specifies using a configuration file that you recorded in a
previous session with VirSim. A configuration file specifies what
windows to open and what groups, expressions, etc. to use. You can
also use the Load Configuration dialog to specify a configuration file.
See
Saving and Loading a Configuration File.
+vslogfile+<filename>
Enables logging of VirSim commands. If you do not specify a filename,
the log is automatically saved to your working directory as VirSim.log.
+vslogfilesim+<filename>
Enables logging of simulator communication messages. If you use
both +vslogfile and +vslogfilesim, VirSim commands and simulator
messages are saved to the same file. If you do not specify a filename,
the log is automatically saved to your working directory as VirSim.log.
Creating Value Change Data (VPD) for Post Processing
Modeling the Design
In the Verilog source, save hierarchy and value data for the design by
adding the system task:
$vcdpluson(<levels>, <scope>,
<signal>)
. See System Tasks and Functions in Chapter 1, VCD+
(vpd) File Generation for additional system tasks.
Compiling the Design
Build the simulator from source files (.v .vhd). The simulator must be
built with a VirSim interface so that simulation results can be saved
in a compressed VCD+ format. To access the interface, include the -
I argument on the command line.