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

XST - "ERROR:HDLParsers:3317 - file_name.vhd Line xx. Library lib_name cannot be found."


Keywords: XST, VHDL, library, parser, 3317, found

Urgency: Standard

General Description:
When I synthesize a VHDL design with XST, the VHDL parser issues the following error:

"ERROR:HDLParsers:3317 - <file>.vhd Line # Library <my_lib> cannot be found."


When a VHDL library is accessed, the library must be declared before it can be used. To use a VHDL library, the declaration and use lines should be similar to the following:

library my_lib;
use my_lib.my_pkg.all;

If the first line is incorrect, the "HDLParsers Error #3317" will be reported.

Make sure that the library exists in the project file and that the library file is compiled into this library. In ISE, create a new library by selecting Project -> New Source and then select "VHDL Library". This new library appears under the Libraries tab. You can compile VHDL files into this library by selecting them, right-clicking, and selecting "Move to Library...".
AR# 14027
Date 10/20/2005
Status Active
Type General Article
Page Bookmarked