Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > VHDL > signal update problem

Reply
Thread Tools

signal update problem

 
 
Kuan Zhou
Guest
Posts: n/a
 
      03-11-2005
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
 
Reply With Quote
 
 
 
 
Egbert Molenkamp
Guest
Posts: n/a
 
      03-11-2005
"Kuan Zhou" <> wrote in message
news 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












 
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
"Target of signal assignment is not a signal" Nicolas Moreau VHDL 9 07-25-2007 04:21 PM
Re: How to make an internal signal embedded deep in hierarchy to a gloal output signal Weng Tianxiang VHDL 2 01-30-2007 12:58 PM
Aside from delta cycles and/or resolution functions, how can the effective value of a signal differ from a driving signal of its? Colin Paul Gloster VHDL 0 01-11-2007 01:31 PM
threading.Thread vs. signal.signal Jack Orenstein Python 0 09-17-2005 11:24 PM
Async-signal safe functions in signal handlers (unix) Michael Pronath Python 1 01-03-2005 01:10 PM



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