SlideShare a Scribd company logo
Deterministic Test
Pattern Generation
Dr Usha Mehta
usha.mehta@ieee.org
usha.mehta@nirmauni.ac.in
Acknowledge
• This presentation has been summarized from
various books, papers, websites and
presentations on VLSI Design and its various
topics all over the world. I couldn’t itemwise
mention from where these large pull of hints
and work come. However, I’d like to thank all
professors and scientists who created such a
good work on this emerging field. Without
those efforts in this very emerging technology,
these notes and slides can’t be finished.
2
DrUshaMehta05-10-2019
Simple Illustration of
ATPG
• Consider the fault d/1 in the defective circuit
• Need to distinguish the output of the defective
circuit from the defect-free circuit
• Need: set d=0 in the defect-free circuit
• Need: propagate effect of fault to output
• Vector: abc=001 (output = 0/1)
3
DrUshaMehta05-10-2019
4
DrUshaMehta05-10-2019
• Instead of using two circuits (fault-free and
the faulty)
• We will solve the ATPG problem on one
single circuit
• To do so, every signal value must be able
to capture fault-free and faulty values
simultaneously
• 5-Value Algebra: 0, 1, X, D, D-bar
• D: 1/0 fault free/faulty
• D-bar: 0/1 5
DrUshaMehta05-10-2019
Notations….
• For fault to be detected, the corresponding output of the circuit
should be different in case of circuit is faulty and faultfree.
6
DrUshaMehta05-10-2019
Boolean Algebra on 5-
Valued Logic
7
DrUshaMehta05-10-2019
Basic ATPG Algorithm
Path Sensitization Method
• Initialize all inputs with X
• Activate the fault s-a-v by justifying the line to
value v’
• Propagate the fault effect to PO
8
DrUshaMehta05-10-2019
Fault Excitation
• Fault excitation – the signal value at the fault
site must be different from the value of the
stuck-at fault (thus fault site must contain a D
or a D’)
• Propagation: The fault effect must be
propagated to a primary output (a D or a D’
must appear at the output)
• Some simple observations
• There must be at least a D or a D’ on some
circuit nets
• Ds must form a chain to some output 9
DrUshaMehta05-10-2019
Justify
10
DrUshaMehta05-10-2019
Propagate
11
DrUshaMehta05-10-2019
Controlling and Inversion
Value
• Controlling value for AND and NAND is 0 while for
OR and NOR, it is 1
• Inversion value for NOT, NOR and NAND is 1 while
for ND and OR, it is 0
12
DrUshaMehta05-10-2019
One example…..
13
DrUshaMehta05-10-2019
Contd.
14
DrUshaMehta05-10-2019
Contd.
15
DrUshaMehta05-10-2019
Contd.
16
DrUshaMehta05-10-2019
Algorithm for
Combinational ATPG
17
DrUshaMehta05-10-2019
Algorithm for Combinational ATPG
contd.
18
DrUshaMehta05-10-2019
Algorithm for Combinational ATPG
contd.
19
DrUshaMehta05-10-2019
Algorithm for Combinational ATPG
contd.
20
DrUshaMehta05-10-2019
While applying deterministic test
pattern generation…..
• To start the procedure, We need to select one fault
from the list
• Which fault to consider first
• Once we have selected a fault, we need to select the
paths
• Which path for fault propagation….
• Which path for fault justification…
21
DrUshaMehta05-10-2019
•Which to choose first?
•Easy or hard????
•What is your answer? Why?
22
DrUshaMehta05-10-2019
23
DrUshaMehta05-10-2019
Paradox of Choice…
• Many of the times, you need to exercise one or few
options from given list and if you succeed with
them, you are done.
• e.g. Question paper stating: Attempt any five
questions.
• “Which question to attempt first”
• Hard or easy?
• EASY
• Some times, you need to select all the options and
ned to succeed in all.
• e.g. The six courses of Sem. II
• “Which course to prepare first”
• Hard or easy?
• HARD 24
DrUshaMehta05-10-2019
Different Heuristics
• Target to generate tests for easy faults first
• More No. of faults will be covered in less time. Hard
faults may be neglected at the end….
• Target to generate tests for hard faults first
• Any time, a hard fault is detected by a test vector,
there is a chance that the same test vector detects lot
more faults.
25
DrUshaMehta05-10-2019
How to judge the fault?
• The fault can be tested easily or with hardship,
depends on
• The efforts required to set that net with a specific
value
• The efforts required to set that net with a specific
value
• i.e. if you want to test s-a-1 on net n, you would try to
set n to value ‘0’
26
DrUshaMehta05-10-2019
Which fault is easy/hard?
• The fault is easy or hard based on
• difficulty involved in setting the corresponding
• inputs to specific values (controlling the inputs)
• Checking the outputs for correctness (observing the
output)
27
DrUshaMehta05-10-2019
Testability Measures
• 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
28
DrUshaMehta05-10-2019
Which fault is easy/hard?
• The fault is easy or hard based on
• difficulty involved in setting the corresponding
• inputs to specific values (controlling the inputs)
• Checking the outputs for correctness (observing the output)
Easy/hard can be determined
• Distance from PIs and POs
• Testability measures
• Probabilities !!!!
29
DrUshaMehta05-10-2019
Testability Measures
• 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
30
DrUshaMehta05-10-2019
Sandia Controllability and Observability Analysis
Program (SCOAP)
• 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 and Exact test vectors
31
DrUshaMehta05-10-2019
• 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
• Sequential measures – analogous:
• SC0
• SC1
• SO
32
DrUshaMehta05-10-2019
• 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
33
DrUshaMehta05-10-2019
Controllability
34
DrUshaMehta05-10-2019
Observability
35
DrUshaMehta05-10-2019
Develop your own ATPG
• Algorithms …..
• Run by computing machines….
• What can be inputs to algorithm?……
• And outputs…….
• Netlist
• Fault list
• Test set
36
DrUshaMehta05-10-2019
Future Scope
• This tool can be further developed with higher fanout
branches and fan in for gates capabilities.
• It can further accommodate the XOR, XNOR types of
gates also.
• When there is a contradiction for reconvergent fan
out, it chooses the second option based on nearby
controllability value. With this if still the problem is
not solved, such faults can be referred to advanced
ATPGs.
• For that link to those tools can be applied. Or fault
coverage loss because of such case can be calculated.
Based on list of test vectors generated, test
compaction can be applied.
37
DrUshaMehta05-10-2019
Thanks!
38
DrUshaMehta05-10-2019

