Chapter 5: Clock Networks and PLLs in Arria II Devices
5–39
PLLs in Arria II Devices
December 2010
Altera Corporation
Arria II Device Handbook Volume 1: Device Interfaces and Integration
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.
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.
In automatic switchover with manual overide 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.
Figure 5–32. Clock Switchover with the clkswitch (Manual) Control for Arria II Devices
Note to
:
(1) To start a manual clock switchover event, both
inclk0
and
inclk1
must be running when the
clkswitch
signal goes high.
inclk0
inclk1
muxout
clkswitch
activeclock
clkbad0
clkbad1