Useful Modelsim Commands

From Cpre584
Revision as of 19:41, 21 January 2013 by Tyler07 (talk | contribs) (New page: == Useful Modelsim Commands == Restart A Simulation restart -f Save a waveform to a .wlf file dataset save [dataset] [output file] You can also start vsim with the -wlf flag, which wi...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Useful Modelsim Commands

Restart A Simulation

restart -f

Save a waveform to a .wlf file

dataset save [dataset] [output file]
You can also start vsim with the -wlf flag, which will automatically save the waveform to a .wlf file.
However, doing the save from the command line after the simulation has been run will be safer in terms of overwriting old .wlf files you may want to keep around.

List the available datasets

dataset list

Run the whole test bench

run -all

Run the simulation for n amount of time

run [n][unit] e.x. run 100us