S143 of 55
0 XP
  1. Hook
  2. Play
  3. Predict
  4. Name it
  5. Check
  6. Explain

S1 · Lesson 43 · Memory devices

DRAM, SRAM, flash and the newer memories, as device physics

Most transistors ever made are memory cells. A DRAM bit is a capacitor of a few tens of femtofarads that leaks, so it's read back as a small voltage on a much bigger wire and has to be rewritten every 64 ms. A flash bit is a transistor with charge trapped in its gate, where it stays for years because the electrons are surrounded by an energy barrier several electronvolts high; storing three or four bits per cell means telling apart thresholds a few hundred millivolts apart, each made of a few hundred electrons. This lesson does the arithmetic of both, and places the newer memories that try to combine their strengths.

  • A DRAM cell storing a 1, read out after time t. The curve is the signal it puts on the bitline: the voltage swing relative to the precharge level at half the supply (1.1 V), in mV.
  • The signal starts small because the cell's charge is shared with a much larger bitline capacitance. Leakage then drains the cell, and the signal falls toward zero.
  • The marker is a 30 mV sense margin. Where the curve crosses it is the cell's retention time; the chip refreshes every row well before that.

Predict

A DRAM cell of 20 fF holds a 1 at 1.1 V and is read onto a 100 fF bitline precharged to 0.55 V. How big is the signal the sense amplifier sees?

Name it

DRAM

One transistor and one capacitor per bit. To read, the bitline is precharged to VDD/2 and the access transistor connects the cell, so charge sharing gives

ΔV=VDD2⋅CsCs+CBL

Reading destroys the stored charge, so the sense amplifier writes it back. Leakage (junction generation current, subthreshold current through the access transistor, gate-induced drain leakage) drains a stored 1; the chip refreshes every row within 64 ms (32 ms when hot), and the worst cells set that interval.

SRAM

Six transistors per bit: two cross-coupled inverters with two access transistors. It needs no refresh and is fast, but takes about 100 to 150 times the area of the minimum feature squared, against about 6 for DRAM. Its stability depends on transistor ratios, so threshold mismatch (lesson 38) limits how low its supply can go.

Flash

A transistor with a storage layer between its control gate and channel: a conductive floating gate or, in 3D NAND, a charge-trapping nitride. Electrons stored there raise the threshold by

ΔVT=QCCG

where CCG is the capacitance between the control gate and the stored charge.

  • Programming pushes electrons in by Fowler–Nordheim tunneling through about 8 nm of oxide at fields near 10 MV/cm (B10.38), or by hot-electron injection in NOR flash.
  • Retention: a 3 eV barrier holds the electrons for ten years at operating temperature.
  • Endurance: each cycle damages the oxide, limiting cells to roughly 103 to 105 cycles.
  • Multi-level cells: n bits need 2n threshold levels in the same window, so TLC (3 bits) packs 8 levels, and QLC 16.
  • 3D NAND stacks 200 to 300 layers of cells vertically along a channel hole, which is how density keeps rising without shrinking the cell.

Emerging memories

  • FeRAM: a ferroelectric's polarization (B12.42); HfZrO films made it CMOS compatible.
  • MRAM: a magnetic tunnel junction whose resistance depends on whether two magnetic layers are parallel, switched by spin-transfer torque.
  • Phase-change memory: a chalcogenide switched between amorphous and crystalline phases by heating.
  • RRAM: a conductive filament formed and broken in an oxide.

Each trades speed, endurance, density and retention differently.

Worked example

A DRAM cell has Cs = 20 fF and its bitline 100 fF, at VDD = 1.1 V. Find the read signal, the electrons in a stored 1, and the retention time if 10 fA leaks out and the sense amplifier needs 30 mV.

