Re: [sv-bc] A question regarding the proposal for issue # 91

From: Paul Graham <pgraham@cadence.com>
Date: Wed Oct 06 2004 - 12:34:32 PDT

Dave Rich wrote:

> I think the suggestion was to make them accept a simple_type, so
> $bits(integer) is OK, but $dimensions(reg[10:0]); is not legal.
> At least one reason for not allowing (reg[10:0]) is that it is
> visually ambiguous as to whether it is a packed or unpacked array.

I assume the same reasoning applies to parameterized types. If you
have:

    sub #(.t(reg[10:0])) u1();

then it's equally unclear whether you are parameterizing type t of
module sub with a packed or unpacked array of bits.

Paul
Received on Wed Oct 6 12:34:34 2004

This archive was generated by hypermail 2.1.8 : Wed Oct 06 2004 - 12:34:37 PDT