DDR3 SDRAM in Stratix III Devices Design Flow
Page 17
© November 2008
Altera Corporation
AN 436: Using DDR3 SDRAM in Stratix III and Stratix IV Devices
■
■
“Top, Bottom, Left, Right, and Hybrid Device Sides”
■
■
“Address and Command, Clock, and Other Signals”
Memory controllers in Stratix III devices require access to dedicated IOE features,
PLLs, and several clock networks. Stratix III devices are feature rich in all of these
areas, so you must consider detailed resource and pin planning whenever
implementing complex IP or multiple IP cores. This section provides an overview of
what to consider in such instances.
f
For more information, refer to the
and the relevant IP user
guides.
Altera recommends that you create an example top-level design with the desired pin
outs and all interface IP instantiated, which enables the Quartus II software to
validate your design and resource allocation before PCB and schematic sign off.
As the structure of memory controllers varies considerably, this section uses the
ALTMEMPHY architecture, where appropriate.
Bandwidth
Before designing any memory interface, determine the required bandwidth of the
memory interface. Bandwidth can be expressed as shown in
and
.
After calculating the bandwidth requirements of your system, determine which
memory type and device to use. Altera has a memory selection white paper, which
highlights the differences between the memory types.
f
For information about selecting the different memory types, refer to the
Right High-Speed Memory Technology for Your System
white paper.
DRAM typically has an efficiency of around 70%, but when using the Altera memory
controller efficiency can vary from 10 to 92%.
In addition, Altera's FPGA devices support various data widths for different memory
interfaces. The memory interface support between density and package combinations
differs, so you must determine which FPGA device density and package combination
best suits your application.
Equation 1.
Bandwidth = data width (bits) × data rate transfer (1/s) × efficiency
Equation 2.
Data rate transfer (1/s) = 2 × frequency of operation