RE: port dependence on localparams

From: Stefen Boyd (stefen@boyd.com)
Date: Fri Jul 27 2001 - 10:34:13 PDT


At 11:08 AM 7/26/2001 -0700, Michael McNamara wrote:
>We did discuss this, and at one point there was a proposal that one
>could have parameter declarations inside the port list, and that these
>parameters would be the only ones that were overridable:

Mac,

Steven and I had a brief interchange regarding this
that didn't make it out to the reflector:

At 03:08 PM 7/26/2001 -0400, you wrote:
> >I vaguely remember talking about this... we
> >were considering adding parameter declarations
> >into the ansi style module declarations. I
> >guess that got dropped on the floor.
>
>They got added in, mixed in with the ports, which was ugly. We changed
>this to put them all before the ports in a separate #(...) construct. This
>matches the syntax of the instantiation with parameter overrides. And since
>they come before the port declarations, they can be used there.
>
>However, that only covers parameters, not localparams.
>
>Steven Sharp

We put an example in 12.2 using the module parameter
list. I guess it would have been nice to have allowed
localparam in this list...

Stefen

<p>--------------------
Stefen Boyd Boyd Technology, Inc.
stefen@BoydTechInc.com (408)739-BOYD
www.BoydTechInc.com (408)739-1402 (fax)



This archive was generated by hypermail 2.1.4 : Mon Jul 08 2002 - 12:54:43 PDT and
sponsored by Boyd Technology, Inc.