📄 modelsim.ini
字号:
; VSIM Startup command; Startup = do startup.do; File for saving command transcriptTranscriptFile = transcript; File for saving command history; CommandHistory = cmdhist.log; Specify whether paths in simulator commands should be described; in VHDL or Verilog format.; For VHDL, PathSeparator = /; For Verilog, PathSeparator = .; Must not be the same character as DatasetSeparator.PathSeparator = /; Specify the dataset separator for fully rooted contexts.; The default is ':'. For example: sim:/top; Must not be the same character as PathSeparator.DatasetSeparator = :; Specify a unique path separator for the Signal Spy set of functions. ; The default will be to use the PathSeparator variable.; Must not be the same character as DatasetSeparator.; SignalSpyPathSeparator = /; Disable VHDL assertion messages; IgnoreNote = 1; IgnoreWarning = 1; IgnoreError = 1; IgnoreFailure = 1; Disable System Verilog assertion messages; Info and Warning are disabled by default; IgnoreSVAInfo = 0; IgnoreSVAWarning = 0; IgnoreSVAError = 1; IgnoreSVAFatal = 1; Default force kind. May be freeze, drive, deposit, or default; or in other terms, fixed, wired, or charged.; A value of "default" will use the signal kind to determine the; force kind, drive for resolved signals, freeze for unresolved signals; DefaultForceKind = freeze; If zero, open files when elaborated; otherwise, open files on; first read or write. Default is 0.; DelayFileOpen = 1; Control VHDL files opened for write.; 0 = Buffered, 1 = UnbufferedUnbufferedOutput = 0; Control the number of VHDL files open concurrently.; This number should always be less than the current ulimit; setting for max file descriptors.; 0 = unlimitedConcurrentFileLimit = 40; Control the number of hierarchical regions displayed as; part of a signal name shown in the Wave window.; A value of zero tells VSIM to display the full name.; The default is 0.; WaveSignalNameWidth = 0; Turn off warnings when changing VHDL constants and generics; Default is 1 to generate warning messages; WarnConstantChange = 0; Turn off warnings from the std_logic_arith, std_logic_unsigned; and std_logic_signed packages.; StdArithNoWarnings = 1; Turn off warnings from the IEEE numeric_std and numeric_bit packages.; NumericStdNoWarnings = 1; Control the format of the (VHDL) FOR generate statement label; for each iteration. Do not quote it.; The format string here must contain the conversion codes %s and %d,; in that order, and no other conversion codes. The %s represents; the generate_label; the %d represents the generate parameter value; at a particular generate iteration (this is the position number if; the generate parameter is of an enumeration type). Embedded whitespace; is allowed (but discouraged); leading and trailing whitespace is ignored.; Application of the format must result in a unique scope name over all; such names in the design so that name lookup can function properly.; GenerateFormat = %s__%d; Specify whether checkpoint files should be compressed.; The default is 1 (compressed).; CheckpointCompressMode = 0; Specify whether to enable SystemVerilog DPI out-of-the-blue call. ; Out-of-the-blue call refers to a SystemVerilog export function call ; directly from a C function that don't have the proper context setup ; as done in DPI-C import C functions. When this is enabled, one can ; call a DPI export function (but not task) from any C code.; The default is 0 (disabled).; DpiOutOfTheBlue = 1; List of dynamically loaded objects for Verilog PLI applications; Veriuser = veriuser.slVeriuser = $MODEL_TECH/libswiftpli.sl;Veriuser = $LMC_HOME/lib/amd64.lib/swiftpli_mti.so; Specify default options for the restart command. Options can be one; or more of: -force -nobreakpoint -nolist -nolog -nowave -noassertions; DefaultRestartOptions = -force; HP-UX 10.20 ONLY - Enable memory locking to speed up large designs; (> 500 megabyte memory footprint). Default is disabled.; Specify number of megabytes to lock.; LockedMemory = 1000; HP-UX 11.00 ONLY - Use /usr/lib/libCsup_v2.sl for shared object loading.; This is necessary when C++ files have been compiled with aCC's -AA option.; The default behavior is to use /usr/lib/libCsup.sl.; UseCsupV2 = 1; Turn on (1) or off (0) WLF file compression.; The default is 1 (compress WLF file).; WLFCompress = 0; Specify whether to save all design hierarchy (1) in the WLF file; or only regions containing logged signals (0).; The default is 0 (save only regions with logged signals).; WLFSaveAllRegions = 1; WLF file time limit. Limit WLF file by time, as closely as possible,; to the specified amount of simulation time. When the limit is exceeded; the earliest times get truncated from the file.; If both time and size limits are specified the most restrictive is used.; UserTimeUnits are used if time units are not specified.; The default is 0 (no limit). Example: WLFTimeLimit = {100 ms}; WLFTimeLimit = 0; WLF file size limit. Limit WLF file size, as closely as possible,; to the specified number of megabytes. If both time and size limits; are specified then the most restrictive is used.; The default is 0 (no limit).; WLFSizeLimit = 1000; Specify whether or not a WLF file should be deleted when the; simulation ends. A value of 1 will cause the WLF file to be deleted.; The default is 0 (do not delete WLF file when simulation ends).; WLFDeleteOnQuit = 1; Specify whether or not a WLF file should be optimized during ; simulation. If set to 0, the WLF file will not be optimized.; The default is 1, optimize the WLF file.; WLFOptimize = 0; Specify the name of the WLF file.; The default is vsim.wlf; WLFFilename = vsim.wlf; WLF reader cache size limit. Specifies the internal WLF file cache size, ; in megabytes, for EACH open WLF file. A value of 0 turns off the; WLF cache.; The default setting is enabled to 256M per open WLF file.; WLFCacheSize = 1000 ; Specify the WLF file event collapse mode.; 0 = Preserve all events and event order. (same as -wlfnocollapse); 1 = Only record values of logged objects at the end of a simulator iteration. ; (same as -wlfcollapsedelta); 2 = Only record values of logged objects at the end of a simulator time step. ; (same as -wlfcollapsetime); The default is 1.; WLFCollapseMode = 0; Turn on/off undebuggable SystemC type warnings. Default is on.; ShowUndebuggableScTypeWarning = 0; Turn on/off unassociated SystemC name warnings. Default is off.; ShowUnassociatedScNameWarning = 1; Set SystemC default time unit.; Set to fs, ps, ns, us, ms, or sec with optional ; prefix of 1, 10, or 100. The default is 1 ns.; The ScTimeUnit value is honored if it is coarser than Resolution.; If ScTimeUnit is finer than Resolution, it is set to the value; of Resolution. For example, if Resolution is 100ps and ScTimeUnit is ns,; then the default time unit will be 1 ns. However if Resolution ; is 10 ns and ScTimeUnit is ns, then the default time unit will be 10 ns.ScTimeUnit = ns; Set the SCV relationship name that will be used to identify phase; relations. If the name given to a transactor relation matches this; name, the transactions involved will be treated as phase transactionsScvPhaseRelationName = mti_phase; Do not exit when executing sc_stop().; If this is enabled, the control will be returned to the user before exiting; the simulation. This can make some cleanup tasks easier before kernel exits.; The default is off.; NoExitOnScStop = 1; Run simulator in assertion debug mode. Default is off.; AssertionDebug = 1; Turn on/off PSL/SVA concurrent assertion pass enable. Default is on.; AssertionPassEnable = 0 ; Turn on/off PSL/SVA concurrent assertion fail enable. Default is on.; AssertionFailEnable = 0; Set PSL/SVA concurrent assertion pass limit. Default is -1.; Any positive integer, -1 for infinity.; AssertionPassLimit = 1; Set PSL/SVA concurrent assertion fail limit. Default is -1.; Any positive integer, -1 for infinity.; AssertionFailLimit = 1; Turn on/off PSL concurrent assertion pass log. Default is off.; The flag does not affect SVA; AssertionPassLog = 1; Turn on/off PSL concurrent assertion fail log. Default is on.; The flag does not affect SVA; AssertionFailLog = 0; Set action type for PSL/SVA concurrent assertion fail action. Default is continue.; 0 = Continue 1 = Break 2 = Exit; AssertionFailAction = 1; Turn on/off code coverage; CodeCoverage = 0; Count all code coverage condition and expression truth table rows that match.; CoverCountAll = 1; Turn on/off all PSL/SVA cover directive enables. Default is on.; CoverEnable = 0; Turn on/off PSL/SVA cover log. Default is off.; CoverLog = 1; Set "at_least" value for all PSL/SVA cover directives. Default is 1.; CoverAtLeast = 2; Set "limit" value for all PSL/SVA cover directives. Default is -1.; Any positive integer, -1 for infinity.; CoverLimit = 1; Specify the coverage database filename. Default is "" (i.e. database is NOT automatically saved on close). ; UCDBFilename = vsim.ucdb; Specify the maximum limit for the number of Cross (bin) products reported; in XML and UCDB report against a Cross. A warning is issued if the limit; is crossed.; MaxReportRhsSVCrossProducts = 1000; Specify the override for the "auto_bin_max" option for the Covergroups.; If not specified then value from Covergroup "option" is used.; SVCoverpointAutoBinMax = 64; Specify the override for the value of "cross_num_print_missing"; option for the Cross in Covergroups. If not specified then value; specified in the "option.cross_num_print_missing" is used. This; is a runtime option. NOTE: This overrides any "cross_num_print_missing"; value specified by user in source file and any SVCrossNumPrintMissingDefault; specified in modelsim.ini.; SVCrossNumPrintMissing = 0; Set weight for all PSL/SVA cover directives. Default is 1.; CoverWeight = 2; Check vsim plusargs. Default is 0 (off).; 0 = Don't check plusargs; 1 = Warning on unrecognized plusarg; 2 = Error and exit on unrecognized plusarg; CheckPlusargs = 1; Load the specified shared objects with the RTLD_GLOBAL flag.; This gives global visibility to all symbols in the shared objects,; meaning that subsequently loaded shared objects can bind to symbols; in the global shared objects. The list of shared objects should; be whitespace delimited. This option is not supported on the; Windows or AIX platforms.; GlobalSharedObjectList = example1.so example2.so example3.so; Run the 0in tools from within the simulator. ; Default value set to 0. Please set it to 1 to invoke 0in.; VsimZeroIn = 1; Set the options to be passed to the 0in tools.; Default value set to "". Please set it to appropriate options needed.; VsimZeroInOptions = ""; Initial seed for the Random Number Generator (RNG) of the root thread (SystemVerilog).; Sv_Seed = 0; Maximum size of dynamic arrays that are resized during randomize().; The default is 1000. A value of 0 indicates no limit.; SolveArrayResizeMax = 1000; Error message severity when randomize() failure is detected (SystemVerilog).; The default is 0 (no error).; 0 = No error 1 = Warning 2 = Error 3 = Failure 4 = Fatal; SolveFailSeverity = 0; Enable/disable debug information for randomize() failures (SystemVerilog).; The default is 0 (disabled). Set to 1 to enable.; SolveFailDebug = 0; When SolveFailDebug is enabled, this value specifies the maximum number of; constraint subsets that will be tested for conflicts.; The default is 0 (no limit).; SolveFailDebugLimit = 0; When SolveFailDebug is eanbled, this value specifies the maximum size of; constraint subsets that will be tested for conflicts.; The default value is 0 (no limit).; SolveFailDebugMaxSet = 0; Specify random sequence compatiblity with a prior letter release. This ; option is used to get the same random sequences during simulation as; as a prior letter release. Only prior letter releases (of the current; number release) are allowed.; Note: To achieve the same random sequences, solver optimizations and/or; bug fixes introduced since the specified release may be disabled - ; yielding the performance / behavior of the prior release.; Default value set to "" (random compatibility not required).; SolveRev = ""; Environment variable expansion of command line arguments has been depricated ; in favor shell level expansion. Universal environment variable expansion ; inside -f files is support and continued support for MGC Location Maps provide; alternative methods for handling flexible pathnames.; The following line may be uncommented and the value set to 1 to re-enable this ; deprecated behavior. The default value is 0.; DeprecatedEnvironmentVariableExpansion = 0; Retroactive Recording uses a limited number of private data channels in the WLF; file. Too many channels degrade WLF performance. If the limit is reached, ; simulation ends with a fatal error. You may change this limit as needed, but be; aware of the implications of too many channels. The value must be an integer; greater than or equal to zero, where zero disables all retroactive recording.; RetroChannelLimit = 20; Options to give vopt when code coverage is turned on.; Default is "+acc=lprnb -opt=-merge -opt=-suppressAlways"; VoptCoverageOptions = +acc=lprnb -opt=-merge -opt=-suppressAlways[lmc]; The simulator's interface to Logic Modeling's SmartModel SWIFT softwarelibsm = $MODEL_TECH/linux/libsm.sl; The simulator's interface to Logic Modeling's SmartModel SWIFT software (Windows NT); libsm = $MODEL_TECH/libsm.dll; Logic Modeling's SmartModel SWIFT software (HP 9000 Series 700); libswift = $LMC_HOME/lib/hp700.lib/libswift.sl; Logic Modeling's SmartModel SWIFT software (IBM RISC System/6000); libswift = $LMC_HOME/lib/ibmrs.lib/swift.o; Logic Modeling's SmartModel SWIFT software (Sun4 Solaris); libswift = $LMC_HOME/lib/sun4Solaris.lib/libswift.so; Logic Modeling's SmartModel SWIFT software (Windows NT); libswift = $LMC_HOME/lib/pcnt.lib/libswift.dll; Logic Modeling's SmartModel SWIFT software (Linux)libswift = $LMC_HOME/lib/linux.lib/libswift.so;libswift = $LMC_HOME/lib/amd64.lib/libswift.so; The simulator's interface to Logic Modeling's hardware modeler SFI softwarelibhm = $MODEL_TECH/libhm.sl; The simulator's interface to Logic Modeling's hardware modeler SFI software (Windows NT); libhm = $MODEL_TECH/libhm.dll; Logic Modeling's hardware modeler SFI software (HP 9000 Series 700); libsfi = <sfi_dir>/lib/hp700/libsfi.sl; Logic Modeling's hardware modeler SFI software (IBM RISC System/6000); libsfi = <sfi_dir>/lib/rs6000/libsfi.a; Logic Modeling's hardware modeler SFI software (Sun4 Solaris); libsfi = <sfi_dir>/lib/sun4.solaris/libsfi.so; Logic Modeling's hardware modeler SFI software (Windows NT); libsfi = <sfi_dir>/lib/pcnt/lm_sfi.dll; Logic Modeling's hardware modeler SFI software (Linux); libsfi = <sfi_dir>/lib/linux/libsfi.so[msg_system]; Change a message severity or suppress a message.; The format is: <msg directive> = <msg number>[,<msg number>...]; Examples:; note = 3009; warning = 3033; error = 3010,3016; fatal = 3016,3033; suppress = 3009,3016,3043; The command verror <msg number> can be used to get the complete; description of a message.; Control transcripting of elaboration/runtime messages.; The default is to have messages appear in the transcript and ; recorded in the wlf file (messages that are recorded in the; wlf file can be viewed in the MsgViewer). The other settings; are to send messages only to the transcript or only to the ; wlf file. The valid values are; both {default}; tran {transcript only}; wlf {wlf file only}; msgmode = both
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -