It seems to me that the net_port_type non-terminal should be extended to include user-defined nettypes.
Today we have for non-ANSI headers:
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
and for ANSI headers:
ansi_port_declaration ::=
[ net_port_header | interface_port_header ] port_identifier { unpacked_dimension } [ = constant_expression ]
| [ variable_port_header ] port_identifier { variable_dimension } [ = constant_expression ]
| [ port_direction ] . port_identifier ( [ expression ] )
net_port_header ::= [ port_direction ] net_port_type
where
net_port_type ::= [ net_type ] data_type_or_implicit
net_type ::= supply0 | supply1 | tri | triand | trior | trireg| tri0 | tri1 | uwire| wire | wand | wor
So maybe net_port_type should be changed to
net_port_type ::=
[ net_type ] data_type_or_implicit
| net_type_identifier
Regards,
Shalom
From: owner-sv-dc@eda.org [mailto:owner-sv-dc@eda.org] On Behalf Of Bresticker, Shalom
Sent: Tuesday, August 23, 2011 2:54 PM
To: Francoise Martinolle; sv-dc@eda.org
Subject: [sv-dc] RE: Revised proposal for 3398 and response to Shalom's comments
Since nets with user-defined nettypes can be ports, please see whether any changes are needed in the BNF for ANSI or non-ANSI port declarations and/or in the rules in 23.2.2.3.
Thanks,
Shalom
---------------------------------------------------------------------
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 Wed Aug 24 05:17:34 2011
This archive was generated by hypermail 2.1.8 : Wed Aug 24 2011 - 05:17:38 PDT