DDR2 SDRAM Controller - Pipelined

The Double Data Rate (DDR) Synchronous Dynamic Random Access Memory (SDRAM) Controller is a general-purpose memory controller that interfaces with industry standard DDR2 SDRAM. The memory controller provides a generic command interface to the user's application. This interface reduces the effort to integrate the module with the remainder of the application and minimizes the need to deal with the DDR2 SDRAM command interface. The timing parameters for the memory can be set through the signals that are input to the core as part of the configuration interface. This enables switching between different memory devices and modification of timing parameters to suit the application using the same netlist.

Features

  • Interfaces to Industry Standard DDR2 SDRAM
  • High-Performance DDR2 533/400/333/266/200/133 operation
  • Programmable Burst Lengths of 4 or 8
  • Programmable CAS Latency of 3, 4, 5 or 6 Cycles
  • Intelligent Bank Management to Minimize ACTIVE Commands
  • Supports All Standard DDR Commands
  • Synchronous Implementation for Reliable Operation
  • Command Pipeline to Maximize Throughput
  • Up to 4 chip selects for multiple DIMM support
  • Supports all Common Memory Configurations
    • SDRAM data path widths of 8, 16, 32, 64 and 72 bits
    • Variable address widths for different memory devices
    • Programmable timing parameters
    • Byte level writing through Data Mask signals
    • Burst termination

The DDR2 SDRAM Controller - Pipelined is available as an IPexpress user configurable IP core, which allows the configuration of the IP and generation of a netlist and simulation file for use in designs. Please note that generating a bitstream may be prevented or the bitstream may have time logic present unless a license for the IP is purchased.

Block Diagram

Performance and Size

LatticeECP31
Parameter Settings2 SLICEs LUTs Registers I/O fMAX (MHz)3
User Guide Table 3-1 parameter defaults 1189 1386 1567 258 266 MHz (533 DDR2)

1. Performance and utilization characteristics are generated using LFE3-95E-8FN1156CES with Lattice ispLEVER 8.1 software in DDR2 mode. Performance may vary when using this IP core in a different density, speed or grade within the LatticeECP3 family.
2. SDRAM data path width of 32 bits.
3. The DDR2 IP core can operate at 266 MHz (533 DDR2) in the fastest speed-grade (-8) when the data width is 64 bits or less and 2 or fewer chip selects are used. For help with designs running at 266 MHz, contact your local sales office.

LatticeECP2M/S1
Parameter Settings2 SLICEs LUTs Registers I/O fMAX (MHz)3
User Guide Table 3-1 parameter defaults 1234 1435 1530 258 266 MHz (533 DDR2)

1. Performance and utilization characteristics are generated using LFECP2M-35E-6F672C with Lattice ispLEVER 8.1 software in DDR2 mode. Performance may vary when using this IP core in a different density, speed or grade within the LatticeECP2M/S family.
2. SDRAM data path width of 32 bits.
3. The DDR2 IP core can operate at 266 MHz (533 DDR2) in the fastest speed-grade (-7) when the data width is 64 bits or less and 2 or fewer chip selects are used. For help with designs running at 266 MHz, contact your local sales office.

LatticeECP2/S1
Parameter Settings2 SLICEs LUTs Registers I/O fMAX (MHz)3
User Guide Table 3-1 parameter defaults 1234 1435 1530 258 266 MHz (533 DDR2)

1. Performance and utilization characteristics are generated using LFECP2-50E-6F672C Lattice ispLEVER 8.1 software in DDR2 mode. Performance may vary when using this IP core in a different density, speed or grade within the LatticeECP2/S family.
2. SDRAM data path width of 32 bits.
3. The DDR2 IP core can operate at 266 MHz (533 DDR2) in the fastest speed-grade (-7) when the data width is 64 bits or less and 2 or fewer chip selects are used. For help with designs running at 266 MHz, contact your local sales office.

LatticeSC/M1
Parameter Settings2 SLICEs LUTs Registers I/O fMAX (MHz)
User Guide Table 3-1 parameter defaults 1261 1490 1530 246 266 MHz (533 DDR2)

1. Performance and utilization characteristics are generated using LFSC3GA25E-6F900C Lattice ispLEVER 8.1 software in DDR2 mode. Performance may vary when using this IP core in a different density, speed or grade within the LatticeSC/M family.
2. SDRAM data path width of 32 bits.

MachXO21
Parameter Settings2 SLICEs LUTs Registers I/O fMAX (MHz)
User Guide Table 3-1 parameter defaults 704 1325 1118 152 133 MHz (266 DDR2)

1. Preliminary information. Performance and utilization characteristics are generated using LCMXO2-2000HC-6FTG256CES in ispLEVER 8.1 software. Performance may vary when using this IP core in a different density, speed or grade within the MachXO2 family.
2. SDRAM data path width of 16 bits.

LatticeXP21
Parameter Settings2 SLICEs LUTs Registers I/O fMAX (MHz)
User Guide Table 3-1 parameter defaults 1232 1433 1530 258 200 MHz (400 DDR2)

1. Performance and utilization characteristics are generated using LFXP2-17E-6F484C Lattice ispLEVER 8.1 software in DDR2 mode. Performance may vary when using this IP core in a different density, speed or grade within the LatticeXP2 family.
2. SDRAM data path width of 32 bits.

Ordering Information

Family Part Number
LatticeECP3 DDR2-P-E3-U6
LatticeECP2M/S DDR2-P-PM-U6
LatticeECP2/S DDR2-P-P2-U6
LatticeSC/M DDR2-P-SC-U6
MachXO2 DDR2CTWB-M2-U
LatticeXP2 DDR2-P-X2-U6

IP Version: 7.2.

Evaluate: To download a full evaluation version of this IP, go to the IPexpress tool and click the IP Server button in the toolbar. All LatticeCORE IP cores and modules available for download will be visible. For more information on viewing/downloading IP please read the IP Express Quick Start Guide.

Purchase: To find out how to purchase the IP Core, please contact your local Lattice Sales Office.

Documentation

Quick Reference Information Resources Downloads
TITLE NUMBER VERSION DATE FORMAT SIZE
DDR & DDR2 SDRAM Controller- Pipelined (MachXO2) IP Core User's Guide
ipug93 1.2 3/20/2015 PDF 3.5 MB
DDR/DDR2 SDRAM Controller - Pipelined User's Guide
Same manual for DDR1 and DDR2 cores.
IPUG35 05.0 2/13/2012 PDF 3.9 MB
DDR2 Demo for the LatticeECP3 Serial Protocol Board
Describes the DDR2 Demo for use with the LatticeECP3 Serial Protocol Board.
UG49 5/22/2013 PDF 346 KB
TITLE NUMBER VERSION DATE FORMAT SIZE
IPexpress Quick Start Guide
8/5/2010 PDF 304.8 KB
TITLE NUMBER VERSION DATE FORMAT SIZE
DDR2 Demo for the LatticeECP3 Serial Protocol Board - demo files
Demo source files for the DDR2 Demo, for use with the LatticeECP3 Serial Protocol Board
5/22/2013 ZIP 582.7 KB