Jonathan, Your proposal would not allow module test#( parameter N = 16, localparam lgN = $clog2(N), parameter type T1 [lgN], parameter type T2 [lgN]) ... because "Any local parameter declarations shall occur after any parameter declarations, so that the existence of such localparam declarations cannot cause confusion when positional mapping is used to override some or all parameters in the port list." I think this restriction is an overly costly way to avoid confusion. -- Brad -----Original Message----- From: owner-sv-bc@eda.org [mailto:owner-sv-bc@eda.org] On Behalf Of Jonathan Bromley Sent: Saturday, June 09, 2007 3:41 AM To: sv-bc@eda-stds.org Subject: [sv-bc] Proposal for 1134: Localparam in parameter_port_list hi sv-bc, At Shalom's provocation I've uploaded a proposal for 1134, which has been open and unresolved for a considerable time. From my perspective, the inability to have localparams declared before ports is a serious usability issue and I'd really like to see this change included in 1800-2008. The BNF change is not too drastic, I hope. Is everyone OK with the side-effect that a _class's_ parameter_port_list can also include localparams? My own feeling was that this is harmless, but if it is felt to be undesirable it could easily be fixed either by adding a new production for class_parameter_port_list in the BNF, or by a semantic restriction. -- Jonathan Bromley, Consultant DOULOS - Developing Design Know-how VHDL * Verilog * SystemC * e * Perl * Tcl/Tk * Project Services Doulos Ltd. Church Hatch, 22 Market Place, Ringwood, Hampshire, BH24 1AW, UK Tel: +44 (0)1425 471223 Email: jonathan.bromley@doulos.com Fax: +44 (0)1425 471573 Web: http://www.doulos.com The contents of this message may contain personal views which are not the views of Doulos Ltd., unless specifically stated. -- This message has been scanned for viruses and dangerous content by MailScanner, 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 Sat Jun 9 08:56:30 2007
This archive was generated by hypermail 2.1.8 : Sat Jun 09 2007 - 08:56:56 PDT