Technical data

play
ModelSim EE/PLUS Reference Manual Simulator Command Reference
-
341
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 (p353). 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
Model
Sim
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 (p329), and the
record
command (p353)