Download ModelSim PE Reference Manual
Transcript
Commands
batch_mode
batch_mode
This command returns “1” if ModelSim is operating in batch mode, otherwise it returns “0.” It
is typically used as a condition in an if statement.
Syntax
batch_mode
Arguments
None
Examples
Some GUI commands do not exist in batch mode. If you want to write a script that will work in
or out of batch mode, you can use the batch_mode command to determine which command to
use. For example:
if [batch_mode] {
log /*
} else {
add wave /*
}
Related Topics
•
Modes of Operation
ModelSim PE Reference Manual, v10.0d
73
Related documents
ModelSim SE Reference Manual
ModelSim Reference Manual
ModelSim SE Command Reference
Command - Electrical and Computer Engineering
ModelSim Command Reference
ModelSim 6.4 Quick Guide
DINSTAR SIM Cloud User Manual
ModelSim SE User`s Manual
Wave Window
End User Manual v2.2.5
ModelSim Command Reference
TSP Edge User`s Manual