Re: [sv-ec] Comments on updated event proposal


Subject: Re: [sv-ec] Comments on updated event proposal
From: Neil Korpusik (Neil.Korpusik@eng.sun.com)
Date: Fri Mar 14 2003 - 09:46:46 PST


I don't particularly care for the wait_order syntax in the latest event
proposal.

The following is another possible option that uses the builtin method
concept:

   event a,b,c;

   a.wait_order(a,b,c); // or a.wait_order(a.triggered,b,c);
 
   if (a.wait_order_failed) begin
     ...
   end

Notes:
   1. wait_order() is a builtin method
   2. wait_order() could be called for any event in the list
   3. wait_order_failed is a builtin property
   3. wait_order_failed would be reset in the preponed region of a timestep.

Neil



This archive was generated by hypermail 2b28 : Fri Mar 14 2003 - 09:47:41 PST