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.

UCF Syntax<br />

NET “clock” TNM_NET = CLK;<br />

TIMESPEC TS_CLK = PERIOD CLK 5.0 ns HIGH 50%;<br />

Chapter 4: <strong>Xilinx</strong> <strong>Constraints</strong><br />

OFFSET = OUT AFTER clock REFERENCE_PIN “TxClock” RISING;<br />

OFFSET = OUT AFTER clock REFERENCE_PIN “TxClock” FALLING;<br />

UCF System Synchronous SDR Example<br />

The System Synchronous Single Data Rate (SDR) case consists of an interface where the<br />

input clock is used to transmit the data to the receiving device. In the SDR interface,<br />

data is transmitted once per clock cycle. In this case a single OFFSET OUT requirement<br />

is needed to constrain the interface.<br />

In this example a clock signal called clock enters the FPGA. This clock signal trigger<br />

the data output synchronous elements. Because this is a system synchronous interface,<br />

the absolute clock to output time is required to constraint the interface. In this case,<br />

a regenerated clock is not present, and the REFERENCE_PIN keyword is omitted to<br />

request the default skew reporting.<br />

UCF Syntax<br />

NET “clock” TNM_NET = CLK;<br />

TIMESPEC TS_CLK = PERIOD CLK 5.0 ns HIGH 50%;<br />

OFFSET = OUT 5 ns AFTER “clock”;<br />

Schematic Syntax<br />

• Attach to a specific net<br />

• Attribute Name: OFFSET<br />

• Attribute Values: OUT offset_time BEFORE|AFTER clk_pad_netname<br />

XCF Syntax<br />

The XCF syntax is the same as the UCF syntax. However, the XCF syntax supports<br />

only the OFFSET OUT AFTER method.<br />

<strong>Constraints</strong> Editor Syntax<br />

For information on <strong>Constraints</strong> Editor and <strong>Constraints</strong> Editor syntax in ISE® Design<br />

Suite, see the ISE Design Suite Help.<br />

PlanAhead Syntax<br />

For more information about using the PlanAhead software to create constraints, see<br />

Floorplanning the Design in the PlanAhead User <strong>Guide</strong> (UG632). See PlanAhead in this<br />

<strong>Guide</strong> for information about:<br />

• Defining placement constraints<br />

• Assigning placement constraints<br />

• Defining I/O pin configurations<br />

• Floorplanning and placement constraints<br />

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

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

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

Saved successfully!

Ooh no, something went wrong!