Altera_Forum
Honored Contributor
18 years agoAdvanced ModelSim methodologies
I'm working on an advanced (at least for me) ModelSim simulation flow, and so far, have determined a few things.
First, I'd like to use a simulation control DO file (sim_cntrl.do), with the tcl commands to control the flow of the sim: sim_cntrl.do -------------- set PrefMain(forceQuit) 1 # only probe modules of interest to simulation database add wave sim:/design_tb/module_of_interest/* run exit Then, to view the waveforms after the sim is complete, use vsim -view design.wfl -do waveforms.do waveforms.do ---------------- add wave sim:/design_tb/module_of_interest/clk add wave sim:/design_tb/module_of_interest/reset # additional signals to view view -undock wave view signals With this in mind, I have two questions: 1) Can commands within the modelsim.ini file be set within a DO script? 2) Can the results of the simulation be displayed in the waveform view window WITHOUT bringing up the vsim GUI?