.vhd Line xx. Library is not declared."">


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

XST - "ERROR:HDLParsers:3013 - .vhd Line xx. Library is not declared."


General Description:

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

"ERROR:HDLParsers:3013 - <file>.vhd Line xx. Library <my_lib> is not declared."


When accessing a VHDL library, the library must be declared before it can be used. For a custom user 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 missing or incorrect, HDLParsers Error #3013 occurs for the following reasons:

- The library declaration line is omitted from the VHDL file.

- The library usage line contains the incorrect library name.

AR# 14026
Date 12/15/2012
Status Active
Type General Article
Page Bookmarked