wait until

Discussion in 'VHDL' started by Brad Smallridge, Mar 23, 2005.

  1. 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 Smallridge, Mar 23, 2005
    #1
    1. Advertising

  2. "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
     
    Charles Bailey, Mar 24, 2005
    #2
    1. Advertising

  3. Brad Smallridge

    info_ Guest

    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
     
    info_, Mar 26, 2005
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. TJS
    Replies:
    2
    Views:
    698
    Kevin Spencer
    Feb 11, 2004
  2. =?Utf-8?B?QnJpYW4gUnVwZXJ0?=

    Please wait until the debuggee has finished loading, then try aga

    =?Utf-8?B?QnJpYW4gUnVwZXJ0?=, Aug 13, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    589
    =?Utf-8?B?QnJpYW4gUnVwZXJ0?=
    Aug 13, 2004
  3. Allan Bruce

    Reworded: Wait until button pressed

    Allan Bruce, Jun 15, 2004, in forum: Java
    Replies:
    0
    Views:
    1,000
    Allan Bruce
    Jun 15, 2004
  4. Replies:
    2
    Views:
    873
    Andrew Thompson
    May 22, 2005
  5. Robert Mens

    wait until \n appears in string

    Robert Mens, Oct 25, 2003, in forum: C Programming
    Replies:
    12
    Views:
    623
    Richard Heathfield
    Oct 27, 2003
Loading...

Share This Page