Technical data
ModelSim EE Tutorial ModelSim EE Lessons
-
93
Reusing commands from the Main transcript
ModelSim’s Main transcript may be saved, and the resulting file used as a DO
(macro) file to replay the transcribed commands. You can save the transcript at
any time before or during simulation. You have the option of clearing the
transcript (File > Clear Transcript) if you don’t want to save the entire command
history.
To save the contents of the transcript select
File > Save Main As
from the Main
menu.
Replay the saved transcript with the
do
command:
do <do file name>
For example, if you saved a series of compiler commands as
mycompile.do
(the.do
extension is optional), you could recompile with one command:
do mycompile.do
Note:
Neither the prompt nor the Return that ends a command line are shown in the examples.