Xilinx ISE : How to make Modelsim reload when design changed
CASTalk.com Forum Index CASTalk.com
Discussion of DSP, FPGA, storage and embedded system.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web castalk.com
Xilinx ISE : How to make Modelsim reload when design changed

 
Post new topic   Reply to topic    CASTalk.com Forum Index -> FPGA
Author Message
Mike Harrison
Guest





Posted: Fri Dec 31, 2004 5:31 pm    Post subject: Xilinx ISE : How to make Modelsim reload when design changed Reply with quote

I've been experimenting with ISE Webpack, and have managed to create a simple schematic, and got the
output waveforms in modelsim,
however what I can't figure out is how to get modelsim to reload the new data when I change the
schematic -
After I change the schematic and do 'create schematic symbol', the only way I can get it to simulate
the new file is to close and re-launch modelsim - surely there is an easier way...? 'Restart'
doesn't seem to do it.
Back to top
Mike Treseler
Guest





Posted: Fri Dec 31, 2004 6:54 pm    Post subject: Re: Xilinx ISE : How to make Modelsim reload when design cha Reply with quote

Mike Harrison wrote:

Quote:
After I change the schematic and do 'create schematic symbol', the only way I can get it to simulate
the new file is to close and re-launch modelsim - surely there is an easier way...? 'Restart'
doesn't seem to do it.

If the changes are already compiled,
try this from the modelsim prompt or .do file:

restart -f;
vsim test_mydesign;
add wave *;
run;


-- Mike Treseler
Back to top
Gabor
Guest





Posted: Fri Dec 31, 2004 7:08 pm    Post subject: Re: Xilinx ISE : How to make Modelsim reload when design cha Reply with quote

If you're starting Modelsim from the ISE process view (e.g.
double click on "Simulate Behavioral Model") you are actually
starting Modelsim with a script that loads the design, compiles
it and runs the simulation (default for 1 microsecond, but this
is configurable in the ISE properties).
When you change a file inside ISE, make sure it is saved and
then rerun the script in modelsim. I find the easiest way to
rerun the script is to click on the right pane of the main
Modelsim window and then use the up-arrow key to get
back the line that ran the script (something like "do
testbenchname.fdo")

This basically does the same thing as closing and re-running from
inside ISE, but without the added time of re-loading Modelsim. It
also preserves your simulation options (like default radix and run
time),
but you'll need to save your waveform view between runs if you've
mad a custom signal list in the wave window.
Back to top
 
Post new topic   Reply to topic    CASTalk.com Forum Index -> FPGA All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




VoIP Electronics Powered by phpBB