AR# 10783

3.1i XST - ERROR: (VHDL_0056). file_name.vhd (Line #). Unexpected value. Unable to derive it to an integer.

説明

Keywords: generic, integer, constant, array

Urgency: Standard

General Description:
XST will incorrectly process an array of constants when an index of the array is a generic.

For example:

generic (loc_x ... : INTEGER := 0;);
...
regoutA: FDBUS GENERIC MAP (... loc_x => pos_ram_mul_x(loc_x), ...);

will generate the error:

ERROR: (VHDL_0056). file_name.vhd (Line 90). Unexpected value. Unable to derive it to an integer.

NOTE: This problem is fixed in the 4.1i software release.

ソリューション

The work-around is to add "+0":

regoutA: FDBUS GENERIC MAP (... loc_x => pos_ram_mul_x(loc_x) + 0, ...);
AR# 10783
日付 08/19/2002
ステータス アーカイブ
種類 一般