AR# 14027: XST - "ERROR:HDLParsers:3317 - file_name.vhd Line xx. Library lib_name cannot be found."
XST - "ERROR:HDLParsers:3317 - file_name.vhd Line xx. Library lib_name cannot be found."
Keywords: XST, VHDL, library, parser, 3317, found
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...".