05.07.2013 Views

Xilinx Synthesis Technology User Guide

Xilinx Synthesis Technology User Guide

Xilinx Synthesis Technology User 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.

XST <strong>User</strong> <strong>Guide</strong><br />

Old XST Constraint Syntax<br />

General Constraints<br />

The constraint file syntax is derived from the VHDL attribute syntax<br />

with a few differences pointed out below. The main difference is that<br />

no attribute declaration is required. An attribute can be directly<br />

specified using the following syntax:<br />

attribute AttributeName of ObjectName : ObjectType is<br />

"AttributeValue" [;]<br />

A statement applies to only one object. A list of object identifiers<br />

cannot be specified in the same statement. Allowed object types are<br />

entity, label, and signal. Attribute values are not typed and should<br />

always be strings. In a hierarchical design, use the following begin<br />

and end statements to access objects in hierarchical units. They are<br />

not required if the considered object is in the top-level unit.<br />

begin UnitName<br />

end UnitName [;]<br />

Example:<br />

begin alu<br />

attribute resource_sharing of result : signal is<br />

"yes" ;<br />

end alu ;<br />

Note that begin and end statements only apply to design units. They<br />

cannot refer to unit instances. As a result, begin and end statements<br />

should never appear inside another begin/end section.<br />

A constraint file can be specified in the Constraint File section of the<br />

Process Properties dialog box in the Project Navigator, or with the<br />

-uc command line option. The option value is a relative or absolute<br />

path to the file.<br />

This section lists various constraints that can be used with XST. These<br />

constraints apply to FPGAs, CPLDs, VHDL, and Verilog. Some of<br />

these options can be set under the <strong>Synthesis</strong> Options tab of the<br />

Process Properties dialog box within the Project Navigator. See the<br />

“Constraints Summary” section for a complete list of constraints<br />

supported by XST.<br />

5-14 <strong>Xilinx</strong> Development System

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

Saved successfully!

Ooh no, something went wrong!