Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   VHDL (http://www.velocityreviews.com/forums/f18-vhdl.html)
-   -   signal update problem (http://www.velocityreviews.com/forums/t23450-signal-update-problem.html)

Kuan Zhou 03-11-2005 05:33 AM

signal update problem
 
Hi,

I have a doubt on the signal update in the architectural body. Suppose
you have multiple processes and each process has some WAIT statements. Do
the signals get updated once all the activated processes are reaching the
WAIT statements?
If the processes have sensitivity list instead of WAIT statements, the
signals must be updated once the activated processes finish the current
loop and come back to the beginning of the processes. Am I right?

Kuan

Egbert Molenkamp 03-11-2005 07:51 AM

Re: signal update problem
 
"Kuan Zhou" <koy2@cisunix.unh.edu> wrote in message
news:Pine.OSF.4.62.0503110030210.222797@hypatia.un h.edu...
> Hi,
>
> I have a doubt on the signal update in the architectural body. Suppose
> you have multiple processes and each process has some WAIT statements. Do
> the signals get updated once all the activated processes are reaching the
> WAIT statements?


Yes. The idea is that processes communicate via signals. To get the order
independent execution of the concurrent processes the simiulation cycle has
two stages:
1- execute all (sensitive) processes.
2- update the signals

In this way all processes use the same value of the signals ==> order
independent execution!.
The update of a signal can of course be postponed to a later time if you
added a time i.e. y <= x after 5 ns;

> If the processes have sensitivity list instead of WAIT statements, the
> signals must be updated once the activated processes finish the current
> loop and come back to the beginning of the processes. Am I right?
>

process ("sensitivity list")
begin
bla bla bla
end process;

is 'translated' to:

process
begin
bla bla bla
wait on "sensitivity list";
end process;

And you already have the answer of this in the first part of your question.
So you are right here too.

Regards,
Egbert Molenkamp














All times are GMT. The time now is 05:34 PM.

Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.


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