Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > VHDL > Timing simulation error on bus

Reply
Thread Tools

Timing simulation error on bus

 
 
JSreeniv
Guest
Posts: n/a
 
      12-14-2009
Hi all,
I am running post route timing simulations for my modules where the
targeted device is Actel proasic3.
I had net list and sdf files for running these simulations.
When running for Min,Typ,Max simulations, i am getting the simulations
results on waveform for only Typ and Max but not for Min. For Min
simulation up to some steps are running and the output bus become idle
until the end of simulation time finishes.
I came to know that by adding 1 ps resolution time then it works,..so
i went for that by giving 1 ps at Modelsim vsim command line its
surprise to see the all results. I am happy but why it is happen for
the Min simulation only ..

Please anyone give some knowledge on this...why it happens

Thanks
 
Reply With Quote
 
 
 
 
KJ
Guest
Posts: n/a
 
      12-14-2009
On Dec 13, 11:42*pm, JSreeniv <sreenivas.jyo...@gmail.com> wrote:

> I came to know that by adding 1 ps resolution time then it works,..so
> i went for that by giving 1 ps at Modelsim vsim command line its
> surprise to see the all results. I am happy but why it is happen for
> the Min simulation only ..
>
> Please anyone give some knowledge on this...why it happens
>


Presumably because the typ and max simulation models did not try to
delay anything by less than 1 ns but the min simulation did (assuming
that you previously had 1 ns time resolution).

KJ
 
Reply With Quote
 
 
 
 
JSreeniv
Guest
Posts: n/a
 
      12-14-2009
On Dec 14, 5:06*pm, KJ <kkjenni...@sbcglobal.net> wrote:
> On Dec 13, 11:42*pm, JSreeniv <sreenivas.jyo...@gmail.com> wrote:
>
> > I came to know that by adding 1 ps resolution time then it works,..so
> > i went for that by giving 1 ps at Modelsim vsim command line its
> > surprise to see the all results. I am happy but why it is happen for
> > the Min simulation only ..

>
> > Please anyone give some knowledge on this...why it happens

>
> Presumably because the typ and max simulation models did not try to
> delay anything by less than 1 ns but the min simulation did (assuming
> that you previously had 1 ns time resolution).
>
> KJ


Hi KJ,
I am still not getting the reason why it happen, yes as from your
response my previous max and typ simulations are had 1 ns time
resolution.

Thanks
 
Reply With Quote
 
Kenn Heinrich
Guest
Posts: n/a
 
      12-14-2009
JSreeniv <> writes:

> I am still not getting the reason why it happen, yes as from your
> response my previous max and typ simulations are had 1 ns time
> resolution.
>


In VHDL, if you specify a time less that the resolution limit, the
simulator turns that into zero time. That means that events which have
a proper ordering when executed with a 1 ps limit:

if rising_edge(clk)
a <= '1' after 100 ps; -- a happend after clk
b <= '0' after 200 ps; -- b happens later than a
end if;

will become equivalent to a system with totally different order

if rising_edge(clk)
a <= '1' after 0 ns;
b <= '0' after 0 ns; -- b,a both happen one delta cycle after clk
end if;

This usually messes things up pretty badly

- Kenn

--
---------------------------------
Remove NOSPAM from email address.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with post-route simulation / timing simulation jasperng VHDL 0 11-27-2008 06:23 AM
Address Bus and External Data Bus Confusion LoXodonte A+ Certification 1 04-18-2006 09:09 PM
Best testbench style for microprocessor bus simulation Doug Miller VHDL 4 01-30-2004 09:08 AM
Re: Best testbench style for microprocessor bus simulation Mike Treseler VHDL 1 01-29-2004 10:48 PM
simulation model of Motorola PowerQuicc 60x bus. migdal@surf.co.il VHDL 0 08-24-2003 08:25 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57