01.07.2013 Views

Xilinx Constraints Guide

Xilinx Constraints Guide

Xilinx Constraints Guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 2: Entry Strategies for <strong>Xilinx</strong> <strong>Constraints</strong><br />

XST Constraint File (XCF)<br />

Constraint Priority<br />

File Priorities<br />

XST constraints can be specified in the XST Constraint File (XCF). The XCF has an<br />

extension of .xcf. For more information, see:<br />

• ISE® Design Suite Help<br />

• XST Constraint File (XCF) section in the XST User <strong>Guide</strong> for Virtex-4, Virtex-5,<br />

Spartan-3, and Newer CPLD Devices<br />

In some cases more than one timing constraint covers the same path. The constraint<br />

conflict must be resolved, with the higher priority constraint taking precedence and<br />

being applied to the path, and the lower priority constraints being ignored for that<br />

path. The method of constraints resolution depends on both the order of constraint<br />

specification as well as the priority of the constraints specified. The rules of constraint<br />

priority resolution are described below. This determination is based upon the constraint<br />

prioritization or which constraint appears later in the Physical <strong>Constraints</strong> File (PCF), if<br />

there are overlapping constraints of the same priority. For example, if the design has<br />

two Period (PERIOD) constraints that cover the same paths, the later Period (PERIOD)<br />

constraint in the PCF file covers or analyzes these paths. The previous Period (PERIOD)<br />

constraints have “0 items analyzed” in the timing report. In order to modify the<br />

default constraint resolution behavior, the constraint priority can be assigned using<br />

the PRIORITY keyword.<br />

When conflicting constraints have the same priority, the order of specification is used to<br />

determine the constraint that takes precedence. The resolution rule for identical priority<br />

constraints is the constraint that is specified last overwrites any previously defined<br />

constraints. This rule applies to constraints within a single User <strong>Constraints</strong> File (UCF)<br />

as well as constraints defined in multiple UCF files.<br />

The following list defines the precedence order of identical priority constraints when<br />

these constraints are defined in different constraint files. The list is given in descending<br />

priority order with the highest priority constraint listed first.<br />

• <strong>Constraints</strong> in a Physical <strong>Constraints</strong> File (PCF)<br />

• <strong>Constraints</strong> in a User <strong>Constraints</strong> File (UCF)<br />

• <strong>Constraints</strong> in a Netlist <strong>Constraints</strong> File (NCF)<br />

• Attributes in a schematic or <strong>Constraints</strong> specified in HDL that are passed down<br />

in the netlist<br />

<strong>Constraints</strong> <strong>Guide</strong><br />

48 www.xilinx.com UG625 (v. 13.2) July 6, 2011

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!