Vlsi Testing
Vlsi Testing
Vlsi Testing
Jin-Fu
u Li
Advanced Reliable Systems (ARES) Laboratory
Department of Electrical Engineering
National Central University
Jhongli, Taiwan
Outline
Testing Process
Fault Modeling
Test Pattern Generation
Fault Simulation
Design-for-Testability
1
1
0 ((1))
1 s/1
0
POWER Output
O t t
Shorted
to 1
OUT
IN
GROUND
Test p
pattern ((vector)) for h s/0 fault
s/0, s/1
A B Cin0 Ai
Sumi
s/0, s/1 s/0, s/1
64 64 Bi
Cini s/0, s/1
s/0, s/1
s/1
E G4
c
Generate a appropriate value a=0.
a=0 A=B=C=1
Choose a path via G5b=1A=D=0. Contradiction!
Try another path via G6c
G6c=1C=1
1C 1 and E
E=0.
0. OK!
Therefore, T=ABCE
Evaluation
The fault simulator affects the speed of overall
f lt simulation
fault i l ti
1
Mode T1 T2
0
Normal 0 0
C1 C2 Test C1 0 1
Test C2 1 0
1
0
0 1 1 0
OP
C1
C2 C2
1
0
CP1
CP2
CP3 CP4
state
clk
PI PO
logic SFF
SFF
T
SCAN-IN
PI I1 I2 O1 O2 PO
Combinational
SCAN-IN
SCAN IN
SCAN OUT
SCAN-OUT
T
logic
Next
Presen S1 S2 N1 N2 t t
state
t
state
SCAN-IN S1 S2
T 0000000 1 0000000 1 0000000
PO O1 O2
SCAN-OUT N1 N2
Module 2
Voter Output
Module N
N-Modular Redundancy (NMR)
Instantaneous correction of errors caused by
temporary or permanent faults
Nonconcurrent (diagnostic routines):
Carried out while a system
y is in an idle state
Functional Circuit
PG (Ci
(Circuit
it U
Under
d Test)
T t) RA Go/No-Go
Go/No Go
Controller
BIST
Test generation
Prestored TPG, e.g., ROM or shift register
Exhaustive TPG,, e.g.,
g , binary
y counter
Pseudo-exhaustive TPG, e.g., constant-weight
counter, combined LFSR and SR
Pseudo-random
Pse do andom patte
patternn generator,
gene ato e.g.,
e g LFSR
Advanced Reliable Systems (ARES) Lab. Jin-Fu Li, EE, NCU 33
Introduction to Built-In Self-Test
Response analysis
Check-sum
Ones counting
Transition counting
P it checking
Parity h ki
Syndrome analysis
Etc
Etc.
Linear feedback shift register (LFSR) can be
both the test generator and response analyzer
We need a gold unit to generate the good
signature or a simulator
C1 C2 CN-1 CN
D FF D FF D FF
Y1 Y2 YN-1 YN
C1 C2 CN-1 CN
D FF D FF D FF
Y1 Y2 YN-1 YN
Advanced Reliable Systems (ARES) Lab. Jin-Fu Li, EE, NCU 35
Pseudorandom Pattern Generator (PRPG)
Example: the following ALFSR generates the
pseudorandom sequence shown in the table below
Q1 Q2 Q3 Q4 output
State 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15=0
Q1 1 1 1 1 0 1 0 1 1 0 0 1 0 0 0 1
Q2 0 1 1 1 1 0 1 0 1 1 0 0 1 0 0 0
Q3 0 0 1 1 1 1 0 1 0 1 1 0 0 1 0 0
Q4 0 0 0 1 1 1 1 0 1 0 1 1 0 0 1 0
PRPG
PIs
BSR
CUT
Testt
T
control
signal
POs
MISR