Professional Documents
Culture Documents
Cheng-Wen Wu
Lab for Reliable Computing Dept. Electrical Engineering National Tsing Hua University
Outline
Introduction Off-line BIST Test generation and response analysis for BIST Pseudo random pattern generation Signature analysis Multiple-input signature register (MISR) Examples
STUMPS PS-BIST
bist6.03
On-Line BIST
Concurrent (EDAC, NMR, totally selfchecking checker, etc.)
Coding or modular redundancy techniques
(fault tolerance)
Instantaneous correction of errors caused
state
bist6.03 Cheng-Wen Wu, NTHU 5
Off-Line BIST
TPG
RA
Go/No-go
6
bist6.03
multiplication, & delay Nonlinear operations: AND, OR, NAND, NOR, etc.
LFSR can be both the test generator (pseudorandom pattern generator) and response analyzer (signature analyzer) Registers often occur naturally in the design
Reconfigured into LFSRs during test mode
bist6.03 Cheng-Wen Wu, NTHU 9
D1
D2
D3
D4
D5
an=an-3+an-5
n
c(x)=x5+x3+1
sequence
110 011 111 101 100 010 001
110
10
length 3, etc. Runs of 1s and 0s terminate with runs of length n and n-1, respectively. Except for these terminating lengths, there are equally many runs of 1s and 0s. The total number of n-1 1-runs equals that of 0-runs. Number of runs in a period is 2 [Run Property] n-1 The number of transitions is 2 -1 [Transition Property]
The sum of any bit sequences and a cyclic shift of itself is another cyclic shift of itself [Shift-and-Add Property]
bist6.03 Cheng-Wen Wu, NTHU 11
D1
D2
D3
D4
D5
q(x)
Type 1
m(x)
D1
D2
D3
D4
D5
q(x)
Signature (s(x)) is the final state of the LFSR Aliasing probability is close to 1/2n
bist6.03 Cheng-Wen Wu, NTHU 12
Type-2 LFSR
m(x)
D1
D2
D3
D4
D5
q(x)
bist6.03
14
CUT
I1 I2
D1
I3
D2
I4
D3
D4
The mathematical theory is a direct extension of the results of LFSR Aliasing probability is also close to 1/2n
bist6.03 Cheng-Wen Wu, NTHU 15
Primitive Polynomials
10 940 17 3 0 25 3 0 33 13 0 41 3 0 49 9 0 57 7 0 210 10 3 0 18 7 0 26 8 7 1 0 310 11 2 0 19 6 5 1 0 27 8 7 1 0 410 12 7 4 3 0 20 3 0 28 3 0 36 11 0 520 13 4 3 1 0 21 2 0 29 2 0 610 710 86510 16 5 3 2 0 24 4 3 1 0 32 28 27 10 40 21 19 20 48 28 27 10 56 22 21 10 64 4 3 1 0 14 12 11 15 1 0 10 22 1 0 23 5 0
30 16 15 31 3 0 10 39 4 0
34 15 14 35 2 0 10 42 23 22 43 6 5 1 10 0
37 12 10 38 6 5 1 20 0
44 27 26 45 4 3 1 10 0
46 21 20 47 5 0 10
50 27 26 51 16 15 52 3 0 10 10 58 19 0 59 22 21 60 1 0 10
53 16 15 54 37 36 55 24 0 10 10 61 16 15 62 57 56 63 1 0 10 10
bist6.03
16
CA rules:
111 110 101 100 011 010 001 000 Rule 90 0 1 0 1 1 0 1 0 0 0 1 0 1 1 0 Rule 150 1
bist6.03
17
LHCA-Based PRPG
0
150
90
150
90
150
90
Most popular CA PRPG: interleaved cells with rules 150 and 90, respectively
Called linear hybrid CA (LHCA) As LFSR, aliasing probability = 1/2 No global feedback lines
18
bist6.03
Test-Per-Clock
Test applied and response compressed in every clock cycle, e.g., BILBO [Konemann et al., 1979] and circular BIST [Krasniewski et al., 1989]
Hybrid
PSBIST [Lin et al. 1993]
bist6.03
19
M I S R
CUT
Scan Chain n-1 Scan Chain n
Self-Test Using MISR and Parallel SRSG Full scan with multiple scan chains
bist6.03 Cheng-Wen Wu, NTHU 20
Test-Per-Clock LBIST
x Combinational Logic z Also based on scan design
Short test time At-speed testing
bist6.03 Cheng-Wen Wu, NTHU 21
y PRPG MISR Y
SI SO
Circular BIST
x LFSR
Mux
SI SO
bist6.03
22
Solutions:
Weighted random pattern generator Test-point insertion Embedded patterns
bist6.03
23
Weighted PRPG
bist6.03
24
M I S R
CUT
Scan Chain n-1 Scan Chain n
Phase shifter (PS) reduces the impact of structural dependencies Can support more scan chains than #FFs in PRPG
bist6.03 Cheng-Wen Wu, NTHU 25
CP S OP
bist6.03
Combinational Logic
S C
from ops
PO
M I
L F S R P S
S R
X-bounding or X-blocking:
Any unknown (X) source in the BIST-ready core that can
propagate its unknown (X) value to the RA directly or indirectly must be blocked and fixed using a DFT repair approach
bist6.03
28
Staggered Skewed-load
bist6.03
29
Staggered Double-capture
bist6.03
30