RE: [sv-ac] Sampled value functions

From: Eduard Cerny <Eduard.Cerny_at_.....>
Date: Wed May 10 2006 - 12:43:15 PDT
The only reason for doing so is to have the condition extracted,
otherwise, in a more complex situation, the user has to do it.

ed 

> -----Original Message-----
> From: owner-sv-ac@eda.org [mailto:owner-sv-ac@eda.org] On 
> Behalf Of Kulshrestha, Manisha
> Sent: Wednesday, May 10, 2006 3:12 PM
> To: Doron Bustan; Korchemny, Dmitry
> Cc: sv-ac@eda.org
> Subject: RE: [sv-ac] Sampled value functions
> 
> I agree with Doron's comment that it looks unintuitive that 'a' is
> sampled based on c2. If the intention is really to sample 'a' 
> at c2, why
> not write the assertion outside.
> 
> Thanks.
> Manisha
>  
> [Ed Cerny]
> 
> With regards to that, I think that the interpretation is that 
> the normal
> clock flow would still keep c2 as the clock of the property and the
> condition a would be (syntactically) extracted and inserted in the
> assertion. The effective code after extraction would look like this:
> 
> always @(c1) begin
> end
> 
> assert property (@(c2) a |-> b);
> 
> 
> 
> >[Korchemny, Dmitry]
> >It is a matter of definition. Since we don't allow clock 
> change within 
> >the overlapping implication, we have to define it as a standalone 
> >assertion assert property (@(c2) a |-> b);
> >
> >  
> >
> It looks like I am in a minority here. It looks un intuitive 
> to me that
> "a" is sampled according to c2. I would like it to be
> 
> assert property (@(c2) a |-> b); 
> 
> if c1 and c2 are syntactically the same, and 
> 
> assert property (@(c1) a |=> @(c2)b);
> 
> otherwise
> 
> 
> Doron
> 
> 
> 
Received on Wed May 10 12:43:13 2006

This archive was generated by hypermail 2.1.8 : Wed May 10 2006 - 12:43:16 PDT