Algorithm Search⌘K

Modeladvanced

Memory coupling fault model

Also called coupling fault, idempotent coupling fault, inversion coupling fault.

Van de Goor's fault models in which a transition or value in one memory cell changes another cell, the targets of march tests.

The memory coupling model describes a defect of a random access memory as an unwanted interaction between two cells: an operation on one cell, the aggressor, or its value, changes the content of another cell, the victim. Three kinds are standard. In an inversion coupling, a transition in the aggressor inverts the victim. In an idempotent coupling, a transition in the aggressor forces the victim to a fixed value. In a state coupling, the victim is forced to a fixed value while the aggressor holds a given value. A memory of NN cells has a number of such faults that grows with N2N^2, yet some march tests, of length O(N)O(N), detect all of them.

The machine

The memory is an array of NN one-bit cells with addresses 0,…,N−10, \ldots, N - 1. A test is a sequence of operations: w0w0 or w1w1 writes a value to one cell, and r0r0 or r1r1 reads one cell and compares it with the expected value. A fault is detected when a read returns a value other than the one the fault-free memory would return.

A coupling is given by an ordered pair of distinct cells, the aggressor ii and the victim jj, and a rule. A transition of a cell is a write that changes its value, written ↑\uparrow for 0 to 1 and ↓\downarrow for 1 to 0.

  • Inversion, written ⟨t;↕⟩\langle t; \updownarrow \rangle with t∈{↑,↓}t \in \{\uparrow, \downarrow\}: each transition tt of ii inverts jj. There are 2 rules.
  • Idempotent, written ⟨t;v⟩\langle t; v \rangle with v∈{0,1}v \in \{0, 1\}: each transition tt of ii sets jj to vv. There are 4 rules.
  • State, written ⟨x;v⟩\langle x; v \rangle with x,v∈{0,1}x, v \in \{0, 1\}: whenever ii holds xx, jj holds vv, whatever is written to jj. There are 4 rules.

The model assumes one fault in the memory, a fault-free address decoder and read logic, and bit-oriented cells. Other functional faults of the same family are a cell stuck at 0 or 1, a cell that cannot make a transition (a memory transition fault), and address decoder faults, where an address reaches no cell, several cells, or the wrong cell.

What it counts

The model predicts which tests detect which faults, and so the coverage of a memory test over the list of faults. For NN cells there are N(N−1)N(N - 1) ordered pairs and 10 rules per pair, so 10N(N−1)10 N(N - 1) faults of these three kinds, against 2N2N stuck-at cells. A memory of 2202^{20} cells has about 101310^{13} of them. A test that treats each pair on its own, such as the galloping pattern, needs time quadratic in NN, which is too long. The model is used to show that a march test of linear length detects every fault of the list.

A march test is a sequence of march elements. Each element applies the same short sequence of operations to every cell, cell by cell, in increasing address order (⇑\Uparrow), decreasing order (⇓\Downarrow), or either order (⇕\Updownarrow). March C−, in the form given by van de Goor, is

⇕(w0); ⇑(r0,w1); ⇑(r1,w0); ⇓(r0,w1); ⇓(r1,w0); ⇕(r0),\Updownarrow(w0);\ \Uparrow(r0, w1);\ \Uparrow(r1, w0);\ \Downarrow(r0, w1);\ \Downarrow(r1, w0);\ \Updownarrow(r0),

with 10N10N operations. Call its elements M0,…,M5M_0, \ldots, M_5.

Relation to other models

  • Bridging faults. A short between the storage nodes of two cells, or between their bit lines, behaves like a state coupling. This is the memory form of the bridging fault model.
  • Transition faults. A memory cell that cannot make a transition is a single-cell analogue of the transition fault model of logic. In memory test it is a functional fault, not a timing fault.
  • Neighbourhood pattern sensitive faults. A victim whose content depends on the pattern in several physical neighbours generalizes state coupling to more than one aggressor. Tests for it need the physical layout of the array.
  • Linked faults. Two couplings with the same victim can hide each other, for example when one sets the victim to 1 and another sets it back to 0 before a read. The results below assume unlinked faults. Tests for linked faults are longer.
  • Built-in self-test. Memory BIST controllers on chips run march tests, since their address counters and simple data patterns are cheap in hardware.

