Algorithm Search⌘K

Definitionadvanced

Robust path delay test

Also called robust test.

A two-pattern path delay test that detects the fault whatever the delays of other paths; a non-robust test needs the off-path inputs to be fault-free.

A robust path delay test is a pair of vectors that detects a path delay fault whatever the delays of the lines off the path. If the path is too slow, the output captured at the clock edge is wrong, even when other paths are slow too. A weaker class, the non-robust tests, detects the fault only when the lines off the path are on time. The difference is in the conditions on the off-path inputs of the gates along the path, and it depends on the direction of the transition at each gate.

Definition

Let P=(x0,x1,…,xk)P = (x_0, x_1, \ldots, x_k) be a path of a combinational circuit, with a transition at x0x_0, and let (v1,v2)(v_1, v_2) be a pair of vectors. For each gate xi+1x_{i+1} on the path, xix_i is the on-path input and the others are the off-path inputs. For AND and NAND the controlling value is c=0c = 0, and for OR and NOR it is c=1c = 1; the other value is non-controlling. A line is steady at a value if it holds that value under v1v_1, under v2v_2, and at every moment in between, for every choice of gate delays. Sufficient conditions are easy to check: an input with the same value in both vectors is steady, a gate with a steady input at its controlling value is steady, and a gate whose inputs are all steady is steady.

The pair is a non-robust test of the fault if x0(v1)≠x0(v2)x_0(v_1) \ne x_0(v_2) in the direction of the fault and, under v2v_2, every off-path input of every gate on the path has the non-controlling value of its gate. Under v2v_2 alone the path is then sensitized: changing xix_i changes xi+1x_{i+1}. XOR and XNOR gates have no controlling value and put no condition on v2v_2.

The pair is a robust test if it is a non-robust test and in addition, at each gate where the on-path input changes from the non-controlling to the controlling value, every off-path input is steady at the non-controlling value. Where the on-path input changes from the controlling to the non-controlling value, the condition on v2v_2 is enough. At an XOR or XNOR gate, every off-path input must be steady.

on-path input off-path inputs, robust test off-path inputs, non-robust test
controlling to non-controlling non-controlling under v2v_2 non-controlling under v2v_2
non-controlling to controlling steady non-controlling non-controlling under v2v_2

Proposition. Assume each gate input pin has a fixed positive delay, so that a gate output at time tt is the gate function of each input at tt minus the delay of its pin, and the circuit is settled under v1v_1 before v2v_2 is applied at time 0. Let d(P)d(P) be the sum of the pin delays along PP. Under a robust test, xk(t)=xk(v1)≠xk(v2)x_k(t) = x_k(v_1) \ne x_k(v_2) for all t<d(P)t < d(P), whatever the delays of all pins off the path. So if d(P)d(P) exceeds the capture time, the captured value is wrong and the fault is detected.

Proof. Let TiT_i be the sum of the pin delays along PP up to xix_i, so T0=0T_0 = 0 and Tk=d(P)T_k = d(P). We show by induction on ii that xi(v1)≠xi(v2)x_i(v_1) \ne x_i(v_2) and xi(t)=xi(v1)x_i(t) = x_i(v_1) for all t<Tit < T_i. For i=0i = 0, this holds since x0x_0 changes at time 0. Let it hold for xix_i, and let δ\delta be the delay of the on-path pin of xi+1x_{i+1}, so Ti+1=Ti+δT_{i+1} = T_i + \delta. Take t<Ti+1t < T_{i+1}, so t−δ<Tit - \delta < T_i and the on-path input at time t−δt - \delta has its old value xi(v1)x_i(v_1).

If xi(v1)=cx_i(v_1) = c, the gate output at time tt is its controlled value, which is xi+1(v1)x_{i+1}(v_1), whatever the off-path inputs do. Under v2v_2, the on-path input is not cc and the off-path inputs are not cc, so xi+1(v2)x_{i+1}(v_2) is the other value.

If xi(v1)x_i(v_1) is non-controlling, then xi(v2)=cx_i(v_2) = c, and the off-path inputs are steady non-controlling, so at time tt minus their pin delays they are still non-controlling. All inputs seen at time tt are non-controlling, so the output is the non-controlled value, which is xi+1(v1)x_{i+1}(v_1). Under v2v_2 the on-path input is cc, so xi+1(v2)x_{i+1}(v_2) is the controlled value.

