Background
Page 5
© November 2008
Altera Corporation
AN 436: Using DDR3 SDRAM in Stratix III and Stratix IV Devices
■
Differential DQS mode
■
Read and write leveling circuitry
■
Dynamic on-chip termination (OCT) control
To use these features you should use the Altera DDR3 SDRAM high-performance
controller (a complete solution) or the Altera ALTMEMPHY megafunction (for a fully
configured PHY that requires an additional custom or third-party memory controller).
Alternatively, you may access these IOE features directly via the following low-level
megafunctions:
■
ALTDQ_DQS megafunction—allows you to parameterize the following features:
■
DDR
■
alignment and synchronization
■
half data rate
■
DQS mode
■
ALTDLL megafunction—allows you to parameterize the DQS phase-shift circuitry
■
ALTOCT megafunction—allows you to parameterize the IOE OCT features
■
ALTPLL megafunction—allows you to parameterize the device PLL
■
ALTIOBUF megafunction—allows you to parameterize the device IO
Device Pin Utilization
shows the DDR3 SDRAM interface pins and how to connect them to Stratix III
pins.
Table 3.
Stratix III DDR3 SDRAM Interface Pin Utilization
(Part 1 of 2)
Pin
Pin Planner Symbol
Stratix III Pin
mem_dq
Q
DQ
.
mem_dm
Q
DQ
within the respective DQ group. Each DQ group has a
common background color for all of the associated
DQ
and
DM
pins.
Differential
mem_dqs
or
mem_dqsn
S or Sbar
DQS
or
DQSn
.
mem_clk[0]
or
mem_clk_n[0]
—
Any unused
DQ
or
DQS
pins with
DIFFIO_RX
capability.
mem_clk[n:1]
or
mem_clk_n[n:1]
—
Any unused
DQ
or
DQS
pins with
DIFFOUT
capability
(where n is greater than or equal to 1).
ALTMEMPHY-based solutions support only single rank
designs:
■
Only the first rank is initialized (other ranks may have
a different CAC mapping in DDR3 SDRAM).
■
Only the first rank is calibrated to, so exact timing
requirements for other ranks may be different.