Forum Discussion
Altera_Forum
Honored Contributor
11 years ago --- Quote Start --- However how do I view or add the resultant output waveform to the wave window, so that I can test for the correct logic operations given the inputs and outputs. Thanks in advance. --- Quote End --- At the Modelsim console, after you have loaded the simulation, you can type
add wave *
to populate the wave window with the signals in your top-level testbench. You can then drag additional signals from the "Objects" window. Using the wave window GUI, you can right-click and set the radix of your signals (decimal, hex, unsigned, etc), add dividers and name groups of signals. Once you're happy with what you see, save the wave window, eg., I use the same base-name as the testbench, eg., for test_tb.vhd I'd save the wave file as test_tb.do. Next time you run the simulation you can type ...
vsim test_tb
do test_tb.do
run -a
Cheers, Dave