More Related Content

PDF
Fault Simulation (Testing of VLSI Design)
PDF
2019 5 testing and verification of vlsi design_fault_modeling
PDF
Automatic Test Pattern Generation (Testing of VLSI Design)
PPT
01 Transition Fault Detection methods by Swetha
PDF
Design-for-Test (Testing of VLSI Design)
PDF
BUilt-In-Self-Test for VLSI Design
PDF
ATPG Methods and Algorithms
PDF
DFT-Lecture regarding the JTAG, MBIST introduction to DFT
Fault Simulation (Testing of VLSI Design)
2019 5 testing and verification of vlsi design_fault_modeling
Automatic Test Pattern Generation (Testing of VLSI Design)
01 Transition Fault Detection methods by Swetha
Design-for-Test (Testing of VLSI Design)
BUilt-In-Self-Test for VLSI Design
ATPG Methods and Algorithms
DFT-Lecture regarding the JTAG, MBIST introduction to DFT

What's hot (20)

PDF
2019 2 testing and verification of vlsi design_verification
PDF
Introduction of testing and verification of vlsi design
PPTX
DRCs.pptx
PDF
Sta by usha_mehta
PPTX
Design for testability and automatic test pattern generation
PDF
2 when to_test_role_of_testing
PDF
11 static timing_analysis_2_combinational_design
PPTX
ATPG flow chart
PDF
Design for Testability
PDF
12 static timing_analysis_3_clocked_design
PPTX
Scan insertion
PDF
5 verification methods
PDF
2019 1 testing and verification of vlsi design_introduction
PPT
Level sensitive scan design(LSSD) and Boundry scan(BS)
PDF
3 test economic_test_equipments_yield
PDF
14 static timing_analysis_5_clock_domain_crossing
PPTX
Spyglass dft
PDF
Loc, los and loes at speed testing methodologies for automatic test pattern g...
PDF
VLSI testing and analysis
2019 2 testing and verification of vlsi design_verification
Introduction of testing and verification of vlsi design
DRCs.pptx
Sta by usha_mehta
Design for testability and automatic test pattern generation
2 when to_test_role_of_testing
11 static timing_analysis_2_combinational_design
ATPG flow chart
Design for Testability
12 static timing_analysis_3_clocked_design
Scan insertion
5 verification methods
2019 1 testing and verification of vlsi design_introduction
Level sensitive scan design(LSSD) and Boundry scan(BS)
3 test economic_test_equipments_yield
14 static timing_analysis_5_clock_domain_crossing
Spyglass dft
Loc, los and loes at speed testing methodologies for automatic test pattern g...
VLSI testing and analysis
Ad

