RE: [sv-ac] property instance in property expression

From: Korchemny, Dmitry <dmitry.korchemny_at_.....>
Date: Mon Dec 22 2008 - 06:37:48 PST
Hi Soumya,

Your code is correct provided the implementation of your properties and sequences is correct. Also, note that in your excerpt p2 is never defined, while p1 is defined twice.

Dmitry

From: owner-sv-ac@server.eda.org [mailto:owner-sv-ac@server.eda.org] On Behalf Of soumya
Sent: Friday, December 19, 2008 12:54 PM
To: sv-ac@eda.org
Subject: [sv-ac] property instance in property expression

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<http://www.mailscanner.info/>, and is
believed to be clean.
---------------------------------------------------------------------
Intel Israel (74) Limited

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Mon Dec 22 06:50:26 2008

This archive was generated by hypermail 2.1.8 : Mon Dec 22 2008 - 06:51:27 PST