[sv-ac] property instance in property expression

From: soumya <soumya_at_.....>
Date: Fri Dec 19 2008 - 02:53:54 PST
Hi,
 I have a quarry regarding usage of property instance in property 
expression.

Please consider the example.

property p1;
............
endproperty

property p1;
..................
endproperty

sequence s1;
..............
endsequence

property prop;
@(posedge clk) s1 |-> ((prop1) or (prop2));
endproperty

One of the simulator giving error massage as :
"*Illegal use of property name as a sequence or boolean expression.*"

Where as other simulator is simulating successfully.

I am confused here .

I noticed the BNF of property Expression

property_expr ::=
| property_expr or property_expr
| sequence_expr |-> property_expr
| property_instance

Please tell me what is the correct behavior.

Thanks,
-Soumya




-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Fri Dec 19 02:45:32 2008

This archive was generated by hypermail 2.1.8 : Fri Dec 19 2008 - 02:46:32 PST