Show the solution
  1. Read signal. ΔV=0.55×20120=92mV
  2. Stored charge. Q=CsVDD=2.2×10−14C or 137,000 electrons.
  3. Loss the cell can take. The signal falls to 30 mV when the cell has lost 0.55−0.03×12020=0.37V
  4. Retention time. The cell droops at 10fA20fF=0.5V/s so losing 0.37 V takes 0.74 s.
  5. Refresh. That's a typical cell; refresh at 64 ms covers the leakiest cells, which can be a hundred times worse.

Answer a 92 mV read signal, 137,000 electrons in a stored 1, and a retention time of 0.74 s.

Worked example

A flash cell has CCG = 0.5 fF and a 3 V threshold window. How many electrons shift its threshold by 1 V, and how many separate the levels of a TLC cell?

Show the solution
  1. Electrons per volt. Q=CCGΔVT=0.5×10−15×1C=5×10−16C or 3120 electrons per volt.
  2. TLC level spacing. A TLC cell's eight levels in 3 V are 0.375 V apart, about 1170 electrons.
  3. Charge loss. Losing a tenth of that over ten years, 117 electrons, shifts the threshold by 37 mV, a tenth of the spacing.
  4. What it means for design. That's why multi-level cells need strong error correction and why scaled planar cells, with a few hundred electrons per level, gave way to 3D NAND's larger cells.

Answer 3120 electrons shift the threshold by 1 V, and about 1170 electrons separate the levels of a TLC cell.

Worked example

A 20 fF DRAM cell may lose 0.3 V before it becomes unreadable and is refreshed every 64 ms. What leakage can it tolerate?

Show the solution
  1. Tolerable leakage. I=CΔVt=20fF×0.3V0.064s=94fA
  2. Hot DRAM. Leakage roughly doubles every 10 °C, so hot DRAM refreshes twice as often, which is why server memory specifies a 32 ms refresh above 85 °C.

Answer about 94 fA.

Check

A DRAM cell of 10 fF at VDD = 1.2 V is read onto a 60 fF bitline precharged to VDD/2. What's the signal?

Write units the way you normally would: 1.5 mV, 1500 µV and 0.0015 V are the same answer.

Check

How many electrons does a 10 fF DRAM cell store at 1 V?

Check

A DRAM cell (15 fF, bitline 80 fF, VDD = 1.1 V) leaks 50 fA. If the sense amplifier needs 30 mV, how long does a stored 1 last?

Write units the way you normally would: 1.5 ms, 1500 µs and 0.0015 s are the same answer.

Check

A flash cell with CCG = 0.3 fF stores 500 electrons. How much does its threshold rise?

Write units the way you normally would: 1.5 V, 1500 mV and 0.0015 kV are the same answer.

Check

A flash cell stores 3 bits in a 3 V threshold window. How far apart are adjacent levels' centers, spread evenly from one edge of the window to the other?

Write units the way you normally would: 1.5 V, 1500 mV and 0.0015 kV are the same answer.

Check

A floating-gate cell has a coupling ratio of 0.6 from control gate to floating gate. With 15 V on the control gate and the channel at 0 V (and no stored charge), what's the floating gate's voltage?

Write units the way you normally would: 1.5 V, 1500 mV and 0.0015 kV are the same answer.

Check

A DRAM bank has 8192 rows, each refresh taking 30 ns, all refreshed every 64 ms. What fraction of the time is spent refreshing?

Check

A DRAM cell of 20 fF stores 1.2 V and shares charge with a 50 fF bitline precharged to VDD/2.

(a)

What signal reaches the sense amplifier?

Write units the way you normally would: 1.5 mV, 1500 µV and 0.0015 V are the same answer.

(b)

What leakage lets it lose 0.3 V in a 64 ms refresh period?

Check

A flash cell's control-gate capacitance is C, its threshold window W volts, and it stores b bits.

Step 1

How many electrons on the floating gate shift its threshold by 1 V?

Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.

Explain why

Why does flash memory keep its data for years with the power off, while DRAM loses it in under a second?

Practice

Keep practicing

11 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.