Article may be outdated

This article is 7 days old. Some details may have changed since publication.

Hacker News·5 min read·hard

The DRAM interface and the PHY (why a DDR3+ interface must be tuned at boot)

P
peter_d_sherman
The DRAM interface and the PHY (why a DDR3+ interface must be tuned at boot)
✦AI Summary

This technical article explains the complexities of the DRAM interface, specifically focusing on why tuning is required at boot for DDR3+ systems. It details the signal paths, byte lanes, and the role of the DQS strobe in ensuring data is sampled correctly between the FPGA and memory.

Why it matters

Understanding these low-level hardware synchronization mechanisms is essential for engineers working on high-performance computing and memory controller design.

✦Dive DeeperCreate a free account to unlock

This chapter explains what happens on the wires between the FPGA and the DRAM, and why a DRAM interface must be tuned at boot. It covers the signals, the strobes, the board topology, the leveling procedures, the termination and the reference voltages, then the clocks of the FPGA and the DFI interface between the controller and the PHY.

Each section ends with the part of LiteDRAM that implements the mechanism. The previous chapter, DRAM in a nutshell , explained the commands and the timings; Initialization and calibration gives the exact steps the BIOS runs.

A DRAM interface has two halves. The command and address half goes one way, from the controller to the DRAM, and is shared by every chip of a rank. The data half is bidirectional and split into byte lanes , each with its own strobe. The figure below shows the signals.

Continue reading on Headlinne

Create a free account to read the full article.

Read full article →
technologyscience
✦

Get smarter about the news

Sign up free for a feed built around what you actually care about, Dive Deeper research on any story, and the full text of every article.

Create free account

Already have an account? Sign in