Subject: Re: [sv-ec] Re: [sv-bc] Packed arrays
From: Kevin Cameron (sv-xx@grfx.com)
Date: Tue Jan 28 2003 - 23:46:08 PST
> From: Steven Sharp <sharp@cadence.com>
>
> >Since the bit conversion of reals is defined (for $realtobits) I don't
> >see any reason why it can't be used in a packed array or union.
>
> The bit conversion is not defined and may differ between CPU architectures
> because of endianness differences. This is not a problem with existing
> usage as long as $realtobits is only used in combination with $bitstoreal,
> and nobody relies on the representation when in bit form.
>
> Steven Sharp
> sharp@cadence.com
Sorry, I thought it was IEEE standard format.
In that case shouldn't $realtobits and $bitstoreal be deprecated, I presume
they're only there to work around not having real type ports - which isn't
an issue anymore?
Kev.
This archive was generated by hypermail 2b28 : Wed Jan 29 2003 - 01:02:23 PST