English
Language : 

EP4CE30F29C7N Datasheet, PDF (102/488 Pages) Altera Corporation – Cyclone IV Device Handbook, Volume 1
5–40
Chapter 5: Clock Networks and PLLs in Cyclone IV Devices
PLL Reconfiguration
Table 5–12. Dynamic Phase Shifting Control Signals (Part 2 of 2)
Signal Name
Description
Source
Destination
scanclk
phasedone
Free running clock from core used in
combination with phasestep to enable or
disable dynamic phase shifting. Shared with
scanclk for dynamic reconfiguration.
When asserted, it indicates to core logic that
the phase adjustment is complete and PLL is
ready to act on a possible second adjustment
pulse. Asserts based on internal PLL timing.
De-asserts on the rising edge of scanclk.
GCLK or I/O pins
PLL reconfiguration
circuit
PLL
reconfiguration
circuit
Logic array or
I/O pins
Table 5–13 lists the PLL counter selection based on the corresponding
PHASECOUNTERSELECT setting.
Table 5–13. Phase Counter Select Mapping
phasecounterselect
[2]
[1]
[0]
0
0
0
0
0
1
0
1
0
0
1
1
1
0
0
1
0
1
1
1
0
Selects
All Output Counters
M Counter
C0 Counter
C1 Counter
C2 Counter
C3 Counter
C4 Counter
To perform one dynamic phase-shift, follow these steps:
1. Set PHASEUPDOWN and PHASECOUNTERSELECT as required.
2. Assert PHASESTEP for at least two SCANCLK cycles. Each PHASESTEP pulse allows one
phase shift.
3. Deassert PHASESTEP after PHASEDONE goes low.
4. Wait for PHASEDONE to go high.
5. Repeat steps 1 through 4 as many times as required to perform multiple phase-
shifts.
PHASEUPDOWN and PHASECOUNTERSELECT signals are synchronous to SCANCLK and must
meet the tsu and th requirements with respect to the SCANCLK edges.
1 You can repeat dynamic phase-shifting indefinitely. For example, in a design where
the VCO frequency is set to 1,000 MHz and the output clock frequency is set to
100 MHz, performing 40 dynamic phase shifts (each one yields 125 ps phase shift)
results in shifting the output clock by 180°, in other words, a phase shift of 5 ns.
Cyclone IV Device Handbook,
Volume 1
October 2012 Altera Corporation