silicon atlasTHE HARDWARE REFERENCE
العربية
Reference/Memory & storage
Memory & storage

Inside DRAM

A capacitor holds a bit. A controller keeps billions of them readable.

Reading a DRAM row disturbs it, so the chip restores what it just read.
Cell

One small charge represents a bit.

LIVE EXPERIMENT

Open a memory row

Runs on your device
Read the same row twice, then choose another row.
SENSE AMPLIFIERS / ROW BUFFERNo open row
Select a row to send a read command.
Access type·
Illustrative latency·
Commands·

The active row stays in sense amplifiers. Another access to it can skip activation; changing rows adds precharge and activation.

What this model includes

One bank, no refresh or overlap, fixed 14 ns command delays. Values illustrate order, not specifications for a DIMM.

FOLLOW THE MECHANISM

What happens inside

1

Store charge in cells

A typical DRAM cell uses one access transistor and one capacitor. Charge leaks, requiring periodic refresh. Cells share wordlines and bitlines. A bank contains many rows, but usually only one row in that bank is active at a time.

2

Open a row, select columns

ACTIVATE connects a row to sense amplifiers, which detect and restore the small charge difference. Reads and writes select columns in the row buffer. A row hit skips reopening; a conflicting row needs precharge and another activation.

3

Coordinate channels and timings

The memory controller schedules commands across banks and channels while obeying timing and refresh constraints. DDR transfers data on both clock edges. MT/s is the transfer rate; capacity, sustained bandwidth, and first-access latency are separate properties.

PUT IT TO WORK

What this means for your code

Low-level engineer

Distinguish tCL, tRCD, tRP, and tRAS. Address-to-bank mapping and controller scheduling make real latency more complex than one timing number.

Software developer

More RAM avoids paging when your working set is large. Extra capacity does not automatically speed up data that already fits. Access pattern and channel population matter.

GO TO THE SOURCE

Read the actual specifications

These references supply the underlying contracts and implementation details. The diagrams here are simplified teaching models.

Micron · DDR5 SDRAMMicron

Keep following the connection

Understood the idea? Keep a note of your progress.