Table of Contents Previous page Next page Index

ModelSim Documentation Bookcase

Model Technology Inc.


Reusing commands from the Main transcript

ModelSim's Main transcript can 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 Transcript 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.


Model Technology Inc.
Model Technology Incorporated
Voice: (503) 641-1340
Fax: (503)526-5410
www.model.com
sales@model.com
Table of Contents Previous page Next page Index

ModelSim