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
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
日期 08/11/2003
状态 Archive
Type 综合文章
People Also Viewed