RE: [sv-bc] 4-state byte?

From: Bresticker, Shalom <shalom.bresticker_at_.....>
Date: Tue Feb 14 2006 - 22:34:34 PST
Thanks,

I wasn't asking for anything (yet), just trying to understand at this
stage. 

The thought behind the question was that in hardware design, it is
extremely common to design components in sizes which are bytes or
multiples of bytes, so it could be convenient to have a 4-state byte as
a built-in type. A 2-state byte was done, why was not a 4-state byte
done as well?

I forgot that byte is used for strings, and I also forgot that you
cannot declare a packed array of bytes.

So I got an answer.

Peace.

Thanks,
Shalom

> -----Original Message-----
> From: Paul Graham [mailto:pgraham@cadence.com]
> Sent: Wednesday, February 15, 2006 3:58 AM
> To: Dave_Rich@mentor.com
> Cc: Bresticker, Shalom; sv-bc@eda.org
> Subject: Re: [sv-bc] 4-state byte?
> 
> Shalom,
> 
> It's better to have your own typedef for char, rather than
> ask for it to be added to the language.  That way if you're
> a fan of pascal you can declare a packed array of char.
> (Recall that SV disallows a packed array of byte.)
> 
> Paul
Received on Tue Feb 14 22:34:50 2006

This archive was generated by hypermail 2.1.8 : Tue Feb 14 2006 - 22:36:18 PST