Testing 11
-
Upload
doomachaley -
Category
Documents
-
view
215 -
download
0
Transcript of Testing 11
![Page 1: Testing 11](https://reader031.fdocuments.us/reader031/viewer/2022021221/577c7b001a28abe05496db25/html5/thumbnails/1.jpg)
8/15/2019 Testing 11
http://slidepdf.com/reader/full/testing-11 1/18
Feb 13, 2008 E0-286@SERC 1
VLSI Testing
Testability Analysis
VLSI Testing
Testability Analysis
Virendra Singh
Indian Institute of Science (IISc)
Bangalore
E0-286: Testing and Verification of SoC Design
Lecture - 11
![Page 2: Testing 11](https://reader031.fdocuments.us/reader031/viewer/2022021221/577c7b001a28abe05496db25/html5/thumbnails/2.jpg)
8/15/2019 Testing 11
http://slidepdf.com/reader/full/testing-11 2/18
Feb 13, 2008 E0-286@SERC 2
Purpose
urpose
Need approximate measure of:
Difficulty of setting internal circuit lines to
0 or 1 by setting primary circuit inputs
Difficulty of observing internal circuit lines
by observing primary outputs
Uses:
Analysis of difficulty of testing internal
circuit parts – redesign or add special test
hardware
Guidance for algorithms computing test
patterns – avoid using hard-to-control lines
Estimation of fault coverage
Estimation of test vector length
![Page 3: Testing 11](https://reader031.fdocuments.us/reader031/viewer/2022021221/577c7b001a28abe05496db25/html5/thumbnails/3.jpg)
8/15/2019 Testing 11
http://slidepdf.com/reader/full/testing-11 3/18
Feb 13, 2008 E0-286@SERC 3
Origins
rigins
Control theory
Rutman 1972 -- First definition of controllability
Goldstein 1979 -- SCOAP
First definition of observability
First elegant formulation
First efficient algorithm to compute
controllability and observability
Parker & McCluskey 1975
Definition of Probabilistic Controllability
Brglez 1984 -- COP
1
st
probabilistic measures
Seth, Pan & Agrawal 1985 – PREDICT
1
st
exact probabilistic measures
![Page 4: Testing 11](https://reader031.fdocuments.us/reader031/viewer/2022021221/577c7b001a28abe05496db25/html5/thumbnails/4.jpg)
8/15/2019 Testing 11
http://slidepdf.com/reader/full/testing-11 4/18
Feb 13, 2008 E0-286@SERC 4
Testability Analysis
estability Analysis
Involves Circuit Topological analysis, but no
test vectors and no search algorithm
Static analysis
Linear computational complexity
Otherwise, is pointless – might as well use
automatic test-pattern generation and
calculate: Exact fault coverage
Exact test vectors
![Page 5: Testing 11](https://reader031.fdocuments.us/reader031/viewer/2022021221/577c7b001a28abe05496db25/html5/thumbnails/5.jpg)
8/15/2019 Testing 11
http://slidepdf.com/reader/full/testing-11 5/18
Feb 13, 2008 E0-286@SERC 5
Types of Measures
ypes of Measures
SCOAP – Sandia Controllability and Observability
Analysis Program
Combinational measures:
CC – Difficulty of setting circuit line to logic 0
CC1
– Difficulty of setting circuit line to logic 1
CO – Difficulty of observing a circuit line
Sequential measures – analogous:
SC
SC1
SO
![Page 6: Testing 11](https://reader031.fdocuments.us/reader031/viewer/2022021221/577c7b001a28abe05496db25/html5/thumbnails/6.jpg)
8/15/2019 Testing 11
http://slidepdf.com/reader/full/testing-11 6/18
Feb 13, 2008 E0-286@SERC 6
Range of SCOAP Measures
ange of SCOAP Measures
Controllabilities – 1 (easiest) to infinity (hardest)
Observabilities – 0 (easiest) to infinity (hardest)
Combinational measures:
Roughly proportional to circuit lines that
must be set to control or observe given line
Sequential measures:
Roughly proportional to times a flip-flop
must be clocked to control or observe given
line
![Page 7: Testing 11](https://reader031.fdocuments.us/reader031/viewer/2022021221/577c7b001a28abe05496db25/html5/thumbnails/7.jpg)
8/15/2019 Testing 11
http://slidepdf.com/reader/full/testing-11 7/18
Feb 13, 2008 E0-286@SERC 7
Goldstein’s SCOAP Measures
oldstein’s SCOAP Measures
AND gate O/P 0 controllability:
output_controllability = min (input_controllabilities)
+ 1
AND gate O/P 1 controllability:
output_controllability = (input_controllabilities)
+ 1
XOR gate O/P controllability
output_controllability = min (controllabilities of
each input set) + 1
Fanout Stem observability:
or min (some or all fanout branch observabilities)
![Page 8: Testing 11](https://reader031.fdocuments.us/reader031/viewer/2022021221/577c7b001a28abe05496db25/html5/thumbnails/8.jpg)
8/15/2019 Testing 11
http://slidepdf.com/reader/full/testing-11 8/18
Feb 13, 2008 E0-286@SERC 8
Controllability Examples
ontrollability Examples
![Page 9: Testing 11](https://reader031.fdocuments.us/reader031/viewer/2022021221/577c7b001a28abe05496db25/html5/thumbnails/9.jpg)
8/15/2019 Testing 11
http://slidepdf.com/reader/full/testing-11 9/18
Feb 13, 2008 E0-286@SERC 9
Controllability Examples
ontrollability Examples
![Page 10: Testing 11](https://reader031.fdocuments.us/reader031/viewer/2022021221/577c7b001a28abe05496db25/html5/thumbnails/10.jpg)
8/15/2019 Testing 11
http://slidepdf.com/reader/full/testing-11 10/18
Feb 13, 2008 E0-286@SERC 10
Observability Examples
bservability Examples
To observe a gate input:
Observe output and make other input values non-controlling
![Page 11: Testing 11](https://reader031.fdocuments.us/reader031/viewer/2022021221/577c7b001a28abe05496db25/html5/thumbnails/11.jpg)
8/15/2019 Testing 11
http://slidepdf.com/reader/full/testing-11 11/18
Feb 13, 2008 E0-286@SERC 11
Observability Examples
bservability Examples
To observe a fanout stem:
Observe it through branch with best observability
![Page 12: Testing 11](https://reader031.fdocuments.us/reader031/viewer/2022021221/577c7b001a28abe05496db25/html5/thumbnails/12.jpg)
8/15/2019 Testing 11
http://slidepdf.com/reader/full/testing-11 12/18
Feb 13, 2008 E0-286@SERC 12
Levelization Algorithm
evelization Algorithm
Label each gate with max of logic levels from
primary inputs or with max of logic levels from
primary output
Assign level 0 to all
primary inputs
(PIs)
For each PI fanout:
Label that line with the PI level number, &
Queue logic gate driven by that fanout
While queue is not empty:
Dequeue next logic gate
If all gate inputs have level ’s, label the gate
with the maximum of them + 1;
Else, requeue the gate
![Page 13: Testing 11](https://reader031.fdocuments.us/reader031/viewer/2022021221/577c7b001a28abe05496db25/html5/thumbnails/13.jpg)
8/15/2019 Testing 11
http://slidepdf.com/reader/full/testing-11 13/18
Feb 13, 2008 E0-286@SERC 13
Controllability - Level 0
ontrollability - Level 0
Circled numbers give level number. (CC0, CC1)
![Page 14: Testing 11](https://reader031.fdocuments.us/reader031/viewer/2022021221/577c7b001a28abe05496db25/html5/thumbnails/14.jpg)
8/15/2019 Testing 11
http://slidepdf.com/reader/full/testing-11 14/18
Feb 13, 2008 E0-286@SERC 14
Controllability - Level 2
ontrollability - Level 2
![Page 15: Testing 11](https://reader031.fdocuments.us/reader031/viewer/2022021221/577c7b001a28abe05496db25/html5/thumbnails/15.jpg)
8/15/2019 Testing 11
http://slidepdf.com/reader/full/testing-11 15/18
Feb 13, 2008 E0-286@SERC 15
Combinational ControllabilityCombinational Controllability
![Page 16: Testing 11](https://reader031.fdocuments.us/reader031/viewer/2022021221/577c7b001a28abe05496db25/html5/thumbnails/16.jpg)
8/15/2019 Testing 11
http://slidepdf.com/reader/full/testing-11 16/18
Feb 13, 2008 E0-286@SERC 16
Observability for Level 1
bservability for Level 1
Number in square box is level from primary outputs (POs).
(CC0, CC1) CO
![Page 17: Testing 11](https://reader031.fdocuments.us/reader031/viewer/2022021221/577c7b001a28abe05496db25/html5/thumbnails/17.jpg)
8/15/2019 Testing 11
http://slidepdf.com/reader/full/testing-11 17/18
Feb 13, 2008 E0-286@SERC 17
Observabilities - Level 2
bservabilities - Level 2
![Page 18: Testing 11](https://reader031.fdocuments.us/reader031/viewer/2022021221/577c7b001a28abe05496db25/html5/thumbnails/18.jpg)
8/15/2019 Testing 11
http://slidepdf.com/reader/full/testing-11 18/18
Feb 13, 2008 E0-286@SERC 18
Thank Youhank You