beautypg.com

Altera DDR SDRAM Controller User Manual

Page 50

background image

3–14

Chapter 3: Functional Description

Device-Level Description

DDR and DDR2 SDRAM Controller Compiler User Guide

© March 2009

Altera Corporation

For Stratix II devices, if you turn on the Use fed-back clock option and the Enable
DQS mode

option, you enable fed-back resynchronization, which uses a fed-back

clock to resynchronize the data captured by the DQS signal (refer to

Figure A–2 on

page A–6

). An additional resynchronization phase created by the main PLL transfers

the data back to the system clock.

Turning off Enable DQS mode enables fed-back capture mode. This mode uses a
fed-back clock to capture the read data and does not use the DQS strobe for capture
(refer to

Figure A–4 on page A–8

). A resynchronization phase from the system PLL is

required to safely transfer the captured data to system clock phase. This mode offers
lower performance than fed-back resynchronization, but allows greater flexibility in
your choice of pins for DQ and DQS.

Figure 3–8 on page 3–14

shows the recommended configuration for Stratix II devices.

f

For more information on non-DQS mode, refer to

Figure A–2 on page A–6

and

Figure A–4 on page A–8

.

Figure 3–9 on page 3–15

shows the recommended configuration for Stratix and

Stratix GX devices.

1

The dqs_ref_clk input for Stratix or Stratix GX devices can be either fed-back from
the clock output driving the SDRAM or a separate clock output from the PLL. The
phase of dqs_ref_clk relative to the other clocks in the system is unimportant. The
controller switches off this input during reads, if you turn on Switch off Stratix DLL
reference clock during reads

(refer to

“Manual Timing Settings” on page A–1

).

Figure 3–8. Stratix II PLL Configuration

(Note 1)

Note to

Figure 3–8

:

(1) In most cases, clk or write_clk are used as the resynchronization and postamble clocks, therefore you need not use a separate clock output

from the PLL.

Optional

Fed-Back Clock

PLL

Note 1

Stratix II De

v

ice

DDR SDRAM

clk_to_sdram_n

clk_to_sdram

fedback_clock_out

DDR SDRAM
Controller

altddio

altddio

altddio

clock_source

Enhanced PLL

clk

write_clk

resynch_clk or

capture_clk

postamble_clk

C0

C1

C2

C3

Stratix II DLL

This manual is related to the following products: