[sv-ac] Re: [SV-AC] Local Variables Flow Out Issue in and/or/intersect/implies

From: ben cohen <hdlcohen@gmail.com>
Date: Thu Sep 02 2010 - 12:39:57 PDT

Update the file in http://www.eda-stds.org/svdb/view.php?id=3195 , and
 Added:
"The local variable shall not be read in the same cycle it is written. "

[Ben] I believe that there would be a race condition because one property
can write a value to the local variable while a concurrent property reads
the property. For example:
property P_race;
  automatic int v;
    (a, v=data) ##[1:3] b) implies
    (c==v ##2 d): // This consequent may be processed before the antecedent.
endproperty :P_race

On Wed, Sep 1, 2010 at 6:47 PM, ben cohen <hdlcohen@gmail.com> wrote:

> However, there is a need to be able to set and read local variables in one
> sequence or property (the LHS), and to read those local variables in another
> sequence / property (RHS).
> Please see http://www.eda-stds.org/svdb/view.php?id=3195
> I uploaded a proposal.
> Ben Cohen
>

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Thu Sep 2 12:40:49 2010

This archive was generated by hypermail 2.1.8 : Thu Sep 02 2010 - 12:41:01 PDT