AI LEE KUAN

Don’t Take the Leap of Faith – Learn All You Need About DDR4 to Prepare for DDR5

Blog Post created by AI LEE KUAN Employee on Jun 21, 2018

Get the most benefit from your DDR4 and next generation memory designs

 

DDR4 DRAM technology with fast data rates of 1600 MT/s and higher forced the industry to adopt high speed serial interface testing methodologies. Traditional setup and hold time tests are now replaced with eye diagrams and mask tests to account for bit error rate. Many DDR4 designers are still spending a lot of time trying to understand the specification and translate them into measurement methodologies. DDR5 is the next generation memory after DDR4, offering speeds up to 6.4 GT/s, and DDDR5 will present more design and testing challenges than DDR4. Learn how to better understand the DDR4 specification and its testing methodologies to help prepare yourself for the migration to DDR5.

 

When to Take the Leap - The Technology

There are many factors that drive technology migration. It helps to know the technology availability, the application, the speed, and the power requirement. There are three classes of volatile memory that are optimized for the different classes of applications – computer/server, graphics, and mobile applications. DDR4 is designed for the computing and server industry and has been around for quite some time with the fastest defined speed at 3.2 GT/s. JEDEC is currently working on the next-generation DDR memory, DDR5, to fulfil the request for faster data rates. It is anticipated that DDR5 will be able to operate up to 6.0 GT/s or higher. Graphics memory has the highest operating speed now at above 5.0 GT/s. GDDR6 is the latest graphics memory technology. The last class of volatile memory is the mobile DRAM, which is dominated by low power DRAM using DDR technology. LPDDR4 speed now surpasses DDR4 speed at 4.2 GT/s.

 

DDR technology trend.

Figure 1. DDR technology trend.

 

DDR4 Specification and Measurement Methods

JEDEC DRAM specifications are defined at the balls of the DRAM package. This is very different than other high-speed serial interfaces. For the longest time, DDR technology has adopted conservative design specifications. DDR technology uses a bi-directional, singled-ended, parallel bus. The specification is written to focus on interconnect and signal integrity characteristics with negative margin for timing budget. The industry over designs the parts to account for the negative timing margin.

 

One of the new measurements in DDR4 specification is receiver input masks. This one test would replace the traditional setup and hold time test. Memory timing specifications for previous DDR technologies like DDR2 and DDR3 were based on assumptions that the data capture will be error free if the data setup and hold time meet the specification. Lower data transfer rates in DDR2 and DDR3 have worked with these assumptions. This is not true for DDR4. DDR4 reflects the fact that random jitter and bit error rate are important parts of the specification, and changes have been made to the specification to help address these issues. Additionally, the specification now includes noise considerations such as the effect of noise-reducing eye openings. With all these specifications added to the standard, the lost margin can now be regained, and designers now can simplify their design and reduce design cycles, ultimately saving cost.

 

DDR4 receiver input mask.

Figure 2. DDR4 receiver input mask.

 

The Next Generation Memory

As previously mentioned, the next-generation DDR memory is anticipated to have data rates up to 6.5 GT/s. A potential consequence of running at these speeds is that the data eye could be closed at the receiver. This behavior is observed with other high-speed serial interfaces, such as PCI Express Gen 3. PCI Express Gen 3 implemented equalization on the receiver to open the eye for measurement and de-emphasis on the receiver side. The same methodology can be applied to DDR5 technology with several modifications. Memory is crosstalk dominant unlike PCIE, which is loss dominant. Memory is a single-ended, parallel bus and not a differential serial bus. The data bits in the DDR memory are not aligned. There is also no loopback mode in DDR4, so there is no way to perform receiver test. In DDR5, the receiver would need to tune itself via the training mode to minimize bit error rate. The specification describes what happens at the ball of the device. If you have an equalizer, the specification is written at the output of the equalizer, which is inside the DRAM die. You don’t know if you have an open eye in the die because you can’t probe inside the die directly. Hence, there is no eye mask specification at the ball. The eye would need to be opened using a decision feedback equalizer. The specification would model the impulse response of the channel. A decision feedback equalizer would back away impulse response effects of the channel, which would generate inter-symbol interference. These DDR5 measurements can be made using an oscilloscope with BER contour extrapolation. A loopback signal inside the memory would be required to figure out the receiver mask the memory would require.

 

Putting it All Together

Key components are required to ensure success of implementing DDR5 memory designs. Test equipment like oscilloscopes and bit error rate testers could help with some of the measurement challenges. Being able to make the measurements accurately would require advanced BGA probing capabilities, as the DRAM package is a BGA component. Parasitic loading is a big challenge to overcome when probing these high-speed buses. Early design stages could benefit from using modern simulation tools to model and optimize the system design. Power measurements are also a challenge, and the specification itself is not clear on how much noise is allowed in the power rail.

 

In summary, understanding the technology and specification helps you explore the best options for your design implementation. DDR4 memory is the first technology to adopt the receiver input mask concept. Understanding this concept allows you to quickly make meaningful measurements to ensure that the design works. DDR5 memory is the most advanced memory technology in its class. Measurement challenges associated with this new technology can be addressed using high-speed serial standard measurement techniques like equalization. A well-thought-out approach to the measurement requirement will enable high confidence in your memory system design.

Outcomes