Re: [sv-bc] Union assignment patterns

From: Krishanu Debnath <krishanu_at_.....>
Date: Tue Feb 28 2006 - 01:44:47 PST
Brad Pierce wrote:
>> Probably you are confused with union object's initialization.
> 
> Is IEEE Std 1800-2005:4.11, it says --
> 
>       "If no initial value is specified in the declaration of a variable
> of an unpacked union type, then the variable shall be initialized to the
> default initial value for variables of the type of the first member in
> declaration order of the union type."

I don't know what exactly you are pointing. I don't have any doubts about the
union's initialization in SV. In my last post I was saying that Stuart's
statements about C's union usage is wrong.

> 
> What about packed union types?

Why the semantics will be different for the packed union types?

> 
> See also --
> 
>    http://eda.org/svdb/bug_view_page.php?bug_id=285
> 
> -- Brad
> 
> 
> 
> 

Krishanu
Received on Tue Feb 28 01:43:36 2006

This archive was generated by hypermail 2.1.8 : Tue Feb 28 2006 - 01:45:24 PST