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 4: <strong>Xilinx</strong> <strong>Constraints</strong><br />

FROM-TO (From To)<br />

Architecture Support<br />

Applicable Elements<br />

Propagation Rules<br />

The FROM-TO (From To) constraint:<br />

• Defines a timing constraint between two groups.<br />

• Is associated with the Period constraint of the high or low time.<br />

A group can be user-defined or predefined. From synchronous paths, a FROM-TO<br />

constraint controls only the setup path, not the hold path.<br />

For Virtex®-5 devices, the FROM-TO constraint controls both setup and hold paths.<br />

Applies to all FPGA devices and all CPLD devices.<br />

Predefined and user-defined groups.<br />

Applies to a path specified between two groups.<br />

Syntax Examples<br />

The following examples show how to use this constraint with particular tools or<br />

methods. If a tool or method is not listed, you cannot use this constraint with it.<br />

UCF and NCF Syntax<br />

TIMESPEC TSname=FROM “group1” TO “group2” value [DATAPATHONLY];<br />

where<br />

• TSname must always begin with TS. Any alphanumeric character or underscore<br />

may follow.<br />

• group1 is the origin path<br />

• group2 is the destination path<br />

• value is ns by default. Other possible values are MHz or another timing specification<br />

such as TS_C2S/2 or TS_C2S*2.<br />

The DATAPATHONLY keyword indicates that the FROM-TO constraint does not take<br />

clock skew or phase information into consideration. This keyword results in only the<br />

data path between the groups being constrained and analyzed.<br />

TIMESPEC TS_MY_PathA = FROM “my_src_grp” TO “my_dst_grp” 23.5 ns<br />

DATAPATHONLY;<br />

XCF Syntax<br />

XST supports FROM-TO with the following limitations:<br />

• FROM-THRU-TO is not supported<br />

• Linked Specification is not supported<br />

• Pattern matching for predefined groups is not supported:<br />

TIMESPEC TS_1 = FROM FFS(machine/*) TO FFS 2 ns;<br />

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

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