Unit Vi - Vlsi Testing & Analysis
Unit Vi - Vlsi Testing & Analysis
NESGI FOE 2
Types of Faults
Errors : An instance of an incorrect operation of the system being tested is referred
to as observed error
Design Errors Fabrication Fabrication Defects Physical Failure
Incomplete Wrong Imperfect Environmental
specification components manufacturing factors
Violation of incorrect wiring process Component
design rules Short caused by Improper doping wear out
Incorrect mapping incorrect soldering profiles
between different Mask alignment
level of designs errors
Poor encapsulation
Electrical
Logical stuck-at-0 or suck-at-1
faults
Slower transition (Delay fault)
translate
And bridging , OR bridging
into logical
faults
NESGI FOE 4
Need of Design for Testability
• 3 important attribute to testability are
– Controllability :
• Ability to establish a specific signal value at each node in a circuit by setting
values on the circuit’s input
– Obsevability :
• Ability to determine the signal value at any node in a circuit by controlling
the circuit’s inputs and observing the output
– Predictability :
• Ability to obtain known output values in response to given input input stimuli.
NOR
C1
Gate
.. C2
NESGI FOE 5
• Two types of test inputs
CP – Control point OP – Observation point
enhance controllability enhance obsevability
Jumper
G
C1
NOR
Gate A A .. C2
’
OP CP
G*
NOR
C1 Op= make the signal G*
Gate
CP
.. C2
directly observable
G* G’
C1
NOR
Gate
OR Gate .. C2
CP1
CP2
CP1=CP2=0, G’=G= normal opreation
CP1=1 G*=0 G’= CP2
NESGI FOE
6
Testability
Test Generation :
Process of determining the stimuli necessary to test digital simulation
Testability is a design characteristics that influence various cost associated with test
Design for testability technique are design efforts specially employed to ensure that
a device is testable
Test complexity can be converted into cost associated with the testing process.
Several fact to this cost are :
Cost of pattern generation
Cost of fault simulation
Generation of fault location information
Cost of equipements
Cost related to testing process itself
NESGI FOE 7
Testability Cont…
exceed
Cost of Cost of
test Cost of maintaini
Design
Generati manufact ng
Cost
on uring system
NESGI FOE 8
Fault Models
• Stuck at Model
NESGI FOE 9
Stuck at Model
a
W1 OR
GATE f
b
W2 AND
d
GATE
W3 c
NESGI FOE 10
False Detected by Various Input Valuations
Test Z a/0 a/1 b/1 c/0 c/1 d/0 d/1 f/0 f/1
000 0 0
001 0 0
010 0 0
011 1 1
100 1 0
101 1 0
110 1 0
111 1 1
Test Set : A Complete set of test used for a given circuit is referred to as a test
set. {100,101 and 110}
NESGI FOE 11
False Detected by Various Input Valuations
Test a/0 a/1 b/0 b/1 c/0 c/1 d/0 d/1 f/0 f/1
000
001
010
011
100
101
110
111
Test Set : A Complete set of test used for a given circuit is referred to as a test
set.
Test Set = {001,010,011,100}
NESGI FOE 12
Definitions
• Test Vector : An input vector for the circuit under test that causes the
presence of a fault to be observable at a primary output
• Detected faults : A fault for which a valid test vector has been generated.
• Undetected Faults : A fault for which a test vector has not been generated.
• Fault Coverage : the percentage of total fault for which test pattern have
been generated.
• Fault Efficiency : The percentage of faults that either are detected or proven
redundant.
NESGI FOE 13
x1
x2
Combo Circuit
x3 z
x4
z ( x 2 x3) x1 x 1 x 4
Q. Let fault be x4 stuck-at-0. Generate the test set for detection of fault?
T={ }
NESGI FOE 14
Bridging Fault Model
0
x1 AND
z1
OR GATE
x2
1
AND
z2
x3 GATE
1
NESGI FOE 15
Multiple Bridging Fault
N
a NAND
GATE
NAND
b GATE
Z
NAND M
c GATE
c GATE
a
W1 AND b
W2=1 GATE
c
NOR f
GATE AND
W3 = 0 GATE
W4 =1
NESGI FOE 18
Derive a Test Set based on Sensitized Path
W1 c
AND
GATE
W2
NOT OR
GATE GATE
f
b AND
GATE W4
d
W3
NESGI FOE 19
Steps
NESGI FOE 20
Sequential Circuit Test
• A combinational circuit is tested by comparing its behavior with
functionality specified in truth table.
• Similarly a sequential circuit is tested by comparing its behavior with the
functionality specified in the state table.
• A general model for sequential circuit
Z1 – Zm
Primary o/p’s
W1 – Wn
Combinational Circuit
Primary i/p’s
Present Next
Y1 Y1 state
state
variable - - variable
yk YK
Que. How to apply test vectors on present state input how to observe values on next
state output? NESGI FOE 21
Scan Path Arrangement
Scan out
Q2 D2 A Y2
Mux1
A
Q1 D1
Y1
y1 Mux2
Scan in
B
0101 1001
NESGI FOE 22
Q1
W
AND
Q2
W
AND OR Y1
W
Q1 AND OR
Q1 Y2 START
Q2
Y1
AND
Z
Scan out Scan in test vector into flip-
Q2 D2 A Y2 flop by setting scan =1
y2
Mux1
Apply W1-WN test vector
and perform manual
B
operations
• A small probability that signature of a faulty circuit with the same as good
circuits is called as aliasing or error masking given by
2 Lr 1
P
2L 1
• where
L – length of test sequence
r – length of signature register
P – probability of aliasing
NESGI FOE 24
+ Q0 Q1 Q2
1 0 0
D0 Q0 D1 Q1 D2 Q2 0 1 0
1 0 0
Q2
NAND
GATE
Q1
+ D0 R0 D1 R1 D2 R2
1 1 0 1
Z 1 0 1 0
0 0 0 0 0 0 1
25
0 1 0 0
NESGI FOE 25
+ Q0 Q1 Q2
1 0 0
D0 Q0 D1 Q1 D2 Q2 0 1 0
1 0 1
1 0 0
1 1 0
1 1 1
0 1 1
Q2
NAND 0 0 1
GATE 1 0 0
Q1
+ D0 R0 D1 R1 D2 R2
1 1 0 1 1 0 0 1
Z 1 0 1 0 1 0 0 0
0 0 0 0 0 0 1 0 1 0 0
26
0 1 0 0 0 0 1 0
NESGI FOE 26
Test Pattern Generation
• Test patterns are generated either by using :
– Pseudo random pattern generator
f ( x) x 3 x 1
f ( x) x m am 1 x m 1 a1 x 1
x 3 a2 x 2 a1 x 1
– Weighted test generator
NESGI FOE 27
Q0 Q1 Q2
1 1 1
Case I
f ( x) x 3 x 1
D0 Q0 D1 Q1 D2 Q2
1 1 1
Case II Q0 Q1 Q2
1 1 1
f ( x) x 3 x 2 1
D0 Q0 D1 Q1 D2 Q2
1110100
1 1 1
NESGI FOE 28
Q0 Q1 Q2
1 1 1
Case I
0 1 1
f ( x) x 3 x 1 0 0 1
1 0 0
+
0 1 0
1 0 1
D0 Q0 D1 Q1 D2 Q2
1 1 0
1 1 1 1110010 1 1 1
Case II Q0 Q1 Q2
1 1 1
f ( x) x 3 x 2 1
0 1 1
+ 1 0 1
0 1 0
D0 Q0 D1 Q1 D2 Q2 0 0 1
1110100 1 0 0
1 1 1 1 1 0
1 1 1
NESGI FOE 29
JTAG Boundary Scan
• To Ensure test development and testing of boards containing
these VLSI chip.
• Significantly more effective & less costly
– Joint Action Test Group (JTAG) Boundary Scan Standerd
– IEEE 1149.1 testability bus standard.
• To allow for efficient testing of board interconnect and to
facilitate isolation and testing of chips either via the test bus
or built in self test hardware.
NESGI FOE 30
IC with boundary scan register and
Test Access Port
Test bus circuitry consist of :
• A Test Access Port
consisting of the ports Boundary scan
associated with TMS, TCK, cells
TDI & TDO
• A TAP controller
• A scanable instruction
register & associated logic. Core Logic
• A group of scanable test
data register
IN
MUX OUT
MUX D Q D Q
A B
Mode_Control
SIN
ClockDR UpdateDR
ShiftDR
NESGI FOE 33
1 Test logic reset
1 1
0 1 Select IR-Scan
Select DR-Scan
0 Run test/ idle
0 0
Capture-DR 1 Capture-IR
1
0 0
0 Shift-IR 0
Shift-DR
1 1
Exit-DR Exit-IR
1
1 0
0
Pause-DR Pause-IR
0 0
1 1
0 0
Exit 2-DR Exit 2-IR
1 1
Update-DR Update-IR
1 1
0
NESGI FOE 0 34
Thank you !!!!
NESGI FOE 35