On Wed, 27 Feb 2008 02:08:52 -0800 (PST), sheri wrote:
>Thanks Vince and Jonathan.
>But similar kind of setting can be done in modelsim.ini file -
>resolution option.
Sure.
>To reduce simulaton time I changed from ps to ns, but did not observe
>any reduction.
Why do you expect that change to improve simulation speed?
VHDL simulators are event driven. The simulator does NOT
do extra work on each time-resolution "time tick".
Consequently, the only speed improvement you might see
by degrading the resolution to ns is that the rounding
of time values to the nearest ns might possibly cause some
events to appear to be simultaneous; this *might* have a
tiny effect on simulation speed but it's unlikely to be
noticeable. And, as you point out below, it may break
some models.
>Looks like altera - dprams need ps resolution - not sure about this.
Yes, I believe that's true. This is why the Altera and Xilinx
versions of the simulator default to picosecond resolution.
>Can you please throw some light on this as to why changing resolution
>did'nt help?
I suspect you are trying to simulate a large design with a free
version of the simulator. It is hobbled: as your design gets
larger (more lines of executable code) the simulator's speed
degrades, first by about a factor of 5, and then by a much
larger factor. The idea is that the simulator is fully functional
so that you can experiment with it and see what it can do, but
it is useless for simulating large-scale projects - so you are
encouraged to spend real money on the full-performance real
version.
--
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
http://www.MYCOMPANY.com
The contents of this message may contain personal views which
are not the views of Doulos Ltd., unless specifically stated.