Topic - 14-Testing (1up)
Topic - 14-Testing (1up)
Testing
Peter Y. K. Cheung
Department of Electrical & Electronic Engineering
Imperial College London
URL: http://www.ee.ic.ac.uk/pcheung
K. Masselos http://cas.ee.ic.ac.uk/~kostas
J. Rabaey http://bwrc.eecs.berkeley.edu/Classes/IcBook/instructors.html
“Digital Integrated Circuits: A Design Perspective”, Prentice Hall
D. Harris http://www.cmosvlsi.com/coursematerials.html
Weste and Harris, “CMOS VLSI Design: A Circuits and Systems
Perspective”, Addison Wesley
Recommended Reading:
J. Rabaey et. al. “Digital Integrated Circuits: A Design Perspective”:
Design Methodology Insert H
DFT Mantra
Provide controllability and observability
Diagnostic test
• used in chip/board debugging
• defect localization
“go/no go” or production test
• Used in chip production
Parametric test
• x e [v,i] versus x e [0,1]
• check parameters such as NM, Vt, tp, T
Better yet, logic blocks could enter test mode where they generate test
patterns and report the results automatically.
Combinational Circuits:
controllable and observable - relatively easy to determine test patterns
Sequential Circuits: State!
Turn into combinational circuits or use self-test
Memory: requires complex patterns
Use self-test
α, γ : x1 sa1
β : x1 sa0 or
x2 sa0
γ : Z sa1
Sequential effect
Needs two vectors to ensure detection!
Possible approach:
Supply Current Measurement (IDDQ)
but: not applicable for gigascale
integration
Manufacturing test ideally would check every node in the circuit to prove it
is not stuck.
Apply the smallest sequence of test vectors necessary to prove each
node is not stuck.
Good observability and controllability reduces number of test vectors
required for manufacturing test.
• Reduces the cost of testing
• Motivates design-for-test
sa0
1
Fault enabling 1 1
1
1
1 0
Fault propagation
0
SA1 SA0
A3 {0110} {1110}
A2 {1010} {1110}
A1 {0100} {0110}
A0 {0110} {0111}
n1 {1110} {0110}
n2 {0110} {0100}
n3 {0101} {0110}
Y {0110} {1110}
Ad-hoc testing
Scan-based Test
Self-Test
Problem is getting harder
• increasing complexity and heterogeneous combination of modules in system
-on-a-chip.
• Advanced packaging and assembly techniques extend problem to the board
level
Contents of flops
can be scanned
out and new
values scanned
in
Chips with internal scan chains can access the chains through boundary
scan for unified test strategy.
Step Q
0 111
1 110
2 101
3 010
4 100
5 001
6 011
7 111 (repeats)