I uploaded the attached proposal.
Shalom
From: owner-sv-ec@eda.org [mailto:owner-sv-ec@eda.org] On Behalf Of Bresticker, Shalom
Sent: Monday, November 08, 2010 11:31 AM
To: sv-bc@eda.org
Cc: sv-ec@eda.org
Subject: [sv-ec] Mantis 2929: ref_declaration should use list_of_variable_port_identifiers
Mantis 2929 requests to allow non-ANSI ref ports to be variable-size arrays.
In detail, the non-ANSI port declaration syntax currently looks like this:
inout_declaration ::= inout net_port_type list_of_port_identifiers
input_declaration ::=
input net_port_type list_of_port_identifiers
| input variable_port_type list_of_variable_identifiers
output_declaration ::=
output net_port_type list_of_port_identifiers
| output variable_port_type list_of_variable_port_identifiers
ref_declaration ::= ref variable_port_type list_of_port_identifiers
The difference between list_of_port_identifiers on the one hand, and list_of_variable_identifiers and list_of_variable_port_identifiers on the other, is that the former allows only fixed unpacked dimensions, whereas the latter two allow variable-sized unpacked dimensions.
So input and output port declarations already allow variable-sized dimensions.
(The difference between list_of_variable_identifiers and list_of_variable_port_identifiers is that the latter also allows an initializer.)
ANSI-style ref declarations also seem to allow ref ports to have variable-size dimensions.
Are there any objections to changing the ref_declaration syntax to use list_of_variable_identifiers (not list_of_variable_port_identifiers)?
Thanks,
Shalom
Shalom Bresticker
Intel LAD DA, Jerusalem, Israel
+972 2 589 6582 (office)
+972 54 721 1033 (cell)
http://www.linkedin.com/in/shalombresticker
---------------------------------------------------------------------
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. --------------------------------------------------------------------- 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.
This archive was generated by hypermail 2.1.8 : Tue Nov 09 2010 - 09:33:12 PST