English
Language : 

EP2S180F1020C4 Datasheet, PDF (306/768 Pages) Altera Corporation – Stratix II Device Handbook, Volume 1
Advanced Features
Table 1–15. altpll Megafunction Clock Switchover Signals (Part 2 of 2)
Port
activeclock(1)
Description
Signal to indicate which clock (0 =
PLL
inclk0, 1= inclk1) is driving the PLL.
Source
Destination
Logic array
Note for Table 1–15:
(1) These ports are only available for enhanced PLLs and in auto mode and when using automatic switchover.
f
All the switchover ports shown in Table 1–15 are supported in the
altpll megafunction in the Quartus II software. The altpll
megafunction supports two methods for clock switchover:
■ When selecting an enhanced PLL, you can enable both the automatic
and the manual switchover, making all the clock switchover ports
available.
■ When selecting a fast PLL, you can use only enable the manual clock
switchover option to select between inclk0 or inclk1. The
clkloss, activeclock and the clkbad0, and clkbad1 signals
are not available when manual switchover is selected.
If the primary and secondary clock frequencies are different, the
Quartus II software selects the proper parameters to keep the VCO within
the recommended frequency range.
For more information about PLL software support in the Quartus II
software, see the altpll Megafunction User Guide.
Guidelines
Use the following guidelines to design with clock switchover in PLLs.
■ When using automatic switchover, the clkswitch signal has a
minimum pulse width based on the two reference clock periods. The
CLKSWITCH pulse width must be greater than or equal to the period
of the current reference clock (tfrom_clk) multiplied by two plus the
rounded-up version of the ratio of the two reference clock periods.
For example, if tto_clk is equal to tfrom_clk, then the CLKSWITCH pulse
width should be at least three times the period of the clock pulse.
tCLKSWITCHCHmin  tfrom_clk  [2 + intround_up (tto_clk tfrom_clk)]
1–42
Stratix II Device Handbook, Volume 2
Altera Corporation
July 2009