Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
литература / Spartan-6 FPGA Clocking Resources.pdf
Скачиваний:
0
Добавлен:
13.05.2026
Размер:
3.31 Mб
Скачать

Chapter 2: Clock Management Technology

VIDEO_LINK_M0, VIDEO_LINK_M1, and VIDEO_LINK_M2 are selected to cover typical pixel clock frequencies. VIDEO_LINK_M0 has the fastest modulation frequency response to help compensate for the higher periods associated with 20 MHz pixel clocks. Actual modulation frequency depends on the SSCLKGEN setup. VIDEO_LINK_M1 is slower and VIDEO_LINK_M2 is the slowest.

Pixel clock frequencies of CLKFX_MULTIPLY = 7, CLKFX_DIVIDE = 2 are used when the maximum CLKOUT_FREQ_FX is maintained. For higher pixel clock frequencies, DCM_CLKGEN must be changed to CLKFX_MULTIPLY = 7 and CLKFX_DIVIDE = 4 to compensate for the PLL addition. See Figure 2-19. This slows down the modulation frequency requiring VIDEO_LINK_M1.

DCM_CLKGEN

CLKIN

 

CLKIN

CLKFX

 

 

 

RST

CLKFX180

 

 

PROGCLK

CLKFXDV

 

 

PROGEN

LOCKED

 

 

PROGDATA STATUS[2:1]

 

 

FREEZEDCM

PROGDONE

CLKFX_MULTIPLY = 7; CLKFX_DIVIDE = 4; SPREAD_SPECTRUM = [VIDEO_LINK_M0 / VIDEO_LINK_M1 / VIDEO_LINK_M2]

PLL_BASE

CLKIN CLKOUT0

CLKOUT1

CLKFBIN CLKOUT2

RST CLKOUT3

CLKOUT4

CLKOUT5

CLKFBOUT

LOCKED

BUFPLL

GCLK

PLLIN

BUFG

LOCKED

DIVCLK_DIVIDE = 1; CLKFBOUT_MULT = 4;

LOCK

IOCLK

SERDESSTROBE

ug382_c2_13_120809

Figure 2-19: VIDEO_LINK Setup for Downspread Spread Spectrum (when FIN > 107 MHz)

Free-Running Oscillator

The DCM_CLKGEN can be used to generate a clock source by tieing the LOCKED output pin to the FREEZEDCM input pin. The DCM requires a kick-start in this mode; instead of an always running clock, any oscillating signal can be used until the DCM has LOCKED. Figure 2-20 illustrates an example.

CLKFX_MULTIPLY = ?

CLKFX_DIVIDE = ?

DCM_CLKGEN

FPGA

CLKIN

Control Logic

 

CLKFX

Keeps toggling at a

steady and fixed

rate until LOCK is FREEZEDCM

achieved.

LOCKED

CLKFX_MULTIPLY

FCLKFX = FCLKIN x

CLKFX_DIVIDE

UG382_c2_14_120809

Figure 2-20: Setup of a Free-Running Oscillator

88

Send Feedback

 

www.xilinx.com

Spartan-6 FPGA Clocking Resources

 

UG382 (v1.10) June 19, 2015

DCM_CLKGEN Design Guidelines

For a deterministic frequency output on the CLKFX pin, the CLKIN must keep toggling at a steady rate until the DCM has achieved LOCKED. After that, the CLKIN no longer needs to be present and can be removed.

The DCM_CLKGEN will continue to run at the same frequency. If temperature or voltage levels fluctuate, the frequency can vary. Adjust timing constraints to reflect the highest frequency within the frequency drift. When a new clock input is applied, RESET must be asserted.

Spartan-6 FPGA Clocking Resources www.xilinx.com 89

UG382 (v1.10) June 19, 2015

Send Feedback

 

Chapter 2: Clock Management Technology

90

Send Feedback

 

www.xilinx.com

Spartan-6 FPGA Clocking Resources

 

UG382 (v1.10) June 19, 2015