Simulation on modelsim

R

Runar Gjelsvik

Hi,

First of all, I'm a complete newbie to modelsim, so bear over with me :)

I've written a testbench in my xilinx enviroment, and I simulate it by
clicking on the "simulate behavioural model" option. My question is, how can
I restart the simulation after I've modified the testbench without having to
shut down the program. If I modify, and then just press restart and run all
in the wave window, I get the message that the testbench has been modified
and the changes aren't applied to the waveform.

Can anyone give me a hint, so I don't have to shut down modelsim each time
and press on "simulate behavioural model" each time.

Thanks,

Runar
 
M

Mike Treseler

Runar said:
Can anyone give me a hint, so I don't have to shut down modelsim each time
and press on "simulate behavioural model" each time.

The requirement is to save the file and run

vcom test_myfile.vhd
vsim test_myfile

Don't know about buttons.

-- Mike Treseler
 
B

Brian Philofsky

If you go into the ModelSim console window and hit the up-arrow key, you
will see a command that looks like:

do testbench_name.fdo

If you then hit return, modelsim will recompile all files and re-run
simulation. To give you a little moore background, when you click on
the "Simulate Behavioral Model", Xilinx Project Navigator creates a
simulation script (do file) that will compile all files, load the
simulation, setup the window environment and run the simulation. The
name of this file is the name of your testbench with an fdo extension.
It then runs modelsim executing this run script. By hitting the
up-arrow, you can view the history list and re-run previously executed
commands.

-- Brian
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,161
Messages
2,570,892
Members
47,428
Latest member
RosalieQui

Latest Threads

Top