A small DRAM bank laid out the way the silicon is organized. Four rows sit on horizontal wordlines and eight columns on vertical bitline pairs. A row decoder is on the left; the equalizers, sense amplifiers and column multiplexer are below. Choose an operation, then step through it stage by stage or play it at any speed. You can watch the voltage on every cell capacitor, every bitline and every control line as the bank:
The circuit in each column is the folded-bitline sense amplifier drawn on How DDR Memory Works. Values are representative: Cs = 15 fF, Cbl = 100 fF, VARY = 1.1 V, VPP = 2.5 V. Nanosecond operations and millisecond leakage run on separate time scales.
Choosing an operation does not run it. Set it up, then use the control bar that floats at the bottom of the screen while you scroll:
An operation's effect on the cells and the log is applied when it reaches its end.
| Stage | Command | What happens electrically | Signals | Typical time |
|---|---|---|---|---|
| Precharge / equalize | PRE (end) | Both bitlines of every column are shorted together and tied to VBLEQ = VARY/2. Coming from opposite rails, they meet at the midpoint by charge sharing between equal capacitances. | EQ high; SAN = SAP = VARY/2 | tRP ≈ 14 ns |
| Row decode, wordline rise | ACT | EQ releases the bitlines. The row address (or, for REF, the refresh counter) is decoded and one wordline is driven to VPP, turning on every access transistor in that row. | EQ low, WL → VPP | ~2–3 ns |
| Charge sharing | ACT | Each cell shares its charge with its own bitline: ΔV = (Vcell − VARY/2)·Cs/(Cs + Cbl), about ±72 mV for a full cell. The other bitline of the pair stays at VARY/2 as the reference. The cell is left near the midpoint: the read is destructive. | own bitline moves | ~5 ns |
| Sensing | ACT | SAN falls and each NMOS pair discharges the lower bitline; SAP rises and each PMOS pair lifts the higher one. A signal smaller than the latch's offset resolves the wrong way. | SAN → 0, SAP → VARY | ~5 ns |
| Restore | ACT (until tRAS) | The latched bitline, still connected through the open access transistor, drives the cell back to a full 0 V or VARY. All eight columns of the row now sit in the sense amps: the row buffer. | WL high, latches holding | tRAS ≈ 32 ns |
| Column read | RD | The column decoder raises one CSL, which connects four of the eight sense amps (one word) through the column multiplexer to the four local I/O pairs, precharged high. In each pair the line on the side at 0 V discharges; the data path reads the difference. | CSL high, LIO/LIOB split | CL ≈ 14 ns to pins |
| Column write | WR | Write drivers force the LIO pairs to the new word. With CSL high they overpower the four selected latches, which flip wherever a bit changes. The other word's latches are untouched. | CSL high, write drivers on | ~5 ns |
| Write recovery | WR → PRE | The latches, now holding the new data, keep driving their bitlines and charge or discharge the cells to full level. | WL high, latches holding | tWR ≈ 15 ns |
| Row close | PRE (start) | The wordline falls first, isolating each cell with its restored charge; then the sense amps turn off and EQ equalizes the bitlines. | WL low, then SAN/SAP to mid, then EQ | part of tRP |
| Retention | (none) | With every wordline low, junction and transistor leakage drain each charged cell toward 0 V. Leakage roughly doubles for every 10 °C. | none | spec: 64 ms, 32 ms above 85 °C |
| Refresh | REF | The device activates the row named by its refresh counter (sense and restore, as above), precharges it, and advances the counter. No data moves on the pins. Every row must be refreshed within the retention window. | internal ACT + PRE | tRFC per REF, every tREFI |
Write 1010 to row 0, word 0. Then choose ACT for row 0 and step through it. During Charge sharing, each cell and its bitline settle at a common voltage. The charged cells fall from 1.1 V to about 0.62 V and the empty ones rise from 0 V to about 0.48 V, either side of the 0.55 V reference. For that moment the data exists only as ±72 mV on the bitlines. The next two stages sense and restore them.
A read of word 0 still activates, senses and restores word 1's four cells: every column of the row passes through its sense amp. Column select only chooses which four reach the I/O lines. That is why an activate costs the same whichever word you read.
Write 1111 to word 0 of row 0, then of row 1. Row 0's cells end at 1.1 V and row 1's at 0 V, because they sit on BLB. In rows 1 and 3 a stored 0 is the charged state, so leakage there turns a 0 into a 1.
Write 1111 to row 0, let 128 ms pass and read: still correct, with +22 mV of signal left against at most 15 mV of offset. The read also restored the row. Reset, write 1111 again and let 256 ms pass before reading: three of the four bits are lost. Reset, set 95 °C, write, wait 64 ms and read: the bits whose sense-amp offset works against a charged cell fail first. A misread is restored as the wrong value, so the data stays lost.
At 95 °C, with auto-refresh at 1×, let 256 ms pass. A REF fires every 16 ms and cycles through the four rows, so each row is refreshed every 64 ms. That is longer than a hot cell lasts. Switch to 2× (each row every 32 ms) and repeat: nothing is lost.
Run ACT on row 0, then RD twice: the second read is a row hit and needs no activate. Then try ACT on row 2. It is refused, because a bank can hold only one open row: PRE must come first. That extra PRE + ACT is the cost of a row conflict.
Only as a ±72 mV difference between each column's two bitlines. The cells have been pulled most of the way to VARY/2. Until the sense amps latch and restore, a disturbance on the bitlines would destroy the data.
If EQ pulled the bitlines to VARY/2 while the wordline was still high, every cell in the row would be dragged to the midpoint and lose its data. Closing the wordline first isolates the restored charge.
The sense amp sees the cell as empty, and the restore writes a full empty level back. Refresh cannot recover data. It only preserves cells that are still readable, which is why the refresh interval must be shorter than the weakest cell's retention.
All eight in the row. Activation senses and restores every column; column select then connects only the four columns of the addressed word to the I/O lines.
Their cells hang on BLB, and the data path reads a 1 as BL high. Writing a 1 drives BLB low, which discharges the cell. These are anti-cells, the counterpart of the true cells on BL.