[vhdl-200x-ft] Bugs in Numeric_std

From: David Bishop <dbishop@server.vhdl.org>
Date: Wed Dec 15 2004 - 06:45:55 PST

As long as we are on the thread of tracking down old bugs, I was sent
the following bug via the Mentor support hotline
(VHDL Issue Number 2002, analyzed by Peter Ashenden)
and an ESNUG article:
http://www.deepchip.com/items/0348-14.html

Noting the following:
> Description of Problem
> ----------------------
>
> If Resize(ARG: UNSIGNED, NEW_SIZE: NATURAL) is called with
> Length(Unsigned) = NEW_SIZE, the else statement(line 3192) will try to
> evaluate RESULT(X downto X+1). This caused a fatal error in the
> RTLcompile tool from IKOS.
>
> Proposed Resolution
> -------------------
> Proposed_Resolution: Change the if statement in line 3190 to use "<="
> nstead of "<", so it reads

This is an easy fix, which I have put in and tested.

-- 
David W. Bishop dbishop@vhdl.org       All standard disclaimers apply.
Received on Wed Dec 15 06:45:58 2004

This archive was generated by hypermail 2.1.8 : Wed Dec 15 2004 - 06:46:10 PST