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

XST - "ERROR:Xst:1370 Signal name not found in design, ERROR:Xst:1341 - XCF parsing failed"

Description

I have defined a clock signal in my design and placed a PERIOD constraint for that signal into the XCF.

When I synthesize my project, XST fails with an error message specifying that the signal I have defined in the XCF is not found in the design. (This occurs despite the fact that I set the option KEEP HIERARCHY in the synthesis option.)

Error message:

"Mapping all equations...

Building and optimizing final netlist ...

Annotating constraints using XCF file 'Project_directory_path\try_cst.xcf'

ERROR:Xst:1370 - Line 11: Signal name clock_signal_name not found in design.

ERROR:Parsers:11 - Encountered unrecognized constraint while parsing.

ERROR:Xst:1341 - XCF parsing failed"

How can I solve this problem?

Solution

This problem occurs when the clock signal is connected to an output PAD of the FPGA. XST will automatically replace the clock net name in your design with the name associated to the PAD.

To prevent XST from changing the name of the clock signal, modify your code by placing a KEEP attribute on the clock signal.

This can done by adding the following lines in your code:

VHDL:

Declare the KEEP attribute in your file architecture, before the "begin" keyword:

attribute keep : string;

After KEEP and your clock signal have been declared, specify the VHDL constraint as follows:

attribute keep of clock_signal_name: signal is "true";

Verilog:

// synthesis attribute keep of clock_signal_name is true;

For more details on using the KEEP attribute, please refer to the software manual:

http://toolbox.xilinx.com/docsan/xilinx6/books/manuals.htm

AR# 18674
Date Created 09/03/2007
Last Updated 12/15/2012
Status Active
Type General Article