> I see your point, but section 4.2 is clearly distinguishing packed arrays
> and built-in types. For example, you can't declare a packed array of bytes.
>
> byte legal [15:0];
> byte [15:0] illegal;
I regret all this special-casing for built-in types. Wouldn't be
nice if SV simply defined a header file which contained:
typedef logic signed [31:0] integer;
typedef bit signed [31:0] int;
etc., so that the predefined types behaved just like user types?
And I fondly remember "packed array of char" from pascal, but it looks
like SV doesn't allow "packed array of byte".
Paul
Received on Fri Sep 24 14:35:23 2004
This archive was generated by hypermail 2.1.8 : Fri Sep 24 2004 - 14:35:30 PDT