[sv-bc] RE: SV 2009 configs -- index expressions in hierarchical names

From: Bresticker, Shalom <shalom.bresticker@intel.com>
Date: Sun Dec 02 2012 - 00:33:16 PST
The history seems to be that first the line

"Index expressions in a hierarchical name shall only refer to literals or localparams of the configuration."

was there, and then later the line

"Hierarchical references cannot include scopes of generate or array of instances."

was added.

Similarly, the early versions of the proposal did not yet include a BNF, only after the new restriction was added.

Apparently, no one noticed that the first restriction seems to have become irrelevant.

Note that in Mantis 2565, Surya asked,

"'- Hierarchical references cannot include scopes of generate or array of instances.'
Is the "hierarchical references" referring parameter override expression or instance hierarchical reference? Please give some example."

Regards,
Shalom


> -----Original Message-----
> From: owner-sv-bc@eda.org [mailto:owner-sv-bc@eda.org] On Behalf Of
> Brad Pierce
> Sent: Saturday, December 01, 2012 22:59
> To: sv-bc@eda.org
> Subject: [sv-bc] SV 2009 configs -- index expressions in hierarchical
> names
> 
> According to 33.4.3, "Index expressions in a hierarchical name shall
> only refer to literals or localparams of the configuration." But Syntax
> 33-4 doesn't allow index expressions in hierarchical names. As
> mentioned in http://www.eda.org/svdb/view.php?id=986 , "The LRM does
> not mention about configuring instance arrays and generated
> instantiations. Also, as per the BNF (Syntax 13-6), it is illegal to
> configure an element of an instance array/generate block because
> 'inst_name' can contain 'instance_identifier', only."
> 
> This restriction doesn't seem to be talking about the param_expression
> in the named_parameter_assignment, because another restriction in the
> same list is, "Hierarchical references cannot include scopes of
> generate or array of instances."
> 
> -- Brad

---------------------------------------------------------------------
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 Sun Dec 2 00:34:02 2012

This archive was generated by hypermail 2.1.8 : Sun Dec 02 2012 - 00:34:16 PST