01.07.2013 Views

Xilinx Constraints Guide

Xilinx Constraints Guide

Xilinx Constraints Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

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

If the wildcard character is used as part of a longer instance name, the wildcard<br />

represents one or more characters at that position.<br />

In a location, you can use a wildcard character for either the row number or the column<br />

number. For example, the following constraint specifies placement of any instance under<br />

the hierarchy of loads_of_logic in any SLICE in column 8.<br />

INST "/loads_of_logic/*" LOC=SLICE_X*Y8;<br />

Wildcard characters cannot be used for both the row number and the column number in<br />

a single constraint, since such a constraint is meaningless.<br />

Traversing Hierarchies<br />

Top-level block names (design names) are ignored when searching for instance name<br />

matches. You can use the asterisk wildcard character (*) to traverse the hierarchy of a<br />

design within a UCF and NCF file. The following syntax applies (where level1 is an<br />

example hierarchy level name).<br />

UCF Design Hierarchy<br />

* Traverses all levels of the hierarchy<br />

level1/* Traverses all blocks in level1 and below<br />

level1/*/ Traverses all blocks in the level1 hierarchy<br />

level but no further<br />

Consider the following design hierarchy.<br />

UCF Design Hierarchy<br />

With the example design hierarchy, the following specifications illustrate the scope of<br />

the wildcard.<br />

INST * => <br />

INST /* => <br />

INST /*/ => <br />

INST $A1/* => <br />

INST $A1/*/ => <br />

INST $A1/*/* => <br />

INST $A1/*/*/ => <br />

INST $A1/*/*/* => <br />

INST $A1/*/*/*/ => <br />

INST /*/*22/ => <br />

INST /*/*22 => <br />

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

34 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!