Re: [sv-bc] Union assignment patterns

From: Steven Sharp <sharp_at_.....>
Date: Tue Feb 28 2006 - 16:33:22 PST
>What about packed union types?
>
>See also --
>
>   http://eda.org/svdb/bug_view_page.php?bug_id=285

Item 286 is also relevant.

I believe the correct answer is that it is a vector, and will be
initialized like a vector.  If all the members are 2-state, then
it is a 2-state vector, and will be initialized to all-zero.  If
any member is 4-state, then it is a 4-state vector, and will be
initialized to all-X (though if that is read via a 2-state member,
it will look like all-0, due to the rules on reading 2-state members
of 4-state unions).


Steven Sharp
sharp@cadence.com
Received on Tue Feb 28 16:33:29 2006

This archive was generated by hypermail 2.1.8 : Tue Feb 28 2006 - 16:34:47 PST