Simulation on modelsim

R

Runar Gjelsvik

Guest
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
 
Runar Gjelsvik wrote:

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
 
Thanks for clearing that out for me!

Cheers,

Runar


"Brian Philofsky" <brian.philofsky@no_xilinx_spam.com> wrote in message
news:ccepei$4pg2@xco-news.xilinx.com...
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


Runar Gjelsvik wrote:
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
 

Welcome to EDABoard.com

Sponsor

Back
Top