Re: parameter list and port list

From: Michael McNamara (mac@verisity.com)
Date: Fri May 03 2002 - 13:03:27 PDT


Precedence: bulk

Adam Krolnik writes:
> Precedence: bulk
>
>
>
> Hi Jayaram;
>
> >I find it very confusing to specify ports and parameters like
>
> Could you be more specific?
>
> >#(parameter A=1, B=2,
> > parameter real C = 3, D = 4,
> > parameter [3:0] E = 5, F = 6)
>
> >(input L, M, N,
> > input [3:0] O, P,
> > input [0:7] R, S)
>
> >This is not the ANSI style (which I thought was the intention) for >specifying parameters
>
> Could you be more specific.
>
> The above is reasonable. Were you expecting this:
>
> #(parameter A=1,
> parameter B=2,
> parameter real C = 3,
> parameter real D = 4,
> parameter [3:0] E = 5,
> parameter [3:0] F = 6)
>
> (input L,
> input M,
> input N,
> input [3:0] O,
> input [3:0] P,
> input [0:7] R,
> input [0:7] S)
>
> Lot's of redundancy there...

 However, it is also perfectly legal syntax under IEEE 1364-2001

 -mac



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