Technical data

vsim
CR-208 ModelSim Commands ModelSim EE/SE Command Reference
vsim
The vsim command is used to invoke the VSIM simulator, or to view the results
of a previous simulation run (when invoked with the -view switch). You can
specify a configuration, an entity/architecture pair, or a module for simulation. If
a configuration is specified, it is invalid to specify an architecture. With no
options, vsim brings up the Load Design dialog box, allowing you to specify the
design and options; the Load Design dialog box will not be presented if you
specify any options. During elaboration vsim determines if the source has been
modified since the last compile.
To manually interrupt design elaboration use the Break key or <control-c>
(while the mouse cursor is located in the window that invoked vsim if you are
running UNIX).
The vsim command may also be invoked from the command line within
ModelSim with most of the options shown below (all except the vsim -c and -
restore options).
Syntax
vsim
[-c] [-coverage] [-do <command_string> | <macro_file_name>]
[-f <filename>] [-gui] [-help] [-i] [-installcolormap] [-
keepstdout]
[-l <filename>] [<license_option>]
[-multisource_delay min | max | latest]
[-nocompress] [+no_notifier] [+no_tchk_msg] [+notimingchecks]
[-quiet] [-restore <filename>]
[-sdfmin | -sdftyp | -sdfmax [<instance>=]<sdf_filename>]
[-sdfnoerror] [-sdfnowarn] [-t [<multiplier>]<time_unit>]
[-tag <string>] [-title <title>] [-trace_foreign <int>] [-version]
[-view <filename>] [-wav <filename>] [-wavslim <size>]
[-wavtlim <duration>]
[-foreign <attribute>] [-g<Name=Value> ...] [-G<Name=Value> ...]
[-nocollapse] [-noglitch] [+no_glitch_msg] [-std_input <filename>]
[-std_output <filename>] [-strictvital] [-vcdread <filename>]
[-vital2.2b]
[+alt_path_delays] [-hazards] [-L <library_name> ...]
[-Lf <library_name> ...] [+mindelays] [+maxdelays][+no_pulse_msg]
[+nosdfwarn] [+nosdferror] [+nowarn<CODE>] [-pli "<object list>"]
[+<plusarg>] [+pulse_e/<percent>] [+pulse_r/<percent>]
[+typdelays]
[<library_name>.<design_unit>]