Useful Modelsim Commands
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