4.1.10 · D3Memory Technologies

Worked examples — Multi-level cell (MLC - TLC - QLC) flash

2,759 words13 min readBack to topic

This deep dive is the calculator companion to Multi-level cell (MLC - TLC - QLC) flash. The parent note built the ideas; here we grind through every kind of number the topic can throw at you, so no exam or real-world case surprises you.

Before we compute anything, let us fix the four tools we reuse. Each is stated in plain words first, then as a formula.


The scenario matrix

Every problem this topic asks lands in one of these cells. The worked examples below are tagged with the cell(s) they cover, and together they hit all of them. We assume throughout; the truly degenerate (one level, no gaps, stores nothing) is listed as a conceptual boundary only.

# Case class What makes it tricky Example that covers it
C0 Degenerate: (conceptual edge) , undefined; why noted in Ex 3
C1 Given → find , plain forward calc, fencepost trap Ex 1
C2 Given → find (inverse) invert , round the right way Ex 2
C3 Degenerate: (SLC) , single gap — sanity anchor Ex 3
C4 Limiting: large (PLC, ) margin collapse, exponential feel Ex 4
C5 Ratio / relative crowding window cancels — pure Ex 5
C6 Capacity at fixed die (word problem) linear in , unit bookkeeping (bits→bytes) Ex 6
C7 Gray-code assignment / bit-flip damage adjacency, verify one-bit rule Ex 7
C8 Read-reference count + endurance comparisons; P/E order-of-magnitude Ex 8
C9 Exam twist: SLC-cache effective write mixed-mode, "which number dominates?" Ex 9
C10 Zero / boundary: overlap threshold when does hit a smear width? Ex 10

Worked examples

Figure — Multi-level cell (MLC - TLC - QLC) flash
Figure — Multi-level cell (MLC - TLC - QLC) flash

Recall Quick self-test on the matrix

Forward ::: ; count gaps as . Inverse ::: , then round down to a whole bit. Why does SLC never divide by zero but does? ::: gives (one gap); gives (a cell storing nothing). Ratio of crowding between two types ::: — the window cancels. Capacity scaling at fixed die ::: linear in : QLC is SLC data on the same cells. Gray guarantee ::: adjacent (one-level) misread flips exactly one bit; larger jumps flip more.

Connections

  • Multi-level cell (MLC - TLC - QLC) flash — the parent this page extends.
  • Threshold Voltage and ISPP Programming — where and reference voltages come from.
  • Error Correction Codes (LDPC/BCH) — cleans up the overlap errors of Ex 10.
  • Gray Code — the adjacency rule used in Ex 7.
  • SLC Cache and SSD Write Amplification — the mechanism behind Ex 9.
  • Wear Leveling and Flash Endurance — the endurance numbers of Ex 8.