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# 4335

FPGA Express: Use of predefined attributes with non-static alias range is not supported

説明

Keywords: Express, range, attribute, alias, 'left, 'right, 'high, static

Urgency: Standard

General Description:
FPGA Express does not support the use of predefined attributes (e.g. 'LEFT,
'HIGH, 'RANGE, etc.) with aliases when the alias range is not locally static.

Use of such constructs may cause FPGA Express to crash without an error.

ソリューション

Replace the pre-defined attribute with the corresponding components of the
alias' range. For example, for the following code:

procedure foo (B: inout STD_LOGIC_VECTOR) is
begin
constant b_left : integer := B'length-1;
alias b_alias : STD_LOGIC_VECTOR(b_left downto 0) of B;
...

for I in b_alias'RANGE loop
...

end loop;

...

end foo;



Replace the loop with:

for I in 0 to b_left loop
...

end loop;
AR# 4335
作成日 07/27/1998
最終更新日 08/11/2003
ステータス アーカイブ
タイプ 一般