[sv-bc] RE: Assignment pattern questions

From: Steven Sharp <sharp@cadence.com>
Date: Wed Oct 22 2014 - 16:26:10 PDT
Yes, the keys can be mixed.  The LRM specifically describes the order in which the kinds of keys are applied (member, then type, then default), with each only applying to fields not set by a higher priority kind of key.  See the bullets after "The matching rules are as follows:"


From: owner-sv-bc@eda.org [mailto:owner-sv-bc@eda.org] On Behalf Of Bresticker, Shalom
Sent: Tuesday, October 21, 2014 9:03 AM
To: 'SV-BC'
Subject: [sv-bc] Assignment pattern questions

A couple of questions about assignment patterns:


1.   Can different types of keys be mixed? I.e., Can structure member name keys be mixed with member type name keys? I don't see anything to forbid it.

2.   What if two such keys apply to the same member? Based on what the LRM says about duplicate keys, I would guess that the last one takes precedence.

3.   What about mixing structure member name/type or array index keys with positional assignments ? I would guess that should not be allowed.


Thanks,
Shalom

Shalom Bresticker
Communications & Storage Infrastructure Group Design Automation
Intel Jerusalem, Israel
+972  2 589 6582 (office)
+972 54 721 1033 (cell)
http://www.linkedin.com/in/shalombresticker
The devil is in the details.


---------------------------------------------------------------------
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<http://www.mailscanner.info/>, 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 Wed Oct 22 16:27:18 2014

This archive was generated by hypermail 2.1.8 : Wed Oct 22 2014 - 16:27:33 PDT