RE: [sv-bc] query regarding array assignment pattern

From: Bresticker, Shalom <shalom.bresticker_at_.....>
Date: Mon Jun 05 2006 - 23:57:21 PDT
But Subhamoy is nevertheless correct that 5.2 says that an integer
variable is not a packed array. At the very least, that statement causes
confusion in this context. Would it be easier to say that such types are
special cases of packed arrays with special limitations?

> Both assignments are legal. You can think of integer as built-in 
> shortcut for 
>
> typedef logic signed [31:0] integer;
> 
> Type matching means you can treat an integer as if it were a packed 
> array even though you can't declare it as one.
Received on Tue Jun 6 00:16:12 2006

This archive was generated by hypermail 2.1.8 : Tue Jun 06 2006 - 00:16:29 PDT