Similar to Deterministic Test Pattern Generation ( D-Algorithm of ATPG) (Testing of VLSI Design) (20)

PPTX
Module 2 -Test Generation VLSI DESIGN .pptx
PPT
14911259.ppt
PPT
4366 chapter7
PDF
IMPLEMENTATION OF COMPACTION ALGORITHM FOR ATPG GENERATED PARTIALLY SPECIFIED...
PDF
Advanced atpg based on fan, testability measures and fault reduction
PDF
Design and Implementation of Test Vector Generation using Random Forest Techn...
PPTX
1.Week1.pptx
PDF
Effective Test Suites for ! Mixed Discrete-Continuous Stateflow Controllers
PDF
Faults in Digital VLSI Circuits
PPT
Soc.pptx
PDF
Combinational & Sequential ATPG.pdf
PDF
Podem_Report
PPTX
Contest_algorithm in VLSI testing .pptx
PDF
NG3S903 - Electronic Systems Engineering - Fault Modelling Techniques
PPTX
Test pattern Generation for 4:1 MUX
PPT
Applications of ATPG
PPTX
L1_fault modeling_121.pptx
PDF
Bt34433436
PPTX
Unit-IV vlsitgajjshhrhudhdhhdhxhhdbdhd.pptx
PPTX
Design for testability for Beginners PPT for FDP.pptx
Module 2 -Test Generation VLSI DESIGN .pptx
14911259.ppt
4366 chapter7
IMPLEMENTATION OF COMPACTION ALGORITHM FOR ATPG GENERATED PARTIALLY SPECIFIED...
Advanced atpg based on fan, testability measures and fault reduction
Design and Implementation of Test Vector Generation using Random Forest Techn...
1.Week1.pptx
Effective Test Suites for ! Mixed Discrete-Continuous Stateflow Controllers
Faults in Digital VLSI Circuits
Soc.pptx
Combinational & Sequential ATPG.pdf
Podem_Report
Contest_algorithm in VLSI testing .pptx
NG3S903 - Electronic Systems Engineering - Fault Modelling Techniques
Test pattern Generation for 4:1 MUX
Applications of ATPG
L1_fault modeling_121.pptx
Bt34433436
Unit-IV vlsitgajjshhrhudhdhhdhxhhdbdhd.pptx
Design for testability for Beginners PPT for FDP.pptx
Ad

More from Usha Mehta (20)

PDF
Basic Design Flow for Field Programmable Gate Arrays
PDF
Field Programmable Gate Arrays : Architecture
PDF
Programmable Logic Devices : SPLD and CPLD
PDF
Programmable Switches for Programmable Logic Devices
PDF
2_DVD_ASIC_Design_FLow.pdf
PDF
3_DVD_IC_Fabrication_Flow_designer_perspective.pdf
PDF
7_DVD_Combinational_MOS_Logic_Circuits.pdf
PDF
5_DVD_VLSI Technology Trends.pdf
PDF
8_DVD_Sequential_MOS_logic_circuits.pdf
PDF
9_DVD_Dynamic_logic_circuits.pdf
PDF
13_DVD_Latch-up_prevention.pdf
PDF
Static_Timing_Analysis_in_detail.pdf
PDF
9 semiconductor memory
PDF
13 static timing_analysis_4_set_up_and_hold_time_violation_remedy
PDF
10 static timing_analysis_1_concept_of_timing_analysis
PDF
6 verification tools
PDF
4 verification flow_planning
PDF
1 why to_test
PDF
1 why to_test
PDF
Verification flow and_planning_vlsi_design
Basic Design Flow for Field Programmable Gate Arrays
Field Programmable Gate Arrays : Architecture
Programmable Logic Devices : SPLD and CPLD
Programmable Switches for Programmable Logic Devices
2_DVD_ASIC_Design_FLow.pdf
3_DVD_IC_Fabrication_Flow_designer_perspective.pdf
7_DVD_Combinational_MOS_Logic_Circuits.pdf
5_DVD_VLSI Technology Trends.pdf
8_DVD_Sequential_MOS_logic_circuits.pdf
9_DVD_Dynamic_logic_circuits.pdf
13_DVD_Latch-up_prevention.pdf
Static_Timing_Analysis_in_detail.pdf
9 semiconductor memory
13 static timing_analysis_4_set_up_and_hold_time_violation_remedy
10 static timing_analysis_1_concept_of_timing_analysis
6 verification tools
4 verification flow_planning
1 why to_test
1 why to_test
Verification flow and_planning_vlsi_design