Known results in the model

  • Linear lower bound. Every test that detects all stuck-at cells reads every cell at least once and writes every cell at least once, so it has at least 2N2N operations. A march test meets the linear order.
  • March C− detects all inversion, idempotent and state couplings. We show it for idempotent couplings; the other two kinds follow in the same way. Take the rule ⟨t;v⟩\langle t; v \rangle with aggressor ii and victim jj. In an ascending element, when cell ii is written, the cells below ii already hold the value that the element leaves, and the cells above ii still hold the value the element found, and they are read later in this element. A descending element is the mirror image. The fault is detected if, at the transition tt of ii, the victim holds ¬v\lnot v and is read before it is written again.
rule aggressor below victim, i<ji < j aggressor above victim, i>ji > j
⟨↑;1⟩\langle \uparrow; 1 \rangle M1M_1: jj holds 0, read by r0r0 in M1M_1 M3M_3: jj holds 0, read by r0r0 in M3M_3
⟨↑;0⟩\langle \uparrow; 0 \rangle M3M_3: jj holds 1, read by r1r1 in M4M_4 M1M_1: jj holds 1, read by r1r1 in M2M_2
⟨↓;0⟩\langle \downarrow; 0 \rangle M2M_2: jj holds 1, read by r1r1 in M2M_2 M4M_4: jj holds 1, read by r1r1 in M4M_4
⟨↓;1⟩\langle \downarrow; 1 \rangle M4M_4: jj holds 0, read by r0r0 in M5M_5 M2M_2: jj holds 0, read by r0r0 in M3M_3

Each entry names the element where ii makes the transition while jj holds ¬v\lnot v, and the read that first sees jj. For example, for ⟨↑;0⟩\langle \uparrow; 0 \rangle with i>ji > j, element M1M_1 visits jj first and writes 1 there, then writes 1 to ii, which forces jj to 0, and the first operation of M2M_2 at jj is r1r1. An inversion coupling changes the victim in every case where an idempotent one with the same trigger does, so the same table covers it. For a state coupling ⟨x;v⟩\langle x; v \rangle, the test must read jj expecting ¬v\lnot v while ii holds xx. With i<ji < j, the reads of jj in M1M_1, M2M_2, M3M_3 and M4M_4 happen while ii holds 1, 0, 0 and 1. With i>ji > j, they happen while ii holds 0, 1, 1 and 0. The expected values are 0, 1, 0, 1, so all four pairs (x,¬v)(x, \lnot v) occur for both orders. □\square A simulation of all 300 such faults of a memory with N=6N = 6 cells agrees with the table; this is a check of the argument on a toy size, not a measurement.

  • Not every march test does. MATS+, ⇕(w0); ⇑(r0,w1); ⇓(r1,w0)\Updownarrow(w0);\ \Uparrow(r0, w1);\ \Downarrow(r1, w0), with 5N5N operations, detects every stuck-at cell, but misses ⟨↑;1⟩\langle \uparrow; 1 \rangle with i>ji > j: when ii rises in the ascending element, jj already holds 1, and no later transition of ii meets jj at 0.
  • Suk and Reddy. In 1981, Suk and Reddy gave a march test of linear length for faults in which a write to one cell changes another, which made coupling tests practical for large memories.

References

  1. D. S. Suk and S. M. Reddy, A march test for functional faults in semiconductor random access memories, IEEE Transactions on Computers C-30(12), 982 to 985, December 1981, faults in which a write to one cell changes another cell, and a march test of linear length that detects them
  2. A. J. van de Goor, Testing Semiconductor Memories, Theory and Practice, Wiley, 1991, the chapters on functional fault models (stuck-at, transition, inversion, idempotent and state couplings, address decoder faults) and on march tests
  3. Michael L. Bushnell and Vishwani D. Agrawal, Essentials of Electronic Testing for Digital, Memory and Mixed-Signal VLSI Circuits, Kluwer, 2000, the chapter Memory Test (memory fault models and march tests)

Where this leads

About this page

The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.

LadderLevelWhat the next level needs
Human proofH0 no proof
  • add a proof in proofs/ (06.5)
LeanL0 no Lean part
  • name a Lean module in the lean field (07)
VisualV0 none
  • add viz/scene.ts or a figure (10)
WritingW4 complete
  • a review of the text: no review record reviews/939TQZ/text.yaml