RE: [sv-bc] Local parameters in parameter-port-list (Mantis 1134)

From: Jonathan Bromley <jonathan.bromley_at_.....>
Date: Thu Sep 06 2007 - 01:58:25 PDT
[Gord]
> > At one level I think that following the task/function formal 
> > "implied mode/type" rules for subsequent declarations would 
> > be consistent.  However, I think that in this case, that 
> > leads to very confusing code.
> > 
> > I would prefer to say something like the following:
> >    An ANSI style parameter declaration shall be treated
> >    as a "parameter" unless explicitly declared as
> >    "localparam".

[Shalom]
> 1134 must address this, one way or another.

The comments I saw from other members of BC indicated that
"sticky-mode" behaviour would be more consistent with the
rest of the language.  And users are, of course, still 
entitled to be explicit if they prefer their code to be
readable and maintainable.  The proposal I uploaded to 1134
a few hours ago failed to mention this issue, but I'll add 
some text to clarify this sticky behaviour and post a new
proposal soon.

Thanks
-- 
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.
Received on Fri Sep 7 17:12:03 2007

This archive was generated by hypermail 2.1.8 : Fri Sep 07 2007 - 17:12:31 PDT