Recently uploaded (20)

PPTX
UNIT-1 - COAL BASED THERMAL POWER PLANTS
PPTX
CH1 Production IntroductoryConcepts.pptx
PDF
Model Code of Practice - Construction Work - 21102022 .pdf
PDF
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
PDF
PPT on Performance Review to get promotions
PDF
Automation-in-Manufacturing-Chapter-Introduction.pdf
PPTX
UNIT 4 Total Quality Management .pptx
DOCX
573137875-Attendance-Management-System-original
PPTX
bas. eng. economics group 4 presentation 1.pptx
PPTX
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
PPTX
CYBER-CRIMES AND SECURITY A guide to understanding
PDF
Embodied AI: Ushering in the Next Era of Intelligent Systems
PPTX
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
PPTX
Sustainable Sites - Green Building Construction
PPTX
web development for engineering and engineering
PDF
Digital Logic Computer Design lecture notes
PPT
CRASH COURSE IN ALTERNATIVE PLUMBING CLASS
PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
UNIT-1 - COAL BASED THERMAL POWER PLANTS
CH1 Production IntroductoryConcepts.pptx
Model Code of Practice - Construction Work - 21102022 .pdf
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
PPT on Performance Review to get promotions
Automation-in-Manufacturing-Chapter-Introduction.pdf
UNIT 4 Total Quality Management .pptx
573137875-Attendance-Management-System-original
bas. eng. economics group 4 presentation 1.pptx
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
CYBER-CRIMES AND SECURITY A guide to understanding
Embodied AI: Ushering in the Next Era of Intelligent Systems
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
Sustainable Sites - Green Building Construction
web development for engineering and engineering
Digital Logic Computer Design lecture notes
CRASH COURSE IN ALTERNATIVE PLUMBING CLASS
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx

