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

3.1i XST - ERROR: (VHP__0854). The expression can not be converted to type std_logic_vector.

Description


General Description:

XST will generate an error when it encounters an UNSIGNED to STD_LOGIC_VECTOR conversion.



For example:

std_logic_vector(conv_unsigned(NWINDOWS-1, NWINLOG2));



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

解决方案


To work around this problem, replace



std_logic_vector(conv_unsigned(NWINDOWS-1, NWINLOG2));



with



conv_std_logic_vector(NWINDOWS-1, NWINLOG2);
AR# 8333
创建日期 08/31/2007
Last Updated 04/21/2011
状态 Archive
Type 综合文章