Is there delta=0 except at the beginning moment?
I find that only at the simulation beginning that delta =0. Other time
it is at least +1, or larger. I want to know that it is possible that
delta=0 in the middle of simulation?
Re: Is there delta=0 except at the beginning moment?
> I find that only at the simulation beginning that delta =0. Other time
> it is at least +1, or larger. I want to know that it is possible that
> delta=0 in the middle of simulation?
A late reply.
I suppose you only see deltas larger than zero because you put break points
in synthesisable code. In general, these are processes that wake up on
signal events. Primary input signals generated in a testbench (such as a
clock) usually change at times with a delta=1. Other signals after that, so
delta >= 2.
Take for example a clock generator:
clk_gen: clk <= NOT clk AFTER half_clk_period;
clk_gen: PROCESS IS
WAIT for half_clk_period;
clk <= NOT clk;
END PROCESS clk_gen;
Put a break point on the line "clk <= NOT clk;" in the process and you'll
see times that are multiples of half_clk_period, all with delta=0.
e-mail addres: remove the not.
|All times are GMT. The time now is 10:21 PM.|
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.