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

6.1i EDK, XPS - PlatGen issues error: "ERROR:Xst:813 - Body of function not found"

Description

Keywords: XST

Urgency: Standard

General Description:
When I generate a netlist or run PlatGen with a user peripheral, the following error is reported by PlatGen:

"ERROR:Xst:813 - c:/project/pcores/my_user_core_v1_00_a/hdl/vhdl/sub_hdl.vhd line 2263: Body of function my_func not found."

The same file (and all files used by core) synthesizes successfully in ISE. How do I fix this error?

Solution

This occurs when a user peripheral contains a VHDL file (in this case, sub_hdl.vhd) that references the "work" library. For example, the file may contain:

use work.my_pack.all

Currently, the work library is not supported in EDK. The file passes through ISE because it includes a default work library for compilation. To work around this problem, rename the work library to the library name used by the core. For example:

use my_user_core_v1_00_a.all

NOTE: The HDL source library declarations need to match what is written in the core PAO file.
AR# 18626
Date Created 12/12/2003
Last Updated 03/07/2006
Status Archive
Type General Article