CMP238: Projeto e Teste de Sistemas VLSI Marcelo Lubaszewski Aula 4 - Teste PPGC - UFRGS 2005/I.

Slides:



Advertisements
Similar presentations
Testability Measure What do we mean when we say a circuit is testable?
Advertisements

Digital Integrated Circuits© Prentice Hall 1995 Design Methodologies Design for Test.
Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 121 Lecture 12 Advanced Combinational ATPG Algorithms  FAN – Multiple Backtrace (1983)  TOPS – Dominators.
Appendix: Other ATPG algorithms 1. TOPS – Dominators Kirkland and Mercer (1987) n Dominator of g – all paths from g to PO must pass through the dominator.
Copyright 2001, Agrawal & BushnellLecture 12: DFT and Scan1 VLSI Testing Lecture 10: DFT and Scan n Definitions n Ad-hoc methods n Scan design  Design.
10/4-6/05ELEC / Lecture 111 ELEC / (Fall 2005) Special Topics in Electrical Engineering Low-Power Design of Electronic Circuits.
Timing Analysis - Delay Analysis Models
Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 261 Lecture 26 Logic BIST Architectures n Motivation n Built-in Logic Block Observer (BILBO) n Test.
Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 13/12alt1 Lecture 13 Sequential Circuit ATPG Time-Frame Expansion (Lecture 12alt in the Alternative.
1 Lecture 10 Sequential Circuit ATPG Time-Frame Expansion n Problem of sequential circuit ATPG n Time-frame expansion n Nine-valued logic n ATPG implementation.
Copyright 2001, Agrawal & BushnellLecture 3b: Testability Analysis1 VLSI Testing Lecture 3b: Testability Analysis n Definition n Controllability and observability.
Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 91 Lecture 9 Combinational Automatic Test-Pattern Generation (ATPG) Basics n Algorithms and representations.
Testability Virendra Singh Indian Institute of Science Bangalore
Copyright 2001, Agrawal & BushnellDay-1 PM Lecture 4a1 Design for Testability Theory and Practice Lecture 4a: Simulation n What is simulation? n Design.
Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 8alt1 Lecture 8 Testability Measures n Definition n Controllability and observability n SCOAP measures.
Copyright 2001, Agrawal & BushnellDay-1 PM Lecture 4b1 Design for Testability Theory and Practice Lecture 4b: Fault Simulation n Problem and motivation.
Algorithms and representations Structural vs. functional test
Copyright 2001, Agrawal & BushnellDay-1 PM-2 Lecture 51 Testing Analog & Digital Products Lecture 5: Testability Measures n Definition n Controllability.
Spring 08, Apr 1 ELEC 7770: Advanced VLSI Design (Agrawal) 1 ELEC 7770 Advanced VLSI Design Spring 2008 Testability Measures Vishwani D. Agrawal James.
Design for Testability Theory and Practice Lecture 11: BIST
Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 9alt1 Lecture 9alt Combinational ATPG (A Shortened version of Original Lectures 9-12) n ATPG problem.
ELEN 468 Lecture 241 ELEN 468 Advanced Logic Design Lecture 24 Design for Testability.
Copyright 2001, Agrawal & BushnellDay-1 PM Lecture 61 Design for Testability Theory and Practice Lecture 6: Combinational ATPG n ATPG problem n Example.
4/20/2006ELEC7250: Alexander 1 LOGIC SIMULATION AND FAULT DIAGNOSIS BY JINS DAVIS ALEXANDER ELEC 7250 PRESENTATION.
Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 11alt1 Lecture 11alt Advances in Combinational ATPG Algorithms  Branch and Bound Search  FAN – Multiple.
Lecture 6 Testability Measures
Lecture 5 Fault Simulation
Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 81 Lecture 8 Testability Measures n Origins n Controllability and observability n SCOAP measures 
Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 101 Lecture 10 Combinational ATPG and Logic Redundancy n Redundancy identification n Redundancy removal.
4/26/05 Kantipudi: ELEC CONTROLLABILITY AND OBSERVABILITY KALYANA R KANTIPUDI VLSI TESTING ’05 TERM PAPER TERM PAPER.
ELEN 468 Lecture 231 ELEN 468 Advanced Logic Design Lecture 23 Testing.
Spring 08, Apr 8 ELEC 7770: Advanced VLSI Design (Agrawal) 1 ELEC 7770 Advanced VLSI Design Spring 2008 Combinational Circuit ATPG Vishwani D. Agrawal.
Unit II Test Generation
VLSI Testing Lecture 7: Combinational ATPG
10/14/2015 Based on text by S. Mourad "Priciples of Electronic Systems" Digital Testing: Testability Measures.
ECE 260B – CSE 241A Testing 1http://vlsicad.ucsd.edu ECE260B – CSE241A Winter 2005 Testing Website:
ECE 553: TESTING AND TESTABLE DESIGN OF DIGITAL SYSTES
Copyright 2001, Agrawal & BushnellLecture 6: Sequential ATPG1 VLSI Testing Lecture 6: Sequential ATPG n Problem of sequential circuit ATPG n Time-frame.
EE141 VLSI Test Principles and Architectures Test Generation 1 1 中科院研究生院课程: VLSI 测试与可测试性设计 第 5 讲 测试生成 (1) 李晓维 中科院计算技术研究所
Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 61 Lecture 6 Logic Simulation n What is simulation? n Design verification n Circuit modeling n True-value.
VLSI Testing Lecture 5: Logic Simulation
Lecture 9 Advanced Combinational ATPG Algorithms
Algorithms and representations Structural vs. functional test
VLSI Testing Lecture 5: Logic Simulation
Hardware Testing and Designing for Testability
VLSI Testing Lecture 4: Testability Analysis
Vishwani D. Agrawal Department of ECE, Auburn University
VLSI Testing Lecture 6: Fault Simulation
Algorithms and representations Structural vs. functional test
VLSI Testing Lecture 14: Built-In Self-Test
Lecture 7 Fault Simulation
ECE 553: TESTING AND TESTABLE DESIGN OF DIGITAL SYSTES
Definitions D-Algorithm (Roth) D-cubes Bridging faults
Lecture 13 Sequential Circuit ATPG Time-Frame Expansion
Definitions D-Algorithm (Roth) D-cubes Bridging faults
VLSI Testing Lecture 7: Combinational ATPG
Lecture 10 Sequential Circuit ATPG Time-Frame Expansion
ELEC Digital Logic Circuits Fall 2014 Logic Testing (Chapter 12)
Vishwani D. Agrawal James J. Danaher Professor
Automatic Test Generation for Combinational Circuits
VLSI Testing Lecture 8: Sequential ATPG
Fault Models, Fault Simulation and Test Generation
VLSI Testing Lecture 7: Combinational ATPG
Design for Testability
Automatic Test Pattern Generation
VLSI Testing Lecture 7: Delay Test
VLSI Testing Lecture 4: Testability Analysis
Lecture 26 Logic BIST Architectures
ELEC Digital Logic Circuits Fall 2015 Logic Testing (Chapter 12)
Lecture 13 Sequential Circuit ATPG Time-Frame Expansion
Presentation transcript:

CMP238: Projeto e Teste de Sistemas VLSI Marcelo Lubaszewski Aula 4 - Teste PPGC - UFRGS 2005/I

Lecture 4 – Testability Measures and Test Pattern Generation Testability Purpose, origins Analysis, measures and computation Summary Automatic test pattern generation Structural vs. functional test Definitions Types of Algorithms Summary

Purpose 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

Control theory Rutman First definition of controllability Goldstein SCOAP –First definition of observability –First elegant formulation –First efficient algorithm to compute controllability and observability Parker & McCluskey 1975 –Definition of Probabilistic Controllability Brglez COP –1 st probabilistic measures Seth, Pan & Agrawal 1985 – PREDICT –1 st exact probabilistic measures Origins

Testability 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

Types of Measures SCOAP – Sandia Controllability and Observability Analysis Program 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

Range 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

AND gate O/P 0 controllability: output_controllability = min (input_controllabilities) + 1 AND gate O/P 1 controllability: output_controllability = S (input_controllabilities) + 1 XOR gate O/P controllability output_controllability = min (controllabilities of each input set) + 1 Fanout Stem observability: S or min (some or all fanout branch observabilities) Goldsteins SCOAP Measures

Controllability Examples

More Controllability Examples

Controllability Through Level 0 Circled numbers give level number. (CC0, CC1)

Controllability Through Level 2

Final Combinational Controllability

To observe a gate input: Observe output and make other input values non-controlling Observability Examples

To observe a fanout stem: Observe it through branch with best observability More Observability Examples

Combinational Observability for Level 1 Number in square box is level from primary outputs (POs). (CC0, CC1) CO

Combinational Observabilities for Level 2

Final Combinational Observabilities

Testability Computation 1. For all PIs, CC0 = CC1 = 1 and SC0 = SC1 = 0 2. For all other nodes, CC0 = CC1 = SC0 = SC1 = 3. Go from PIs to POS, using CC and SC equations to get controllabilities -- Iterate on loops until SC stabilizes -- convergence guaranteed 4. For all POs, set CO = SO = 0 5. Work from POs to PIs, Use CO, SO, and controllabilities to get observabilities 6. Fanout stem (CO, SO) = min branch (CO, SO) 7. If a CC or SC (CO or SO) is, that node is uncontrollable (unobservable) 8 8

Testability approximately measures: –Difficulty of setting circuit lines to 0 or 1 –Difficulty of observing internal circuit lines Uses: –Analysis of difficulty of testing internal circuit parts –Redesign circuit hardware or add special test hardware where measures show bad controllability or observability –Guidance for algorithms computing test patterns – avoid using hard-to-control lines –Estimation of fault coverage – 3-5 % error –Estimation of test vector length Summary

Functional vs. Structural ATPG Functional ATPG generate complete set of tests for circuit input-output combinations 129 inputs, 65 outputs: = 680,564,733,841,876,926,926,749, 214,863,536,422,912 patterns Using 1 GHz ATE, would take 2.15 x years

Sum and Carry Circuits

Structural test: –No redundant adder hardware, 64 bit slices –Each with 27 faults (using fault equivalence) –At most 64 x 27 = 1728 faults (tests) –Takes s on 1 GHz ATE Designer gives small set of functional tests – augment with structural tests to boost coverage to 98 + % Functional vs. Structural (Contd)

Definition of Automatic Test-Pattern Generator Operations on digital hardware: –Inject fault into circuit modeled in computer –Use various ways to activate and propagate fault effect through hardware to circuit output –Output flips from expected to faulty signal Test generation cost –fault-dependent or not Quality of generated test –fault coverage (fault simulation) Test application cost –test time, memory requirements

TG Types Exhaustive –cheap generation, high FC, expensive application Fault-Oriented (deterministic) –expensive generation, possibly high FC, cheaper application –reduction of generation costs Random (pseudo-random) –cheap generation, low FC, + - expensive application

Exhaustive Algorithm For n-input circuit, generate all 2 n input patterns Infeasible, unless circuit is partitioned into cones of logic, with 15 inputs –Perform exhaustive ATPG for each cone –Misses faults that require specific activation patterns for multiple cones to be tested

Random-Pattern Generation Flow chart for method Use to get tests for % of faults, then switch to D-algorithm or other ATPG for rest

Path Sensitization Method 1Fault Sensitization (activation) 2Fault Propagation 3Line Justification

Path Sensitization Method Fault l s-a-v Activation –set l to v Propagation –find a path from l to a primary output that keeps faulty value Justification –set the primary inputs to activate the fault

Composite Logic Values consider line value for original AND faulty circuit v/v f = original/faulty Symbols D and D (Roth, 1966) D = 1/0 D = 0/1 0 = 0/0 1 = 1/1

Operations on Composite Values D + 0 = 0/1 + 0/0 = 0/1 = D

Path Sensitization Method 1 Propagation D

Path Sensitization Method Propagation: try path f – h – k – L 1 D D D D 0 1 1

Path Sensitization Method Propagation: try path f – h – k – L 1 D D D D 0 1 1

Path Sensitization Method Justification: Try path f – h – k – L blocked at j, since there is no way to justify the 1 on i 1 0 D D D D D

Path Sensitization Method Justification: Try path f – h – k – L blocked at j, since there is no way to justify the 1 on i 1 D D D 1 1 D D 1 1 1

Path Sensitization Method Backtracking! 1 D D D 1 1 D D X X X X X X X X

Try other propagation: path g – i – j – k – L 0 D D D 1 D D 1 1 Path Sensitization Method D

Try other propagation: path g – i – j – k – L 0 D D D 1 D D 1 1 Path Sensitization Method D

Try other propagation: path g – i – j – k – L 0 D D D 1 D D Path Sensitization Method D

Major Combinational Automatic Test- Pattern Generation Algorithms D-Algorithm (Roth) PODEM (Goel) FAN (Fujiwara and Shimono)

Sequential Circuit ATPG Time-Frame Expansion Problem of sequential circuit ATPG Time-frame expansion

Example of Sequential Circuit

Sequential Circuits A sequential circuit has memory in addition to combinational logic. Test for a fault in a sequential circuit is a sequence of vectors, which Initializes the circuit to a known state Activates the fault, and Propagates the fault effect to a primary output Methods of sequential circuit ATPG Time-frame expansion methods Simulation-based methods

Extended D-Algorithm 1. Pick up a target fault f. 2. Create a copy of a combinational logic, set it time-frame Generate a test for f using D-algorithm for time- frame When the fault effect is propagate to the DFFs, continue fault propagation in the next time-frame. 5. When there are values required in the DFFs, continue the justification in the previous time-frame.

Example for Extended D- Algorithm

Example: Step 1

Example: Step 2

Example: Step 3

Summary Hierarchical ATPG -- 9 Times speedup (Min) –Handles adders, comparators, MUXes Advances over D-algorithm Results of 40 years research – mature – methods: –Path sensitization –Simulation-based –Boolean satisfiability and neural networks –Genetic algorithms