batch_mode
The batch_mode command returns a 1 if ModelSim is operating in batch mode, otherwise returns a 0. It is typically used as a condition in an if statement.
Syntax
batch_mode Arguments
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 /* }See also
Model Technology Incorporated Voice: (503) 641-1340 Fax: (503)526-5410 www.model.com sales@model.com |