# Why Every DDR3+ Interface Must Be Tuned at Boot

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

> Hacker News story 50447900 · language: en · submitted 2026-11-10
> Web version: https://zeli.app/story/50447900
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 25 · by [peter_d_sherman](<https://news.ycombinator.com/user?id=peter_d_sherman>) · 💬 3
[original](<https://github.com/enjoy-digital/litedram/blob/master/doc/manual/03_dram_interface.md>) · [HN discussion](<https://news.ycombinator.com/item?id=50447900>)

## Summary

The DRAM interface splits into a shared command/address bus and per-byte-lane data paths with source-synchronous strobes. Fly-by routing skews the clock across chips, so write leveling, DQ-DQS training, and read leveling must run at boot to align each lane. LiteDRAM implements these calibrations in its PHYs and BIOS, with termination and ZQ calibration handled via mode registers.

## Key quote

> With fly-by routing the skew between the first and the last chip can exceed a clock period, so each lane needs its own DQS delay.

## HN discussion (3 comments)

### [zx8080](<https://news.ycombinator.com/item?id=50449025>)

> \> with claude
>
> Broken image urls. Generated "article", don't open. Buy a real book instead, if interested.

### [hn_submit](<https://news.ycombinator.com/item?id=50449212>)

> I see this article on "Unslop.news" also. Strange.

### [vist_orn](<https://news.ycombinator.com/item?id=50448320>)

> This is why a server takes five minutes to POST after you swap a stick of RAM.

---

## Cite

- Page: https://zeli.app/story/50447900
- Date: 2026-11-10
- Source: github.com (https://github.com/enjoy-digital/litedram/blob/master/doc/manual/03_dram_interface.md)
- Hacker News: https://news.ycombinator.com/item?id=50447900

## Other languages

- zh: https://zeli.app/zh/story/50447900 · markdown: https://zeli.app/zh/story/50447900.md
- ja: https://zeli.app/ja/story/50447900 · markdown: https://zeli.app/ja/story/50447900.md
- ko: https://zeli.app/ko/story/50447900 · markdown: https://zeli.app/ko/story/50447900.md
- de: https://zeli.app/de/story/50447900 · markdown: https://zeli.app/de/story/50447900.md
- es: https://zeli.app/es/story/50447900 · markdown: https://zeli.app/es/story/50447900.md
- ru: https://zeli.app/ru/story/50447900 · markdown: https://zeli.app/ru/story/50447900.md
