[FrontPage] [TitleIndex] [WordIndex

Modelsim is like Matlab in that anything you type into the command window can be scripted by putting commands in a file (with an arbitrary name). This can be handy if you do things repetitively. I have created an example. Get the files and try it yourself.

Files

do_files.zip

Explanation

init
deletes any simulation auxiliary files and recreates the work library
c
compiles the verilog files specified
t

compiles your verilog, starts the simulation environment turning off optimizations, activates the waveform window, and runs the simulation for 100ns


2013-08-01 15:09