[vsim] simulator control variables
Variable name Value range Purpose Default AssertFile any valid filename alternative file for storing assertion messages transcript AssertionFormat see purpose sets the message to display after a break on assertion; message formats include:
%S - severity level
%R - report message
%T - time of assertion
%D - delta
%I - instance or region pathname (if available)
%% - print '%' character "** %S: %R\n Time: %T Iteration: %D%I\n" BreakOnAssertion 0-4 defines severity of assertion that causes a simulation break (0 = note, 1 = warning, 2 = error, 3 = failure, 4 = fatal) 3 CheckpointCompressMode 0, 1 if 1, checkpoint files are written in compressed format on (1) CommandHistory any valid filename sets the name of a file in which to store the Main window command history commented out (;) ConcurrentFileLimit any positive integer controls the number of VHDL files open concurrently; this number should be less than the current limit setting for max file descriptors; 0 = unlimited 40 DatasetSeparator any single character the dataset separator for fully-rooted contexts, for example sim:/top; must not be the same character as PathSeparator : DefaultForceKind freeze, drive, or deposit defines the kind of force used when not otherwise specified drive for resolved signals; freeze for unresolved signals DefaultRadix symbolic, binary, octal, decimal, unsigned, hexadecimal, ascii any radix may be specified as a number or name (i.e., binary can be specified as binary or 2) symbolic DefaultRestartOptions one or more of: force, nobreakpoint, nolist, nolog, nowave sets default behavior for the restart command commented out (;) DelayFileOpen 0, 1 if 1, open VHDL87 files on first read or write, else open files when elaborated off (0) GenerateFormat Any non-quoted string containing at a minimum a %s followed by a %d control the format of a generate statement label (don't quote it) %s__%d IgnoreError 0,1 if 1, ignore assertion errors off (0) IgnoreFailure 0,1 if 1, ignore assertion failures off (0) IgnoreNote 0,1 if 1, ignore assertion notes off (0) IgnoreWarning 0,1 if 1, ignore assertion warnings off (0) IterationLimit positive integer limit on simulation kernel iterations during one time delta 5000 License any single <license_option> if set, controls ModelSim license file search; license options include:
nomgc - excludes MGC licenses
nomti - excludes MTI licenses
noqueue - do not wait in license queue if no licenses are available
plus - only use PLUS license
vlog - only use VLOG license
vhdl - only use VHDL license
viewsim - accepts a simulation license rather than being queued for a viewer licensesee also the vsim command <license_option> search all licenses LockedMemory positive integer; mb of memory to lock for HP-UX 10.2 use only; enables memory locking to speed up large designs (> 500mb memory footprint); see "Improve performance by locking memory on HP-UX 10.2" disabled NoIndexCheck 0, 1 if set to 1, run time index checks are disabled 0 NumericStdNoWarnings 0, 1 if 1, warnings generated within the accelerated numeric_std and numeric_bit packages are suppressed off (0) PathSeparator any single character used for hierarchical path names; must not be the same character as DatasetSeparator / RangeCheck 0, 1 if set to 1, enables run time range checking 0 Resolution fs, ps, ns, us, ms, or sec with optional prefix of 1, 10, or 100 simulator resolution; this value must be less than or equal to the UserTimeUnit specified below; NOTE - if your delays are truncated, set the resolution smaller; no space between value and units (i.e., 10fs, not 10 fs) ns RunLength positive integer default simulation length in units specified by the UserTimeUnit variable 100 Startup = do <DO filename>; any valid macro (do) file specifies the ModelSim startup macro; see the do command commented out (;) StdArithNoWarnings 0, 1 if 1, warnings generated within the accelerated Synopsys std_arith packages are suppressed off (0) TranscriptFile any valid filename file for saving command transcript; environment variables may be included in the path name transcript UnbufferedOutput 0, 1 controls VHDL and Verilog files open for write; 0 = Buffered, 1 = Unbuffered 0 UserTimeUnit fs, ps, ns, us, ms, sec, or default specifies the default units to use for the "<timesteps> [<time_units>]" argument to the run command; NOTE - the value of this variable must be set equal to, or larger than, the current simulator resolution specified by the Resolution variable shown above ns Veriuser one or more valid shared objects list of dynamically loadable objects for Verilog PLI/VPI applications; see "Verilog PLI/VPI" commented out (;) WaveSignalNameWidth 0, positive integer controls the number of visible hierarchical regions of a signal name shown in the Wave window; the default value of zero displays the full name, a setting of one or above displays the corresponding level(s) of hierarchy 0 WLFCompress 0, 1 turns WLF file compression on (1) or off (0) 1 WLFDeleteOnQuit 0, 1 specifies whether a WLF file should be deleted when the simulation ends; if set to 0, the file is not deleted; if set to 1, the file is deleted 0 WLFSaveAllRegions 0, 1 specifies whether to save all design hierarchy in the WLF file (1) or only regions containing logged signals (0) 0 WLFSizeLimit 0 - n MB WLF file size limit; limits WLF file by size (as closely as possible) to the specified number of megabytes; if both size and time limits are specified the most restrictive is used; setting to 0 results in no limit 0 WLFTimeLimit 0 - n WLF file time limit; limits WLF file by time (as closely as possible) to the specified amount of time. If both time and size limits are specified the most restrictive is used; setting to 0 results in no limit 0
Model Technology Incorporated Voice: (503) 641-1340 Fax: (503)526-5410 www.model.com sales@model.com |