Professional Documents
Culture Documents
VLSI TESTING
CHAPTER 5
BUILT-IN SELF-TEST (BIST)
Introduction
Basic Concepts of Logic BIST
BIST Design Rules
Test Pattern Generation (TPG) and Output Response Analysis
(ORA) Techniques
PING-LIANG LAI
Chapter 5-1
PING-LIANG LAI
Introduction (1/2)
Introduction (2/2)
Chapter 5-2
Implement the function of automatic test equipment (ATE) on circuit under test
(CUT)
Hardware added to CUT
ATE
Stored Test
Patterns
Pin
Electronics
Test Controller
Stored
Responses
Comparator
CK
CUT
BIST
Enable
TPG
CUT
ORA
Go/No-go signature
BIST
Traditional test
PING-LIANG LAI
Chapter 5-3
PING-LIANG LAI
Chapter 5-4
On-line BIST
Concurrent on-line BIST
Non Concurrent on-line BIST
Off-line BIST
Functional off-line BIST
Structural off-line BIST
PING-LIANG LAI
Chapter 5-5
PING-LIANG LAI
Chapter 5-6
Chapter 5-7
PING-LIANG LAI
Chapter 5-8
X-bounding Methods
Depending on the nature of each unknown (X) source, several Xbounding methods can be appropriate for use
Common problems
PING-LIANG LAI
Chapter 5-9
Stored Pattern
Exhaustive testing
Pseudo-random testing
Weighted Pseudorandom Testing
Pseudo-exhaustive testing
PING-LIANG LAI
LFSR
Chapter 5-10
LFSR Properties
Modular LFSR: each XOR gate placed between two adjacent D flip-flops
f ( x) 1 h1 x h2 x 2 hn 1 x n 1 x n
Where hi is either 1 or 0,depending on the feedback path
Fig. 7. A n-stage (internal-XOR) standard LFSR [Golomb 1982]
PING-LIANG LAI
Chapter 5-11
PING-LIANG LAI
Chapter 5-12
LFSR Properties
f(x) = 1+x+x4
The test sequences
generated by each LFSR,
when its initial contents, S0,
are set to {0001} or S0(x) =
x3
S i ( x) S i 0 S i1 x S i 2 x 2 S in 2 x n 2 S in 1 x n 1
If T is the smallest positive integer such that f(x) divides 1+xT, then
the integer T is called the period of the LFSR
PING-LIANG LAI
Chapter 5-13
PING-LIANG LAI
Exhaustive Testing
Chapter 5-14
Binary Counter
Exhaustive Testing
PING-LIANG LAI
Chapter 5-15
PING-LIANG LAI
Chapter 5-16
PING-LIANG LAI
Chapter 5-17
PING-LIANG LAI
Pseudo-Random Testing
Chapter 5-18
RP-Resistant Problem
Maximum-length LFSR
RP-resistant problem (Random-pattern resistant)
Weighted LFSR
Cellular Automata
PING-LIANG LAI
Chapter 5-19
PING-LIANG LAI
Chapter 5-20
PING-LIANG LAI
POC(m)={C(L, m)-1}/(2L-1)
Chapter 5-21
PING-LIANG LAI
Chapter 5-22
Ones count test circuit for testing the CUT with T patterns
log 2 ( L 1)
PING-LIANG LAI
Chapter 5-23
PING-LIANG LAI
Chapter 5-24
Signature Analysis
PING-LIANG LAI
Chapter 5-25
PING-LIANG LAI
Example 1
Chapter 5-26
A 4-stage SISR
Property
There are n FFs, thus must have xn and constant term 1
From the input, if the output of kth FF have XOR gate, then must have xk
Input
PING-LIANG LAI
Chapter 5-27
PING-LIANG LAI
Output
Chapter 5-28
Example 2 (1/2)
Example 2 (2/2)
M(x) = x7+x6+x5+x4+x2+1
f(x) = x3+x2+1
Output
Pass/Fail
Input
Output
PING-LIANG LAI
Chapter 5-29
PING-LIANG LAI
Input
000
11110101
001
1110101
011
110101
111
10101
010
0101
10
100
101
101
100
01
1011
101
10111
110
Quotient
Q3Q2Q1
Remainder
Chapter 5-30
Using an m-to-1 multiplexer, but this increases the test time m times
M(x) = M0(x)+xM1(x)++xn-2M2(x)++xn-1Mn-1(x)
E(x) = E0(x)+xE1(x)++xn-2E2(x)++xn-1En-1(x)
PING-LIANG LAI
Chapter 5-31
PING-LIANG LAI
Chapter 5-32
4-stage MISR
Divider Polynomial: f(x) = 1+x+x4
A 4-stage MISR
An equivalent M sequence
Aliasing probability
PPSA(n) = (2(mLn)1)/(2mL1)
PING-LIANG LAI
Chapter 5-33