play
This command is available for UNIX only (excluding Linux).
The play command replays a sequence of keyboard and mouse actions that were previously saved to a file with the record command. 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
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
Model Technology Incorporated Voice: (503) 641-1340 Fax: (503)526-5410 www.model.com sales@model.com |