UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 10671

4.1i XST - "ERROR: Xst:777 - file_name.vhd (Line xx). Unexpected value. Unable to derive it to an integer."

Description

Keywords: 'range, others, attribute, pre, defined

Urgency: Standard

General Description:
While XST supports most uses of the 'range attribute, the following construct is not supported:

sig <= (sig'range => '0');

When I utilize this construct, the following error is reported:

"ERROR: Xst:777 - file_name.vhd (Line xx). Unexpected value. Unable to derive it to an integer."

Solution

To avoid this error, replace the above construct with the following:

sig <= (others => '0');

NOTE: The above construct is supported in the 5.1i version of XST.
AR# 10671
Date Created 12/19/2000
Last Updated 08/06/2003
Status Archive
Type General Article