[sv-bc] Mantis 2929: ref_declaration should use list_of_variable_port_identifiers

From: Bresticker, Shalom <shalom.bresticker@intel.com>
Date: Mon Nov 08 2010 - 01:31:02 PST

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, and is
believed to be clean.
Received on Mon Nov 8 01:33:55 2010

This archive was generated by hypermail 2.1.8 : Mon Nov 08 2010 - 01:36:39 PST