Lecture 21alt BIST - Built-In Self-Test
Lecture 21alt BIST - Built-In Self-Test
Lecture 21alt
21alt
BIST
BIST --
-- Built-In
Built-In Self-Test
Self-Test
(Alternative
(Alternative to
to Lectures
Lectures 25,
25, 26
26 and
and 27)
27)
Definition of BIST
Pattern generator
LFSR
Response analyzer
MISR
Aliasing probability
BIST architectures
Test per scan
Circular self-test
Memory BIST
Summary
Copyright 2005, Agraw VLSI Test: Lecture 21alt 1
al & Bushnell
Define
Define Built-In
Built-In Self-Test
Self-Test
Implement the function of automatic test equipment
(ATE) on circuit under test (CUT).
Hardware added to CUT:
Pattern generation (PG)
Response analysis (RA)
Test controller CK PG
Cellular automata
0 0
7 1 7 1
6 2 Start 6 2 Start
+3
+2
5 3 5 3
4 4
Sequence: 2, 5, 0, 3, 6, 1, 4, 7, 2 . . . Sequence: 2, 4, 6, 0, 2 . . .
Maximum length sequence: 3 and 8 are relative primes.
Copyright 2005, Agraw VLSI Test: Lecture 21alt 4
al & Bushnell
Pseudo-Random
Pseudo-Random Pattern
Pattern
Generation
Generation
Standard Linear Feedback
Shift Register (LFSR)
Produces patterns
algorithmically –
repeatable
Has most of desirable
random # properties
May not cover all 2n input
combinations either hi = 0, i.e., XOR is deleted
Long sequences needed or hi = X i
for good fault coverage Initial state (seed): X0, X1, . . . , Xn-1
must not be 0, 0, . . . , 0
X0 (t + 1) 0 1 0 … 0 0 X0 (t)
0 0 1 … 0 0
X1 (t + 1) . . . . . X1 (t)
. . . . .
. = . . . . . .
. 0 … 1 0 .
. 0 0 .
Xn-3 (t + 1) 0 0 0 … 0 1 Xn-3 (t)
1 h1 h2 … hn-2 hn-1
Xn-2 (t + 1) Xn-2 (t)
Xn-1 (t + 1) Xn-1 (t)
X (t + 1) = Ts X (t) (Ts is companion matrix)
RESET
100 001
000
010
110
D Q D Q D Q
X2 X1 X0 101
111
011
CK
RESET
X2 X1 X0
testing
After testing – compare signature in LFSR to
precomputed signature of fault-free circuit
0 ∙ X0 + 1 ∙ X1 + 0 ∙ X2 + 1 ∙ X3 + 0 ∙ X4 + 0 ∙ X5 + 0 ∙ X6 + 1 ∙ X7
X2 + 1
X5 + X3 + X + 1 +X
+ X3
Char. polynomial X7
+ X5 + X3 + X2
X7 +X
5 2
X +X
+X +1
remainder X5 + X3 +1
+1
Signature: X0 X1 X2 X3 X4 = X130 1 X20
Copyright 2005, Agraw VLSI Test: Lecture 21alt 13
al & Bushnell
Multiple-Input
Multiple-Input Signature
Signature
Register
Register (MISR)
(MISR)
Problem with ordinary LFSR response compacter:
Too much hardware if one of these is put on each
superposition principle
Superimpose all responses in one LFSR – final
X0 (t + 1) 0 0 1 X0 (t) d0 (t)
= 1 0 1 +
X1 (t + 1) 0 1 0 X1 (t) d1 (t)
X2 (t + 1) X2 (t) d2 (t)
Copyright 2005, Agraw VLSI Test: Lecture 21alt 15
al & Bushnell
Aliasing
Aliasing Probability
Probability
Aliasing means that faulty signature matches fault-
free signature
Aliasing probability ~ 2-n
where n = length of signature register
Scan register
BIST
BIST Go/No-go Comb. logic
Control
enable signature
logic
Scan register
Comb. logic
RA Scan register