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 3: Timing Constraint Strategies<br />

Register-to-Register Timing <strong>Constraints</strong><br />

This section discusses the methodology for the specification of register-to-register<br />

synchronous path timing requirements. Register-to-register constraints cover the<br />

synchronous data paths between internal registers. This section includes:<br />

• Register-to-Register Timing <strong>Constraints</strong> Overview<br />

• Automatically Related DCM/PLL/MMCM Clocks<br />

• Manually Related Clock Domains<br />

• Asynchronous Clock Domains<br />

Register-to-Register Timing <strong>Constraints</strong> Overview<br />

PERIOD defines the timing of the clock domains. PERIOD not only analyzes the paths<br />

within a single clock domain, but analyzes all paths between related clock domains as<br />

well. In addition, PERIOD automatically takes into account all frequency, phase, and<br />

uncertainty differences between the domains during analysis.<br />

The application and methodology for constraining synchronous clock domains falls<br />

under several common categories. These categories include:<br />

• Automatically related DCM/PLL/MMCM Clock Domains<br />

• Manually related Clock Domains<br />

• Asynchronous Clock Domains<br />

By allowing the tools to automatically create clock relationships for DCM/PLL/MMCM<br />

output clocks, and manually defining relationships for externally related clocks, all<br />

synchronous cross-clock- domain paths will be covered by the appropriate constraints,<br />

and properly analyzed. With proper application of PERIOD constraints that follows this<br />

methodology, the need for additional cross-clock-domain constraints is eliminated.<br />

Automatically Related DCM/PLL/MMCM Clocks<br />

The most common type of clock circuit is one in which the input clock is fed into<br />

a DCM/PLL/MMCM and the outputs are used to clock the synchronous paths in<br />

the device. In this scenario, the recommended methodology is to define a PERIOD<br />

constraint on the input clock to the DCM/PLL/MMCM . By placing PERIOD on the<br />

input clock, the <strong>Xilinx</strong>® software automatically derives a new PERIOD for each of the<br />

DCM/PLL/MMCM output clocks. In addition, the tools will automatically determine the<br />

clock relationships between the output clock domains, and automatically perform an<br />

analysis for any paths between these synchronous domains.<br />

Example<br />

In this example, the input clock goes to a DCM. The following figure shows the circuit<br />

for this example:<br />

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

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