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

6.1i ISE - Synthesis fails, reporting "ERROR:HDLParsers:3014 - <VHDL File> Line xxx. Library unit <package name> is not available in library work"

Description

Keywords: package, module, library, XST, synthesis, Project Navigator, work, parse, HDLLIB

Urgency: Standard

General Description:
The package file is not correctly recognized in ISE 6.1i. Synthesis fails and reports error messages similar to the following:

"ERROR:HDLParsers:3014 - my_design.vhd Line 26. Library unit my_package is not available in library work.
WARNING:HDLParsers:3465 - Library has no units. Did not save reference file xst/work/hdllib.ref for it."

This design may have successfully synthesized in ISE 5.2i without alterations.

Solution

1

This problem might be due to an error in the code that links packages together. The code checks to see if the module in question has a default secondary module (i.e., architecture); if it does, it asks the secondary to connect the packages. However, the problem occurs when modules that do not have secondary modules are skipped.

This problem has been fixed in the latest 6.1i Service Pack, available at:
http://support.xilinx.com/xlnx/xil_sw_updates_home.jsp
The first service pack containing the fix is 6.1i Service Pack 2.

2

If a VHDL source file has a 'use' clause that does not contain the library as part of the prefix, Project Navigator will not associate the package with the 'work' library.

Example: If the 'use' statement is "use work.simple_p.all;" then there is no problem. However, if the 'use' statement is "use simple_p.all;" then the following error occurs:

"ERROR:HDLParsers:3014 - c:/ise/my_proj.vhd Line 6. Library unit simple_p is not available in library work (default library)."

As a work-around, run the Check Syntax process on the "simple_p.vhd". The Check Syntax correctly associates the package with the work library. After doing this, the error does not occur again until the project files are cleaned up or changes are made to the package. (If changes are made to the package, an error does not occur; but the changes are not seen unless a Check Syntax is rerun.)

See (Xilinx Answer 14030).
AR# 18183
Date Created 10/06/2003
Last Updated 02/07/2006
Status Archive
Type General Article