Download ModelSim User's Manual - Electronics and Computer Science

Transcript
Simulator Variables
Simulator Control Variables
•
Value Range: Refer to Table A-2
•
Default: "** %S: %R\n Time: %T Iteration: %D%I\n"
AssertionFormatWarning
This variable defines the format of messages for VHDL Warning assertions
If undefined, AssertionFormat is used unless assertion causes a breakpoint in which case
AssertionFormatBreak is used
•
Value Range: Refer to Table A-2
•
Default: "** %S: %R\n Time: %T Iteration: %D%I\n"
BreakOnAssertion
This variable defines the severity of VHDL assertions that cause a simulation break. It also
controls any messages in the source code that use assertion_failure_*. For example, since most
runtime messages use some form of assertion_failure_*, any runtime error will cause the
simulation to break if the user sets BreakOnAssertion to 2.
You can set this variable interactively in the GUI; refer to Setting Simulator Control Variables
With The GUI.
•
Value Range: 0 (note), 1 (warning), 2 (error), 3 (failure), 4 (fatal)
•
Default: 3 (failure)
CheckPlusargs
This variable defines the simulator’s behavior when encountering unrecognized plusargs.
•
Value Range: 0 (ignores), 1 (issues warning, simulates while ignoring), 2 (issues error,
exits)
•
Default: 0 (ignores)
CheckpointCompressMode
This variable specifies that checkpoint files are written in compressed format
•
Value Range: 0, 1
•
Default: on (1)
CommandHistory
This variable specifies the name of a file in which to store the Main window command history.
ModelSim User’s Manual, v6.2g
February 2007
331