Deterministic Test Pattern Generation ( D-Algorithm of ATPG) (Testing of VLSI Design)

  • 1. Deterministic Test Pattern Generation Dr Usha Mehta usha.mehta@ieee.org usha.mehta@nirmauni.ac.in
  • 2. Acknowledge • This presentation has been summarized from various books, papers, websites and presentations on VLSI Design and its various topics all over the world. I couldn’t itemwise mention from where these large pull of hints and work come. However, I’d like to thank all professors and scientists who created such a good work on this emerging field. Without those efforts in this very emerging technology, these notes and slides can’t be finished. 2 DrUshaMehta05-10-2019
  • 3. Simple Illustration of ATPG • Consider the fault d/1 in the defective circuit • Need to distinguish the output of the defective circuit from the defect-free circuit • Need: set d=0 in the defect-free circuit • Need: propagate effect of fault to output • Vector: abc=001 (output = 0/1) 3 DrUshaMehta05-10-2019
  • 5. • Instead of using two circuits (fault-free and the faulty) • We will solve the ATPG problem on one single circuit • To do so, every signal value must be able to capture fault-free and faulty values simultaneously • 5-Value Algebra: 0, 1, X, D, D-bar • D: 1/0 fault free/faulty • D-bar: 0/1 5 DrUshaMehta05-10-2019
  • 6. Notations…. • For fault to be detected, the corresponding output of the circuit should be different in case of circuit is faulty and faultfree. 6 DrUshaMehta05-10-2019
  • 7. Boolean Algebra on 5- Valued Logic 7 DrUshaMehta05-10-2019
  • 8. Basic ATPG Algorithm Path Sensitization Method • Initialize all inputs with X • Activate the fault s-a-v by justifying the line to value v’ • Propagate the fault effect to PO 8 DrUshaMehta05-10-2019
  • 9. Fault Excitation • Fault excitation – the signal value at the fault site must be different from the value of the stuck-at fault (thus fault site must contain a D or a D’) • Propagation: The fault effect must be propagated to a primary output (a D or a D’ must appear at the output) • Some simple observations • There must be at least a D or a D’ on some circuit nets • Ds must form a chain to some output 9 DrUshaMehta05-10-2019
  • 12. Controlling and Inversion Value • Controlling value for AND and NAND is 0 while for OR and NOR, it is 1 • Inversion value for NOT, NOR and NAND is 1 while for ND and OR, it is 0 12 DrUshaMehta05-10-2019
  • 18. Algorithm for Combinational ATPG contd. 18 DrUshaMehta05-10-2019
  • 19. Algorithm for Combinational ATPG contd. 19 DrUshaMehta05-10-2019
  • 20. Algorithm for Combinational ATPG contd. 20 DrUshaMehta05-10-2019
  • 21. While applying deterministic test pattern generation….. • To start the procedure, We need to select one fault from the list • Which fault to consider first • Once we have selected a fault, we need to select the paths • Which path for fault propagation…. • Which path for fault justification… 21 DrUshaMehta05-10-2019
  • 22. •Which to choose first? •Easy or hard???? •What is your answer? Why? 22 DrUshaMehta05-10-2019
  • 24. Paradox of Choice… • Many of the times, you need to exercise one or few options from given list and if you succeed with them, you are done. • e.g. Question paper stating: Attempt any five questions. • “Which question to attempt first” • Hard or easy? • EASY • Some times, you need to select all the options and ned to succeed in all. • e.g. The six courses of Sem. II • “Which course to prepare first” • Hard or easy? • HARD 24 DrUshaMehta05-10-2019
  • 25. Different Heuristics • Target to generate tests for easy faults first • More No. of faults will be covered in less time. Hard faults may be neglected at the end…. • Target to generate tests for hard faults first • Any time, a hard fault is detected by a test vector, there is a chance that the same test vector detects lot more faults. 25 DrUshaMehta05-10-2019
  • 26. How to judge the fault? • The fault can be tested easily or with hardship, depends on • The efforts required to set that net with a specific value • The efforts required to set that net with a specific value • i.e. if you want to test s-a-1 on net n, you would try to set n to value ‘0’ 26 DrUshaMehta05-10-2019
  • 27. Which fault is easy/hard? • The fault is easy or hard based on • difficulty involved in setting the corresponding • inputs to specific values (controlling the inputs) • Checking the outputs for correctness (observing the output) 27 DrUshaMehta05-10-2019
  • 28. Testability Measures • 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 28 DrUshaMehta05-10-2019
  • 29. Which fault is easy/hard? • The fault is easy or hard based on • difficulty involved in setting the corresponding • inputs to specific values (controlling the inputs) • Checking the outputs for correctness (observing the output) Easy/hard can be determined • Distance from PIs and POs • Testability measures • Probabilities !!!! 29 DrUshaMehta05-10-2019
  • 30. Testability Measures • 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 30 DrUshaMehta05-10-2019
  • 31. Sandia Controllability and Observability Analysis Program (SCOAP) • 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 and Exact test vectors 31 DrUshaMehta05-10-2019
  • 32. • 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 • Sequential measures – analogous: • SC0 • SC1 • SO 32 DrUshaMehta05-10-2019
  • 33. • 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 33 DrUshaMehta05-10-2019
  • 36. Develop your own ATPG • Algorithms ….. • Run by computing machines…. • What can be inputs to algorithm?…… • And outputs……. • Netlist • Fault list • Test set 36 DrUshaMehta05-10-2019
  • 37. Future Scope • This tool can be further developed with higher fanout branches and fan in for gates capabilities. • It can further accommodate the XOR, XNOR types of gates also. • When there is a contradiction for reconvergent fan out, it chooses the second option based on nearby controllability value. With this if still the problem is not solved, such faults can be referred to advanced ATPGs. • For that link to those tools can be applied. Or fault coverage loss because of such case can be calculated. Based on list of test vectors generated, test compaction can be applied. 37 DrUshaMehta05-10-2019