RE: [sv-ec] Local Protected constraints

From: Arturo Salz <Arturo.Salz_at_.....>
Date: Fri Nov 16 2007 - 10:26:44 PST
Gopi,

The constraint BNF explicitly excludes the local and protected
modifiers. The main reason for their exclusion is because constraints
behave like virtual methods that are called by the built-in randomize
method. If a constraint were declared local/protected it would still be
visible to randomize and participate in the constraint equations. The
only limitation would be to call the constraint_mode on local/protected
constraints from certain methods, and this does not seem very useful and
probably create more confusion with regards to overridden methods.

	Arturo

-----Original Message-----
From: owner-sv-ec@eda.org [mailto:owner-sv-ec@eda.org] On Behalf Of Neil
Korpusik
Sent: Thursday, November 15, 2007 4:46 PM
To: SV_EC List
Cc: kgopi@syschip.com
Subject: [sv-ec] Local Protected constraints

<forwarding bounced email from non-member Gopikrishna Kamisetty>


-------- Original Message --------
Date: Thu, 15 Nov 2007 07:52:00 -0600 (CST)
Subject: Local Protected constraints
From: "Gopikrishna Kamisetty" <kgopi@syschip.com>
To: sv-ec@server.eda.org



Is it possible to declare constraints as local or protected?

Regards,
Gopi Krishna


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Fri Nov 16 10:27:07 2007

This archive was generated by hypermail 2.1.8 : Fri Nov 16 2007 - 10:27:19 PST