AR# 14026

|

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

Description

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."

Solution

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
People Also Viewed