Virtual Signals in Modelsim

A

a1_nocrap_exh

One of the best (and most under used) features of Modelsim is the
virtual signals feature.

Ok, so it needs a GUI to help create the functions/signals but I think
it's great and use it all the time to say.... create virtual enumerated
busses or quickly gate signals that I would otherwise have to change my
HDL, recompile and resimulate. etc.

However I've got this strange problem. I fire up Modelsim (6.1c) and
load in my .do files (Which include virtual signals and functions) run
my simulation and quit and for some strange reason Modelsim saves a
file called virtuals.do

This file has a copy of all virtual commands in my do files.

I run modelsim again and it appends the same entries over to this
virtuals.do.

Each time I run modelsim this file gets bigger and bigger until it
starts to slow down the simulator (when starting and exiting).

Can anyone explain to me this behaviour? I could understand if it just
saved newly created virtuals, but saving ones which have been loaded
in? And saving the same ones over and over again?

Any advice accepted.

Alex
 
J

Jonathan Bromley

I run modelsim again and it appends the same entries over to this
virtuals.do.

I didn't know that; but it seems to me that you can easily enough
get around it. When you load the sim, just do it with a little
script that first does
file delete virtual.do
so that your file is created afresh.

No promises - just a suggestion.

A bug report to Mentor sounds good, too :)
--
Jonathan Bromley, Consultant

DOULOS - Developing Design Know-how
VHDL * Verilog * SystemC * e * Perl * Tcl/Tk * Project Services

Doulos Ltd., 22 Market Place, Ringwood, BH24 1AW, UK
(e-mail address removed)
http://www.MYCOMPANY.com

The contents of this message may contain personal views which
are not the views of Doulos Ltd., unless specifically stated.
 
A

a1_nocrap_exh

Jonathan said:
On 8 Aug 2006 04:46:07 -0700, (e-mail address removed) wrote:
do it with a little script that first does file delete virtual.do

Sure but I was hoping for a parameter / command for modelsim.
 

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

Forum statistics

Threads
473,982
Messages
2,570,190
Members
46,736
Latest member
zacharyharris

Latest Threads

Top