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

13.1 XST - ERROR:Xst - "chk_const.v" line 30: Unable to find function definition for function <size>

Description

XST fails to compile Behavioral Verilog Constant Functions correctly and produces the following error:

ERROR:Xst - "chk_const.v" line 30: Unable to find function definition for function <size>.




Solution

This is a known issue in ISE software when targeting pre Spartan-6 and Virtex-6 architectures such as Virtex-5 FPGA. There is a bug in the XST version used for these device families.

The newest architectures do not produce this error and can complete XST, as the new parser used for these device families does not contain the bug. A CR has been filed for this issue to modify the XST documentation to remove the coding template, which does not work, provided for this construct.
AR# 41722
Date Created 04/12/2011
Last Updated 06/30/2011
Status Active
Type General Article
Tools
  • ISE Design Suite - 12.4
  • ISE Design Suite - 13.1