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


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



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:


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.


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 10/23/2008
Status Archive
Type General Article
Page Bookmarked