English
Language : 

EP2AGX95EF29C6N Datasheet, PDF (149/380 Pages) Altera Corporation – Device Interfaces and Integration
Chapter 5: Clock Networks and PLLs in Arria II Devices
PLLs in Arria II Devices
5–41
switchover between the frequencies of operation. You must choose the backup clock
frequency and set the m, n, c, and k counters accordingly so the VCO operates in the
recommended operating frequency range of 600 to 1,600 MHz. The ALTPLL
MegaWizard Plug-In Manager interface notifies you if a given combination of inclk0
and inclk1 frequencies cannot meet this requirement.
Figure 5–36 shows an example waveform of the switchover feature when controlled
by the clkswitch signal. In this case, both clock sources are functional and inclk0 is
selected as the reference clock. The clkswitch signal goes high, which starts the
switchover sequence. On the falling edge of inclk0, the counter’s reference clock
(muxout) is gated off to prevent clock glitching. On the falling edge of inclk1, the
reference clock multiplexer switches from inclk0 to inclk1 as the PLL reference and
the activeclock signal changes to indicate which clock is currently feeding the PLL.
Figure 5–36. Clock Switchover with the clkswitch (Manual) Control for Arria II Devices (Note 1)
inclk0
inclk1
muxout
clkswitch
activeclock
clkbad0
clkbad1
Note to Figure 5–36:
(1) To start a manual clock switchover event, both inclk0 and inclk1 must be running when the clkswitch signal goes high.
In automatic switchover with manual override mode, the activeclock signal mirrors
the clkswitch signal. As both clocks are still functional during the manual switch,
neither clkbad signal goes high. Because the switchover circuit is positive-edge
sensitive, the falling edge of the clkswitch signal does not cause the circuit to switch
back from inclk1 to inclk0. When the clkswitch signal goes high again, the process
repeats. The clkswitch signal and automatic switch only work if the clock being
switched to is available. If the clock is not available, the state machine waits until the
clock is available.
July 2012 Altera Corporation
Arria II Device Handbook Volume 1: Device Interfaces and Integration