4.1.7 · D2Memory Technologies

Visual walkthrough — ROM, PROM, EPROM, EEPROM

3,503 words16 min readBack to topic

We will need three prerequisites, and we build each one when it appears: what a transistor threshold is, what a floating gate adds, and what tunneling is.


Step 1 — What a plain switch (MOSFET) actually is

WHAT. Before any memory, we need one idea: a transistor is a voltage-controlled switch. It has three parts that matter to us: a source and drain (two terminals current might flow between) and a gate (a control knob sitting just above the channel between them).

WHY this first. A memory cell has to answer one yes/no question when read: does current flow, or not? Everything else on this page exists only to change that answer. So we must first see what decides whether current flows.

PICTURE (figure s01). In figure s01, current wants to run from source to drain (black), but a barrier region blocks it. The gate voltage (red — the one thing we control) pulls electrons up into the channel. Only when is high enough does a conducting bridge form.

Figure — ROM, PROM, EPROM, EEPROM

Step 2 — Add the floating gate: an island for electrons

WHAT. Now we insert a second gate between the control gate and the channel. Crucially, this second gate touches nothing — it is surrounded on all sides by insulating oxide. It is electrically an island. We call it the floating gate.

WHY. In Step 1, was a fixed property of the silicon. To store a bit we need to be changeable — and to stay changed with the power off. An isolated island that can hold electric charge is exactly that: put charge on it and it stays; the charge silently biases the transistor.

PICTURE (figure s02). In figure s02, two gates are stacked. The top control gate is the knob we touch. The middle floating gate (red) is the island, drawn floating inside a moat of oxide, connected to nothing.

Figure — ROM, PROM, EPROM, EEPROM

Step 3 — Trapped charge moves the tipping point

Before symbols, one constant we will lean on from here on:

WHAT. Say we push a pile of electrons onto the floating gate. Electrons carry negative charge. That negative island sits right above the channel and repels the electrons the control gate is trying to attract into the channel. So the control gate must now push harder to turn the transistor on. In symbols, goes up.

WHY. This is the whole payoff. The two states of the cell are simply:

  • No electrons on floating gate → low → at read voltage the cell conducts → call it "1".
  • Electrons trapped on floating gate → high → at the same read voltage the cell stays off → call it "0".

The bit is the amount of trapped charge.

PICTURE (figure s03). Figure s03 shows two versions of the transistor side by side, and one number-line. The read voltage (from Step 1) is a fixed vertical mark (red). When trapped charge shifts to the right of , the cell is off.

Figure — ROM, PROM, EPROM, EEPROM

Step 4 — Writing: how do we get electrons onto a walled island?

WHAT. The floating gate is surrounded by oxide the electrons "cannot" cross. To write, we cheat: apply a large voltage on the control gate. This bends the energy landscape so steeply that electrons tunnel through the thin oxide onto the island (and/or are shot across as "hot" electrons). This is Fowler–Nordheim tunneling.

