Dll configurations, Example design, Dll configurations –16 example design –16 – Altera DDR SDRAM Controller User Manual
Page 52

3–16
Chapter 3: Functional Description
Device-Level Description
DDR and DDR2 SDRAM Controller Compiler User Guide
© March 2009
Altera Corporation
DLL Configurations
For Stratix series designs, IP Toolbench creates an instance of a DLL, which is
configured to match your controller. The DLL generates the 90
° phase shift on the
DQS edges that capture the read data.
On Stratix devices, the reference clock is driven off the device and fed back into the
DLL reference clock inputs (refer to
). If you turn on Insert
logic to allow the DLL to update only during the memory refresh period
, the
controller generates a control signal, stratix_dll_control, which can enable the
DLL reference clock only while the controller is issuing refresh commands to the
memory.
On Stratix II devices, the DLL reference clock is fed directly from an enhanced PLL.
For an interface that is only on one side of the Stratix II device, the DLL automatically
generates a control signal, dqsupdate, to the DQS pins on the same side telling them
when it is safe to update their delay value. If your interface spans two sides of the
device, the controller can generate a control signal, stratix_dll_control, to only
allow the 6-bit control signal to each DQS pin to update only while the controller is
issuing refresh commands to the memory. Turning on Insert logic to allow the DLL
to update only during the memory refresh period
causes the extra logic to be
inserted and should only be turned on if your interface spans two sides of the device.
Turning on this feature on a single sided interface is not required, because the DLL
controls the updates.
shows the DLL signals.
Example Design
IP Toolbench creates an example design that shows you how to instantiate and
connect up the DDR or DDR2 SDRAM controller. The example design consists of the
DDR or DDR2 SDRAM controller, some driver logic to issue read and write requests
to the controller, up to two PLLs to create the necessary clocks and a DLL (Stratix
series only). The example design is a working system that can be compiled and used
for both static timing checks and board tests.
Table 3–4. DLL Signals
Signal
Description
clk
The reference clock, which comes either from an external pin in Stratix devices or
from an enhanced PLL output in Stratix II devices.
reset_n
The reset input.
delayctrlout
The 6-bit output, which controls the value of the delay chain on the DQS inputs.
stratix_dll_control
The control signal from the controller, which is available if you turn on Insert
logic to allow the DLL to update only during the memory refresh period. It
controls when the 6-bit control value to DQS pins updates. On Stratix devices
stratix_dll_control
disables the clock output.
dqsupdate
A DLL-generated control signal that controls when the 6-bit control value to DQS
pins updates, if the interface is only on one side of the device.
Note to
(1) Stratix II devices only.