RE: [sv-bc] Is union bit-stream type

From: Bresticker, Shalom <shalom.bresticker_at_.....>
Date: Fri Aug 11 2006 - 03:19:41 PDT
Note that the definition of 'bit-stream type' in 4.16 is not exactly the
same as that in the glossary.

True, 4.16 is normative while the glossary is only informative, but they
should be consistent.

4.16 says,

"A bit-stream type is a type consisting of the following:

- Any integral, packed, or string type
- Unpacked arrays, structures, or classes of the above types
- Dynamically sized arrays (dynamic, associative, or queues) of any of
the above types"

whereas the glossary says, 

"bit-stream data type: Any data type whose values can be represented as
a serial stream of bits. To qualify as a bit-stream data type, each and
every bit of the values must be individually addressable. In other
words, a bit-stream data type can be any data type except for a handle,
chandle, real, shortreal, or event."

Shalom


> -----Original Message-----
> From: owner-sv-bc@server.eda-stds.org [mailto:owner-sv-bc@server.eda-
> stds.org] On Behalf Of Feldman, Yulik
> Sent: Thursday, August 10, 2006 7:38 PM
> To: Rich, Dave; Sarani Roy; sv-bc@server.eda-stds.org
> Subject: RE: [sv-bc] Is union bit-stream type
> 
> Won't it make sense to define the bit-stream casting for tagged unions
> with members of bit-stream types (just asking; not that I see an
> immediate usage for such casting)?
> 
> -----Original Message-----
> From: owner-sv-bc@server.eda-stds.org
> [mailto:owner-sv-bc@server.eda-stds.org] On Behalf Of Rich, Dave
> Sent: Thursday, August 10, 2006 5:55 PM
> To: Sarani Roy; sv-bc@server.eda-stds.org
> Subject: RE: [sv-bc] Is union bit-stream type
> 
> A packed union is a bit-stream type.
> 
> An unpacked union is not because the alignment of bits between the
> different members of the union is not specified. Therefore you don't
> know the actual number of visible bits it takes to represent the type.
> 
> Dave
> 
> 
> > -----Original Message-----
> > From: owner-sv-bc@server.eda-stds.org
[mailto:owner-sv-bc@server.eda-
> > stds.org] On Behalf Of Sarani Roy
> > Sent: Thursday, August 10, 2006 1:41 AM
> > To: sv-bc@server.eda-stds.org
> > Subject: [sv-bc] Is union bit-stream type
> >
> > Hello,
> >
> > I have a query :
> >  - why Union has not been included in the bit-stream type (Casting)
?
> >
> > thanks
> > Sarani
> >
Received on Fri Aug 11 03:20:01 2006

This archive was generated by hypermail 2.1.8 : Fri Aug 11 2006 - 03:20:06 PDT