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

6.2i XST - XST generates incorrect logic under certain arithmetic conditions


Keywords: XST, arithmetic, logic, incorrect, integer

Urgency: Standard

General Description:
Under the following condition XST generates incorrect logic:

-- when using operation between std_logic_vector and unconstrained integer
out_addr := current_address - addr - current_count; --current count is an unconstrained integer


The work around for the above example is to convert the integer to a std_logic_vector as follows:

out_addr := current_address - addr - conv_std_logic_vector(current_count,6);

This problem has been fixed in the latest 6.2i Service Pack available at:
The first service pack containing the fix is 6.2i Service Pack 2.
AR# 19186
日期 07/18/2007
状态 Archive
Type 综合文章