Useful Modelsim Commands: Difference between revisions

From Cpre584
Jump to navigation Jump to search
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...
 
Tyler07 (talk | contribs)
 
Line 7: Line 7:


  You can also start vsim with the -wlf flag, which will automatically save the waveform to a .wlf 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.
  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
List the available datasets

Latest revision as of 19:41, 21 January 2013

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