Type: Answers

Area: EMIF

Area: Intellectual Property


IP Product: DDR3 SDRAM Controller MegaCore supporting UniPHY

What is the difference between Number of ranks per slot and Number of chip-selects per device/DIMM for DDR3 RDIMM and LRDIMM?

Description

For RDIMMs, a minimum of two chip select (CS) signals are required per RDIMM. This is necessary for RDIMM memory device programming. A single or dual rank RDIMM configuration will need two chip-selects while a quad rank RDIMM configuration will need four chip-selects.

For LRDIMMs, a minimum of two chip selects are needed for programming as well, but there is also a rank multiplication (RM) factor to consider for LRDIMMs. Rank multiplication is a programmable ratio between the number of physical ranks for an LRDIMM and the number of logical ranks for the controller. The number of logical ranks seen by the controller per slot is always 2 for UniPHY-based memory interfaces which is the same as Number of ranks per slot. The UniPHY-based memory controller supports the rank multiplication factor needed for LRDIMMs by increasing the row address bits. The Number of Chip-Selects per device/DIMM gets updated according to the number of extra row address bits.

An LRDIMM with 4 physical ranks will have a RM = 2, and the UniPHY-based memory interface’s cs[2] output will be logically driven by address[16].

An LRDIMM with 8 physical ranks will have an RM = 4, and the UniPHY-based memory interface’s cs[3:2] output will be logically driven by address[17:16].

Diagrams can be found on the Altera Wiki: DDR3 RDIMM & LRDIMM UniPHY IP.

Workaround/Fix

Use the following options when parameterizing your memory controller.

For the RDIMM memory format

Number of Slots Number of Ranks per Slot Number of Chip-Selects per device/DIMM
Single Slot 1 2
2 2
4 4
Dual Slot 1 2
2 2

For the LRDIMM memory format

Number of Slots Number of Physical Ranks Number of Ranks Per Slot Number of Chip-Selects per device/DIMM Row Address Width
Single Slot 4 2 3 17
8 2 4 18
Dual Slot 4 2 3 17
8 2 4 18

The dual slot configuration of UniPHY-based memory controller\'s interface to an LRDIMM will produce twice the number of chip-select ports than that of a single slot configuration.