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

XST - "ERROR:HDLParsers:340 - <file> Entity <top> does not exist in library <work>."

Description

Keywords: VHDL, parsing, switch, -ent, declared, EDK

Urgency: Standard

General Description:
When parsing a VHDL design with XST, the following error occurs:

"ERROR:HDLParsers:340 - <file> Entity <top> does not exist in library <work>."

Solution

1

A top-level entity has been declared using the "-ent" switch in the XST script file, but XST cannot find that entity.

Ensure that the entity name referenced by the "-ent" switch exists within the XST project.

For more information on the -ent switch, refer to the XST User Guide at:
http://toolbox.xilinx.com/docsan/xilinx7/books/docs/xst/xst.pdf

2

This error message appears if the entity and architecture have been declared in separate files.

NOTE: This specific problem has been fixed in 6.1i.

3

This has been seen in EDK designs if using Verilog as the simulation language.

To work around this issue, change the simulation language to VHDL.
AR# 14235
Date Created 08/29/2007
Last Updated 10/23/2008
Status Archive
Type General Article