English
Language : 

EP2AGX95EF29C6N Datasheet, PDF (233/380 Pages) Altera Corporation – Device Interfaces and Integration
Chapter 7: External Memory Interfaces in Arria II Devices
Arria II External Memory Interface Features
7–31
Figure 7–20 shows the DQS phase-shift circuitry for Arria II devices. The input
reference clock goes into the DLL to a chain of up to 16 delay elements. The phase
comparator compares the signal coming out of the end of the delay chain block to the
input reference clock. The phase comparator then issues the upndn signal to the
Gray-coded counter. This signal increments or decrements a 6-bit delay setting (DQS
delay settings) that increases or decreases the delay through the delay element chain
to bring the input reference clock and the signals coming out of the delay element
chain in phase.
Figure 7–20. Simplified Diagram of the DQS Phase-Shift Circuitry for Arria II Devices (Note 1)
Input Reference
Clock (2)
DLL
aload
clk
upndnin
Phase
Up/Down
Comparator upndninclkena Counter
offsetdelayctrlout [5:0]
Delay Chains
offsetdelayctrlout [5:0]
6
delayctrlout [5:0]
addnsub
Phase offset settings
from the logic array
( offset [5:0] )
6
Phase
Offset
6
Control
offsetdelayctrlin [5:0]
A
(dll_offset_ctrl_a)
(offsetctrlout [5:0])
DLL0 phase offset
settings to top and right
side, DLL1 phase offset
settings to bottom side of
the device (3)
addnsub
Phase offset settings
from the logic array ( offset [5:0] )
6
Phase
Offset
Control
B
6
offsetdelayctrlin [5:0]
(dll_offset_ctrl_b)
(offsetctrlout [5:0])
DLL0 phase offset
settings to bottom side,
DLL1 phase offset settings
to right and top side of the
device (3)
DQS Delay
6
Settings (4)
6
dqsupdate
Notes to Figure 7–20:
(1) All features of the DQS phase-shift circuitry are accessible from the UniPHY IP core and ALTMEMPHY megafunction in the Quartus II software.
(2) The input reference clock for the DQS phase-shift circuitry can come from a PLL output clock or an input clock pin. For the exact PLL and input
clock pin, refer to Table 7–6 and Table 7–10.
(3) Phase offset settings can only go to the DQS logic blocks.
(4) DQS delay settings can go to the logic array and DQS logic block.
You can reset the DLL from either the logic array or a user I/O pin. Each time the DLL
is reset, you must wait for 1,280 clock cycles for the DLL to lock before you can
capture the data properly.
Depending on the DLL frequency mode, the DLL can shift the incoming DQS signals
by 0°, 22.5°, 30°, 36°, 45°, 60°, 67.5°, 72°, 90°, 108°, 120°, 135°, 144°, 180°, or 240°. The
shifted DQS signal is then used as the clock for the DQ IOE input registers.
All DQS/CQ and CQn pins, referenced to the same DLL, can have their input signal
phase shifted by a different degree amount but all must be referenced at one
particular frequency. For example, you can have a 90° phase shift on DQS1T and a 60°
phase shift on DQS2T, referenced from a 200-MHz clock. Not all phase-shift
combinations are supported. The phase shifts on the DQS pins referenced by the same
DLL must all be a multiple of 22.5° (up to 90°), 30° (up to 120°), 36° (up to 144°), 45°
(up to 180°), or 60° (up to 240°).
June 2011 Altera Corporation
Arria II Device Handbook Volume 1: Device Interfaces and Integration