For a buffer, an inverter, a fanout branch, and XOR or XNOR with steady off-path inputs, the output is a one-to-one function of the on-path input at time t−δt - \delta, so both claims carry over. □\square

The first case uses nothing about the off-path inputs before v2v_2: while the on-path input holds the controlling value, it alone fixes the output. The second case needs them steady, since an off-path input that passes through cc late could hold the output at the right final value by itself. This is why the rule depends on the direction.

Examples and non-examples

A robust test. In g=NAND(a,b)g = \mathrm{NAND}(a, b), h=NAND(b,c)h = \mathrm{NAND}(b, c), z=NAND(g,h)z = \mathrm{NAND}(g, h), take the path a g za\,g\,z with aa rising, and the pair v1=010v_1 = 010, v2=110v_2 = 110 on abcabc. At gg, the input aa changes from 0, controlling for NAND, to 1, so the off-path input bgb_g needs only the value 1 under v2v_2. At zz, the input gg falls from 1 to 0, from non-controlling to controlling, so the off-path input hh must be steady at 1. It is, since cc is steady at 0, the controlling value of hh. The pair is robust.

A non-robust test that is not robust. Take z=AND(x,y)z = \mathrm{AND}(x, y) and the path x zx\,z with xx falling. The pair v1=10v_1 = 10, v2=01v_2 = 01 on xyxy is a non-robust test: y=1y = 1 under v2v_2. In the good circuit, both changes arrive before the capture and zz ends at 0. If xx is slow and yy is on time, zz rises with yy and falls only when xx arrives, so at the capture z=1z = 1, which is wrong, and the slow path is found. If yy is slow too, zz stays 0 until the capture, the expected value, and the slow path passes. The pair v1=11v_1 = 11, v2=01v_2 = 01 keeps yy steady at 1 and is a robust test.

Non-example: a launch without sensitization. For the same AND gate, the pair 10, 00 launches the fall at xx, but y=0y = 0 under v2v_2 holds zz at 0 whatever xx does. It is not a test of the path.

Non-example: a stuck-at test. A single vector that detects xi/0x_i/0 with the path sensitized is not a delay test, since nothing changes. A delay test always needs two vectors.

Paths with no robust test. A path can have a non-robust test and no robust one, when every pair that sensitizes it lets some off-path input change at a gate where the on-path input goes to the controlling value. A path can also have no test at all, as for a false path. The robust coverage of a path list is then below 100% even for a perfect test set.

  • Path delay fault. A path with a rising or falling transition at its start whose delay exceeds the clock period. See path delay fault model.
  • Static sensitization. Under a single vector, the off-path inputs of every gate of a path are non-controlling. A non-robust test is a launch at x0x_0 with a statically sensitized path under v2v_2.
  • Steady values and hazards. The condition "steady" is checked by simulating the pair in a multi-valued algebra with values for steady 0, steady 1, rising, falling and possibly glitching, as in ternary simulation, where an unknown value stands for a possible hazard.
  • Validatable non-robust test. A non-robust test whose off-path inputs that can be late are themselves checked by robust tests in the same test set, so that the set together detects the fault.
  • Transition fault. A gross delay at one line. A test of the transition fault model needs the launch and a stuck-at test under v2v_2 but no condition on paths.

References

  1. C. J. Lin and S. M. Reddy, On delay fault testing in logic circuits, IEEE Transactions on Computer-Aided Design CAD-6(5), 694 to 703, September 1987, the robust and non-robust tests of path delay faults, the conditions on the off-path inputs, and test generation for them
  2. G. L. Smith, Model for delay faults based upon paths, Proceedings of the International Test Conference, 342 to 349, 1985, the path delay fault model and tests that hold whatever the delays of the other gates
  3. Michael L. Bushnell and Vishwani D. Agrawal, Essentials of Electronic Testing for Digital, Memory and Mixed-Signal VLSI Circuits, Kluwer, 2000, the chapter Delay Test (robust and non-robust sensitization, with the conditions for each gate input)

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/NQSKAE/text.yaml