External Memory Interfaces
Phase Lock Loop (PLL)
When using the Cyclone II I/O banks to interface with the DDR memory,
at least one PLL with two outputs is needed to generate the system clock
and the write clock. The system clock generates the DQS write signals,
commands, and addresses. The write clock shifts by –90° from the system
clock and generates the DQ signals during writes.
Clock Delay Control
Clock delay control circuit on each DQS pin allows a phase shift that
center-aligns the incoming DQS signals within the data window of their
corresponding DQ data signals. The phase-shifted DQS signals drive the
global clock network. This global DQS signal then clocks the DQ signals
on internal LE registers. The clock delay control circuitry is used during
the read operations where the DQS signals are acting as input clocks or
strobes.
Figure 9–8 illustrates DDR SDRAM interfacing from the I/O pins
through the dedicated circuitry to the logic array.
Figure 9–8. DDR SDRAM Interfacing
DQS
DQ
LE
Register
LE
Register
OE
OE
t
Adjacent LAB LEs
LE
LE
Register
Register
LE
Register
LE
Register
V
DataA
DataB
LE
Register
LE
Register
CC
LE
Register
LE
Register
LE
Register
LE
Register
LE
Register
GND
clk
Clock Delay
Control Circuitry
PLL
Global Clock
en/dis
-90˚ Shifted clk
Resynchronizing
to System Clock
Clock Control
Block
Dynamic Enable/Disable
Circuitry
ENOUT
ena_register_mode
Figure 9–1 on page 9–4 shows an example where the DQS signal is shifted
by 90°. The DQS signal goes through the 90° shift delay set by the clock
delay control circuitry and global clock routing delay from the clock delay
control circuitry to the DQ LE registers. The DQ signals only goes through
routing delays from the DQ pin to the DQ LE registers. The delay from
Altera Corporation
February 2007
9–15
Cyclone II Device Handbook, Volume 1