Table of Contents Previous page Next page Index

ModelSim Documentation Bookcase

Model Technology Inc.


Running command-line and batch-mode simulations

The typical method of running ModelSim is interactive: you push buttons and/or pull down menus in a series of windows in the GUI (graphic user interface). But there are really three specific modes of ModelSim operation: GUI, command line, and batch. Here are their characteristics:

vsim ent arch <<!
	log -r *
	run 100
	do test.do
	quit -f
! 

Here is another example of batch mode, this time using a file as input:

vsim counter < yourfile 

From a user's point of view, command-line mode can look like batch mode if you use the vsim command with the -do option to execute a macro that does a quit -f (-530) before returning, or if the startup.do macro does a quit -f before returning. But technically, that mode of operation is still command-line mode because stdin is still operating from the terminal.

The following paragraphs describe the behavior defined for the batch and command-line modes.


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 Documentation Bookcase