Technical data

alias
ModelSim EE/PLUS Reference Manual Simulator Command Reference
-
275
alias
The
alias
command creates a new Tcl procedure that evaluates the specified
commands. Used to create a user-defined alias. Any arguments passed on
invocation of the alias will be passed through to the specified commands. Returns
nothing.
Syntax
alias
<aka> "<cmds>"
Arguments
<aka>
Specifies the new procedure name to be used when invoking the commands. Required.
<cmds>
Specifies the command or commands to be evaluated when the alias is invoked. Required.
Examples
alias myquit "write list ./mylist.save; quit -f"
Creates a Tcl procedure, "myquit", that when executed, writes the contents of the
List window to the file
mylist.save
by invoking
write list
(p404), and quits
Model
Sim
by invoking
quit
(p351).