68
Virtex-5 FPGA User Guide
UG190 (v5.0) June 19, 2009
Chapter 2:
Clock Management Technology
Only when feedback is provided to the CLKFB input of the DCM is the frequency
synthesizer output phase aligned to the clock output, CLK0.
The internal operation of the frequency synthesizer is complex and beyond the scope of
this document. As long as the frequency synthesizer is within the range specified in the
Virtex-5 FPGA Data Sheet
, it multiplies the incoming frequencies by the pre-calculated
quotient M ÷ D and generates the correct output frequencies.
For example, assume an input frequency of 50 MHz, M = 25, and D = 8 (M and D values do
not have common factors and cannot be reduced). The output frequency is 156.25 MHz
although separate calculations, 25 x 50 MHz = 1.25 GHz and 50 MHz ÷ 8 = 6.25 MHz,
seem to produce separate values outside the range of the input frequency.
Frequency Synthesizer Characteristics
•
The frequency synthesizer provides an output frequency equal to the input frequency
multiplied by M and divided by D.
•
The outputs CLKFX and CLKFX180 always have a 50/50 duty-cycle.
•
Smaller M and D values achieve faster lock times. Whenever possible, divide M and D
by the largest common factor to get the smallest values. (e.g., if the required
CLKFX = 9/6 x CLKIN, instead of using M = 9 and D = 6, use M = 3 and D = 2.)
•
When CLKFB is connected, CLKFX is phase aligned with CLK0 every D cycles of
CLK0 and every M cycles of CLKFX if M/D is a reduced fraction.
Phase Shifting
The DCM provides coarse and fine-grained phase shifting. For coarse-phase control, the
CLK0, CLK90, CLK180, and CLK270 outputs are each phase-shifted by ¼ of the input clock
period relative to each other. Similarly, CLK2X180 and CLKFX180 provide a 180° coarse
phase shift of CLK2X and CLKFX, respectively. The coarse phase-shifted clocks are
produced from the delay lines of the DLL circuit. The phase relationship of these clocks is
retained when CLKFB is not connected.
Fine-grained phase shifting uses the CLKOUT_PHASE_SHIFT and PHASE_SHIFT
attributes to phase-shift DCM output clocks relative to CLKIN. Since the CLKIN is used as
the reference clock, the feedback (CLKFB) connection is required for the phase-shifting
circuit to compare the incoming clock with the phase-shifted clock. The rest of this section
describes fine-grained phase shifting in the Virtex-5 FPGA DCM.
Phase-Shifting Operation
All nine DCM output clocks are adjusted when fine-grained phase shifting is activated.
The phase shift between the rising edges of CLKIN and CLKFB is a specified fraction of the
input clock period or a specific amount of DCM_TAP. All other DCM output clocks retain
their phase relation to CLK0.
Phase-Shift Range
The allowed phase shift between CLKIN and CLKFB is limited by the phase-shift range.
There are two separate phase-shift ranges:
•
PHASE_SHIFT attribute range
•
FINE_SHIFT_RANGE DCM timing parameter range
Summary of Contents for Virtex-5 FPGA ML561
Page 1: ...Virtex 5 FPGA User Guide UG190 v5 0 June 19 2009 ...
Page 8: ...Virtex 5 FPGA User Guide www xilinx com UG190 v5 0 June 19 2009 ...
Page 20: ...20 www xilinx com Virtex 5 FPGA User Guide UG190 v5 0 June 19 2009 ...
Page 24: ...24 www xilinx com Virtex 5 FPGA User Guide UG190 v5 0 June 19 2009 Preface About This Guide ...
Page 172: ...172 www xilinx com Virtex 5 FPGA User Guide UG190 v5 0 June 19 2009 Chapter 4 Block RAM ...