Professional Documents
Culture Documents
Testability Analysis
Testability
A relative measure of the effort or cost of testing a logic circuit
Testability Analysis
The process of assessing the testability of a logic circuit
Sushanta K. Mandal
Testability Analysis
Controllability
Difficulty of setting internal signal lines to 0 or 1 by setting primary input values.
Observability
Difficulty of observing internal signal lines by observing primary outputs.
Difficulty of propagating the logic value of the signal line to primary outputs.
Sushanta K. Mandal PGVE-203 Testing of VLSI Circuits Spring 2012 3
Sushanta K. Mandal
Origin
Control theory Rutman 1972
First definition of controllability.
Combinational measures:
CC0 Difficulty of setting circuit line to logic 0 CC1 Difficulty of setting circuit line to logic 1 CO Difficulty of observing a circuit line
Observability
Value ranges from 0 (easiest) to infinity (hardest).
Sushanta K. Mandal
SCOAP Measures
For each logic gate in the path add 1 to the controllability. If a logic gate output is produced by setting only one input to a controlling value, then:
Output controllability = min (input controllabilities) + 1
If a logic gate output can only be produced by setting all inputs to a non-controlling value:
Output controllability = (input controllabilities) + 1
Sushanta K. Mandal
SCOAP Measures
If an output can be controlled by multiple input sets (e.g., a two-input XOR gate where 01 and 10 input sets will both cause a 1 output)
output controllability = min (controllabilities of each input set) + 1
Sushanta K. Mandal
Sushanta K. Mandal
10
Sushanta K. Mandal
11
Sushanta K. Mandal
12
Sushanta K. Mandal
13
Sushanta K. Mandal
14
1,1(5, )
8
1,1(5) (6) (6) (5)
x 2,3(4, )
8
2,3(4)
6,2(0)
4,2(0)
1,1(4,6)
(4,6)
y z
8
2,3(4)
2,3(4, )
1,1(6)
Sushanta K. Mandal
1,1(5, )
8
PGVE-203 Testing of VLSI Circuits Spring 2012 15
Sequential Example
Sushanta K. Mandal
16
Sushanta K. Mandal
17
Sushanta K. Mandal
18
Sushanta K. Mandal
19
Sushanta K. Mandal
20
Sushanta K. Mandal
21
Sushanta K. Mandal
22
Sequential
Increment SC0, SC1, SO only when you pass through a flip-flop, either forward or backward.
Both
Must iterate on feedback loops until controllabilities stabilize.
Sushanta K. Mandal PGVE-203 Testing of VLSI Circuits Spring 2012 23
D Flip-Flop Equations
Assume a synchronous RESET line. CC1 (Q) = CC1 (D) + CC1 (C) + CC0 (C) + CC0 (RESET) SC1 (Q) = SC1 (D) + SC1 (C) + SC0 (C) + SC0 (RESET) + 1 CC0 (Q) = min [CC1 (RESET) + CC1 (C) + CC0 (C), CC0 (D) + CC1 (C) + CC0 (C)] SC0 (Q) is analogous CO (D) = CO (Q) + CC1 (C) + CC0 (C) + CC0 (RESET) SO (D) is analogous
Sushanta K. Mandal
24
CO (C) = min [ CO (Q) + CC1 (Q) + CC0 (D) + CC1 (C) + CC0 (C), CO (Q) + CC1 (Q) + CC1 (RESET) + CC1 (C) + CC0 (C), CO (Q) + CC0 (Q) + CC0 (RESET) + CC1 (D) + CC1 (C) + CC0 (C)] SO (C) is analogous
Sushanta K. Mandal PGVE-203 Testing of VLSI Circuits Spring 2012 25
Work from POs to PIs, Use CO, SO, and controllabilities to get observabilities
Fanout stem (CO, SO) = min branch (CO, SO) If a CC or SC (CO or SO) is , that node is uncontrollable (unobservable)
Sushanta K. Mandal PGVE-203 Testing of VLSI Circuits Spring 2012 26
Sushanta K. Mandal
27
After 1 Iteration
Sushanta K. Mandal
28
After 2 Iteration
Sushanta K. Mandal
29
After 3 Iteration
Sushanta K. Mandal
30
Sushanta K. Mandal
31
Sushanta K. Mandal
32