Technical data
play
CR-110  ModelSim Commands ModelSim EE/SE Command Reference
play 
This command is available for UNIX only.
The play command replays a sequence of keyboard and mouse actions, which 
were previously saved to a file with the record command 
(CR-130). Returns 
nothing.
Note: Play returns immediately; the playback proceeds in the background. Caution must be used when 
putting play commands in do (macro) files.
Syntax
play 
<filename>
Arguments
<filename>
Specifies the recorded file to replay. Required. 
Playback controls
The following Tcl set commands control the playback type and speed by setting 
the play_macro() global variables. The commands are invoked from the 
ModelSim command line.
set play_macro(speed)
Specify the playback speed: either demo (with the delay specified below), or fast (no 
delays).
set play_macro(delay)
Specifies the delay time in milliseconds. Controls the speed of playback in demo mode.
See also 
macro_option command 
(CR-97), and the record command (CR-130)










