Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > VHDL > wait until

Reply
Thread Tools

wait until

 
 
Brad Smallridge
Guest
Posts: n/a
 
      03-23-2005
What is wrong with this? Both are variables and
row_counter gets advanced in another process.

wait until( row_counter = start_recording_row_delay );

b r a d @ a i v i s i o n . c o m


 
Reply With Quote
 
 
 
 
Charles Bailey
Guest
Posts: n/a
 
      03-24-2005

"Brad Smallridge" <> wrote in message
news:...
> What is wrong with this? Both are variables and
> row_counter gets advanced in another process.
>
> wait until( row_counter = start_recording_row_delay );
>
> b r a d @ a i v i s i o n . c o m

If they are both variables then there is nothing to trigger the wait
statement. At least one of them must be a signal. (Variables have no
event information associated with them. The wait needs an event to
trigger its execution.)

Charles Bailey


 
Reply With Quote
 
 
 
 
info_
Guest
Posts: n/a
 
      03-26-2005
Brad Smallridge wrote:

> What is wrong with this? Both are variables and
> row_counter gets advanced in another process.
>
> wait until( row_counter = start_recording_row_delay );
>
> b r a d @ a i v i s i o n . c o m
>
>

Brad,

I don't understand.
If both are variables (not global) then you cannot see them from other processes !
And if they are local to the process where the wait is located, who will update them
if the process is suspended ???
Maybe you meant that row_counter was a signal ? (then it should work)

Or maybe you've declared "variable row_counter" in both processes ?

Bert
 
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
Wait until Dialog closes and return value. thjomha@gmail.com Java 2 05-22-2005 04:38 AM
Please wait until the debuggee has finished loading, then try aga =?Utf-8?B?QnJpYW4gUnVwZXJ0?= ASP .Net 0 08-13-2004 04:11 AM
Reworded: Wait until button pressed Allan Bruce Java 0 06-15-2004 05:04 PM
wait until stored procedure is complete TJS ASP .Net 2 02-11-2004 02:22 PM
wait until \n appears in string Robert Mens C Programming 12 10-27-2003 06:18 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