Technical data

vsim
CR-212 ModelSim Commands ModelSim EE/SE Command Reference
timescale directives are found, the minimum time precision will be used;
<time_unit> must be one of:
fs, ps, ns, us, ms, or sec, min, or hr
The default is 1ns; the optional <multiplier> may be 1, 10 or 100. Once youve
begun simulation, you can determine the current simulator resolution by invoking
the report command
(CR-131) with the simulator state option.
-tag <string>
Specify a string tag to append to foreign trace filenames. Optional; used with the
-trace_foreign <int> option. Used when running multiple traces in the same
directory. See "Invoking a trace"
(12-334).
-title <title>
Specifies the title to appear for the ModelSim Main window. Optional. If omitted
the current ModelSim version is the window title. Useful when running multiple
simultaneous simulations. Text strings with spaces must be in quotes, i.e., "my
title".
-trace_foreign <int>
Creates two kinds of foreign interface traces: a log of what functions were called,
with the value of the arguments, and the results returned; and a set of C-language
files to replay what the foreign interface side did.
The purpose of the logfile is to aid the debugging of your FLI and/or PLI code.
The primary purpose of the replay facility is to send the replay file to MTI support
for debugging co-simulation problems, or debugging problems for which it is
impractical to send the FLI/ PLI code. See "Invoking a trace"
(12-334) for more
information.
-version
Returns the version of the simulator as used by the licensing tools, such as "Model
Technology ModelSim EE/Plus vsim 5.3 DEV Simulator 1999.06 Jul 2 1999".
-view <filename>
Specifies the event logfile for vsim to read. Allows you to use VSIM to view the
results from an earlier simulation. The Structure, Signals, Waveform, and List
windows can be opened to look at the results stored in the logfile (other ModelSim
windows will not open when you are viewing a logfile). See additional discussion
in "Examples"
(CR-218).
-wav <filename>
Specifies the name of the simulator event logfile to create. The default is vsim.wlf.
Optional.