WHY a high voltage and not the normal read voltage? Because the oxide is a wall. At ordinary voltages the wall is impassable (that's what makes storage last). Only a strong electric field tilts the wall thin enough for electrons to slip through. So writing needs high voltage; reading (at ) uses gentle voltage that leaves the stored charge alone.

PICTURE (figure s04). Figure s04 draws the oxide barrier as an energy "hill". With no field it is a tall rectangular wall. With a big field applied, the wall tilts into a thin triangle — and an electron's wave leaks through the thin tip.

Figure — ROM, PROM, EPROM, EEPROM

Step 5 — Retention: why the electrons don't just leak back

WHAT. Now the write voltage is gone. The electrons are on the island. Do they stay? They can leak back by the same tunneling — but at read/idle there is almost no field, so the barrier is thick and the leak is tiny. We now quantify "tiny."

WHY we care about the exact shape. If leakage were merely slow, we'd worry. But it turns out to fall exponentially with the barrier thickness — and exponential decay is astronomically fast in the exponent. That single fact is what buys us years.

PICTURE (figure s05). Figure s05 shows the electron wave entering the oxide and its amplitude collapsing along the way — drawn as a decaying curve (red) inside the barrier. A thick barrier means the wave is essentially gone by the far side.

Figure — ROM, PROM, EPROM, EEPROM

Step 6 — From wave decay to the 10-year number

First, three quantities this step needs, defined before use:

WHAT. For a flat wall of height and width , the survival probability is . Under a real field the wall is a triangle, so is not constant — it shrinks with depth, because the tilted wall's height above the electron falls off. We must add up the decay over the whole triangle.

WHY integrate — the explicit calculation. Let the local barrier height at depth be (the tilt subtracts energy ). It reaches zero at the exit point so the triangle has width . The total decay exponent is the sum (integral) of the local rate across it: Do the integral by u-substitution. Let , so , i.e. . Limits: ; . Then Using , So the survival probability is , giving

Reading the true form vs. the parent note. Notice has cancelled out of the exponent above: for a pure triangular barrier the width is fixed by and (), so the standard Fowler–Nordheim exponent depends on and only — there is no free-standing factor. The parent note writes the exponent with a present; that form is the thick-barrier / low-field regime, where the field does not tilt the wall all the way to zero inside the oxide. Then the electron crosses the full width at a roughly constant rate , giving the rectangular-barrier result which does carry a linear . The two forms are the two limits of the same wave-decay picture (triangular tip for the strong-field write, thick rectangular wall for idle retention); use the form when reasoning about how oxide thickness sets retention, and the form when reasoning about the write field.

A concrete 10-year estimate (idle retention). Use the thick-wall form, since at idle . Plug in silicon-dioxide numbers: barrier , effective mass with , , and oxide . Then so the exponent is . That is enormous. With attempt-rate , the survival per attempt is , so the escape rate per electron is — an escape time far, far beyond the age of the universe for the deepest electrons. Real cells are engineered to sit right where the aggregate charge loss crosses the "still readable" line at about years; the point of the estimate is that the exponent is a few hundred, and shaving it (thinner oxide) or padding it (thicker oxide) swings retention by many orders of magnitude. That giant exponent is why the number is "years," not "seconds."

PICTURE (figure s06). Figure s06 shows trapped charge decaying in time — a gentle exponential droop. The horizontal line marks the minimum charge still readable as "0"; where the curve crosses it (red mark) is the end of retention ≈ 10 years.

Figure — ROM, PROM, EPROM, EEPROM

Step 7 — The edge cases (every scenario shown)

WHAT & WHY. A good walkthrough must never leave the reader in an unshown situation. Here are all the degenerate and limiting cases of the trick, each traced back to a symbol we defined.

  • Zero trapped charge (). Then . The tipping point never moved; the cell always reads "1". This is a blank/erased cell — correct and expected.
  • Erasing an EPROM (UV light). UV photons add energy to the trapped electrons so they clear the barrier without a field ( but energy comes from light instead). But light floods the whole chip, so every cell empties at once → whole-chip erase (the parent note's quartz window).
  • Erasing an EEPROM (reverse field). Set the other way (reverse ); electrons tunnel off the island. Because you can address one byte's gate, this is byte-erase, in-circuit.
  • Very thin oxide (). In the thick-wall form the exponent , so is no longer suppressed — charge leaks in seconds and retention collapses. This is the physical wall on shrinking cells.
  • Very high idle field ( large even at rest). In the triangular form shrinks and the exponent falls, so leak grows. Retention needs (i.e. ) when idle.
  • Zero field limit (). In the triangular form : the triangle never reaches the far side, tunneling switches off, and only the thick-wall path remains — exactly the idle-retention regime. The two forms meet here consistently.
  • High temperature. Even with a fat oxide, thermal emission () rises with and can drain the gate — retention specs are always tied to a stated temperature.
  • Endurance limit. Each write forces electrons violently through the oxide, chipping the wall (trapping defects that lower the effective ). After writes the oxide is too damaged to hold charge — hence finite endurance, not infinite.

PICTURE (figure s07). Figure s07 is one field diagram showing three field directions: near-zero (store, red = safe), forward-strong (write), reverse-strong (EEPROM erase); plus a UV arrow (EPROM erase).

Figure — ROM, PROM, EPROM, EEPROM

The one-picture summary

Figure s08 compresses all seven steps: a switch whose tipping point is dragged left/right by charge on a walled island (red), that charge placed by tunneling under high field and held by an exponentially thick wall at idle.

Figure — ROM, PROM, EPROM, EEPROM
Recall Feynman retelling — say it in plain words

A transistor is a switch with a tipping point: give the gate more than volts and current flows. Now sneak a tiny metal island under the gate, wrapped completely in insulator. If we hide some electrons on that island, their negative charge fights the gate, so it takes more voltage to switch on — the tipping point moves up. We read the cell at a fixed gentle voltage : island empty ⇒ it switches ⇒ "1"; island loaded ⇒ it stays off ⇒ "0". To write, we blast a high voltage so electrons tunnel through the thin insulator (thickness ) onto the island. To keep the bit, we remove the voltage — now the insulator is a thick wall, and quantum-mechanically the electron's wave dies off exponentially inside it, so escape is suppressed by a factor like or smaller, giving ten years of memory with the power off — as long as it doesn't get too hot, since heat lets electrons hop over the wall instead. To erase, EPROM floods the chip with UV to kick every electron out at once, while EEPROM reverses the field to peel electrons off byte-by-byte in place. And because each violent write bruises the wall, we only get so many writes — that's endurance.