Subject: Re: problem with numeric_bit
From: Colin Marquardt (c.marquardt@alcatel.de)
Date: Thu Oct 18 2001 - 08:28:03 MDT
Tim McBrayer <tmcbraye@innoveda.com> writes:
> On Thu, Oct 18, 2001 at 04:50:14PM +0300, Tuukka Toivonen wrote:
> > On Thu, 18 Oct 2001, Colin Marquardt wrote:
>>
>> >Tuukka Toivonen <tuukkat@ees2.oulu.fi> writes:
>> >> It looks I finally found the exact line which causes this, it is
>> >> constant NAU: UNSIGNED(0 downto 1) := (others => '0');
>> >
>> >You probably wanted
>> > constant NAU: UNSIGNED(1 downto 0) := (others => '0');
>>
>> No, I didn't. That code is *official* from IEEE, not written by me.
>> It is *standard*.
>
> Right. This is the standard's definition for a null range for an UNSIGNED
> vector. It's that way on purpose, and is legal VHDL.
Ah, I didn't realize this was from a package (numeric_bit?)...
Cheers,
Colin
This archive was generated by hypermail 2b25 : Mon Mar 18 2002 - 13:00:02 MST