Implication Graphs and Logic Testing

Similar documents
Counting Paths Between Vertices. Isomorphism of Graphs. Isomorphism of Graphs. Isomorphism of Graphs. Isomorphism of Graphs. Isomorphism of Graphs

y1 y2 DEMUX a b x1 x2 x3 x4 NETWORK s1 s2 z1 z2

System Validation (IN4387) November 2, 2012, 14:00-17:00

22: Union Find. CS 473u - Algorithms - Spring April 14, We want to maintain a collection of sets, under the operations of:

Propositional models. Historical models of computation. Application: binary addition. Boolean functions. Implementation using switches.

Eigenvectors and Eigenvalues

I 3 2 = I I 4 = 2A

Lecture 11 Binary Decision Diagrams (BDDs)

Unit 4. Combinational Circuits

Automata and Regular Languages

CS 491G Combinatorial Optimization Lecture Notes

CS 360 Exam 2 Fall 2014 Name

Technology Mapping Method for Low Power Consumption and High Performance in General-Synchronous Framework

where the box contains a finite number of gates from the given collection. Examples of gates that are commonly used are the following: a b

Lecture 6: Coding theory

Mid-Term Examination - Spring 2014 Mathematical Programming with Applications to Economics Total Score: 45; Time: 3 hours

Solutions for HW9. Bipartite: put the red vertices in V 1 and the black in V 2. Not bipartite!

Algebra 2 Semester 1 Practice Final

Discrete Structures, Test 2 Monday, March 28, 2016 SOLUTIONS, VERSION α

Nondeterministic Finite Automata

If the numbering is a,b,c,d 1,2,3,4, then the matrix representation is as follows:

Fault Modeling. EE5375 ADD II Prof. MacDonald

Logic, Set Theory and Computability [M. Coppenbarger]

CARLETON UNIVERSITY. 1.0 Problems and Most Solutions, Sect B, 2005

Fujitsu Laboratories of America. 77 Rio Robles, San Jose CA happens when one attempts to compare the functionality. inputs is neglected.

Lecture 6. CMOS Static & Dynamic Logic Gates. Static CMOS Circuit. PMOS Transistors in Series/Parallel Connection

CIT 596 Theory of Computation 1. Graphs and Digraphs

18.06 Problem Set 4 Due Wednesday, Oct. 11, 2006 at 4:00 p.m. in 2-106

Logic Synthesis and Verification

Necessary and sucient conditions for some two. Abstract. Further we show that the necessary conditions for the existence of an OD(44 s 1 s 2 )

SIMPLE NONLINEAR GRAPHS

CS311 Computational Structures Regular Languages and Regular Grammars. Lecture 6

(Lec 9) Multi-Level Min III: Role of Don t Cares

Efficient Implication - Based Untestable Bridge Fault Identifier*

STRUCTURE OF CONCURRENCY Ryszard Janicki. Department of Computing and Software McMaster University Hamilton, ON, L8S 4K1 Canada

1 PYTHAGORAS THEOREM 1. Given a right angled triangle, the square of the hypotenuse is equal to the sum of the squares of the other two sides.

Chapter 4 State-Space Planning

Graph Algorithms. Vertex set = { a,b,c,d } Edge set = { {a,c}, {b,c}, {c,d}, {b,d}} Figure 1: An example for a simple graph

CS 310 (sec 20) - Winter Final Exam (solutions) SOLUTIONS

Hybrid Systems Modeling, Analysis and Control

Laboratory for Foundations of Computer Science. An Unfolding Approach. University of Edinburgh. Model Checking. Javier Esparza

Exam Review. John Knight Electronics Department, Carleton University March 2, 2009 ELEC 2607 A MIDTERM

CSE 332. Sorting. Data Abstractions. CSE 332: Data Abstractions. QuickSort Cutoff 1. Where We Are 2. Bounding The MAXIMUM Problem 4

Maximum Circuit Activity Estimation Using Pseudo-Boolean Satisfiability

Metodologie di progetto HW Technology Mapping. Last update: 19/03/09

Outline Data Structures and Algorithms. Data compression. Data compression. Lossy vs. Lossless. Data Compression

Symmetrical Components 1

CS 573 Automata Theory and Formal Languages

Lecture 2: Cayley Graphs

Connectivity in Graphs. CS311H: Discrete Mathematics. Graph Theory II. Example. Paths. Connectedness. Example

Fault Emulation: A New Approach to Fault Grading

Computing all-terminal reliability of stochastic networks with Binary Decision Diagrams

Surds and Indices. Surds and Indices. Curriculum Ready ACMNA: 233,

Minimal DFA. minimal DFA for L starting from any other

Graph Theory. Simple Graph G = (V, E). V={a,b,c,d,e,f,g,h,k} E={(a,b),(a,g),( a,h),(a,k),(b,c),(b,k),...,(h,k)}

EE 108A Lecture 2 (c) W. J. Dally and P. Levis 2

Welcome. Balanced search trees. Balanced Search Trees. Inge Li Gørtz

8 THREE PHASE A.C. CIRCUITS

Factorising FACTORISING.

POSITIVE IMPLICATIVE AND ASSOCIATIVE FILTERS OF LATTICE IMPLICATION ALGEBRAS

ECE223. R eouven Elbaz Office room: DC3576

QUADRATIC EQUATION. Contents

Technische Universität München Winter term 2009/10 I7 Prof. J. Esparza / J. Křetínský / M. Luttenberger 11. Februar Solution

A Family of Logical Fault Models for Reversible Circuits

NON-DETERMINISTIC FSA

CS 2204 DIGITAL LOGIC & STATE MACHINE DESIGN SPRING 2014

Section 2.3. Matrix Inverses

Random subgroups of a free group

Prefix-Free Regular-Expression Matching

A Differential Approach to Inference in Bayesian Networks

y = c 2 MULTIPLE CHOICE QUESTIONS (MCQ's) (Each question carries one mark) is...

ANALYSIS AND MODELLING OF RAINFALL EVENTS

Boolean algebra.

Dorf, R.C., Wan, Z. T- Equivalent Networks The Electrical Engineering Handbook Ed. Richard C. Dorf Boca Raton: CRC Press LLC, 2000

Alpha Algorithm: Limitations

(Lec 4) Binary Decision Diagrams: Manipulation

Analysis of Temporal Interactions with Link Streams and Stream Graphs

Abstraction of Nondeterministic Automata Rong Su

Aperiodic tilings and substitutions

A Primer on Continuous-time Economic Dynamics

m2 m3 m1 (a) (b) (c) n2 n3

Engr354: Digital Logic Circuits

Common intervals of genomes. Mathieu Raffinot CNRS LIAFA

1 This diagram represents the energy change that occurs when a d electron in a transition metal ion is excited by visible light.

Introduction to Graphical Models

KENDRIYA VIDYALAYA IIT KANPUR HOME ASSIGNMENTS FOR SUMMER VACATIONS CLASS - XII MATHEMATICS (Relations and Functions & Binary Operations)

Tutorial Worksheet. 1. Find all solutions to the linear system by following the given steps. x + 2y + 3z = 2 2x + 3y + z = 4.

Model Reduction of Finite State Machines by Contraction

CSC2542 State-Space Planning

6. Suppose lim = constant> 0. Which of the following does not hold?

CS415 Compilers. Lexical Analysis and. These slides are based on slides copyrighted by Keith Cooper, Ken Kennedy & Linda Torczon at Rice University

Synthesis of Petri Nets Free-choice PN. Transition System. Burst-mode automata Model transformation. State encoded. Synthesis of asynchronous circuits

Separable discrete functions: recognition and sufficient conditions

Outline Last time: Deriving the State Diagram & Datapath (Cont.) Mapping the Datapath onto Control

Computing with finite semigroups: part I

Nondeterminism and Nodeterministic Automata

for all x in [a,b], then the area of the region bounded by the graphs of f and g and the vertical lines x = a and x = b is b [ ( ) ( )] A= f x g x dx

Lesson 55 - Inverse of Matrices & Determinants

The size of subsequence automaton

Finite Automata Theory and Formal Languages TMV027/DIT321 LP4 2018

Transcription:

Implition Grphs n Logi Testing Vishwni D. Agrwl Jmes J. Dnher Professor Dept. of ECE, Auurn University Auurn, AL 36849 vgrwl@eng.uurn.eu www.eng.uurn.eu/~vgrwl Joint reserh with: K. K. Dve, ATI Reserh, Yrley, PA M. L. Bushnell, Rutgers University, Pistwy,NJ 2/2/05 VLSI D&T Group Seminr

Implition Grph An implition grph (IG) represents the implition reltions etween pirs of Boolen vriles. n implition ontrpositive implition 2/2/05 VLSI D&T Group Seminr 2

Implition Grph of Logi Gte = Boolen flse funtion: = 0 + + = 0 Chkrhr et l. -- IEEE-D&T, 990 2/2/05 VLSI D&T Group Seminr 3

Glol Implitions n Trnsitive Closure Trnsitive losure ege 0 2/2/05 VLSI D&T Group Seminr 4

Trnsitive Closure Trnsitive losure (TC) of irete grph ontins the sme set of noes s the originl grph. If there is irete pth from noe to, then the trnsitive losure ontins n ege from to. A Grph Trnsitive Closure A grph 0 0 0 0 0 0 0 0 0 0 0 0 0 2/2/05 VLSI D&T Group Seminr 5 0 0 0 0 0 0 0 0 0 0

Trnsitive Closure: Wrshll s Algorithm proeure Wrshll (vr A : rry[ n, n] of oolen; C : rry[ n, n] of oolen); { Wrshll mkes A the trnsitive losure of C } vr i, j, k : integer; egin for i := to n o for j := to n o A[i, j] := C[i, j]; for k := to n o O(n 3 ) for i := to n o for j := to n o if A[i, j] = flse then A[i, j] := A[i, k] n A[k, j] en; { Wrshll } S. Wrshll, A Theorem on Boolen Mtries, J. ACM, vol. 9, no., pp. -2. A. V. Aho, J. E. Hoproft n J. D. Ullmn, Dt Strutures n Algorithms, Reing, Msshusetts: Aison-Wesley, 983, p. 23. 2/2/05 VLSI D&T Group Seminr 6

Trnsitive Closure: Upte Algorithm Strt onstruting trnsitive losure (TC) y pling ll noes n no eges. This ege-less grph is its own TC. A eges to TC in ny ritrry orer For eh ege i j fin P : set of prent noes of i C : set of hil noes of j A eges {P, i } {C, j } K. Dve, Using Contrpositive Rule to Enhne the Implition Grphs of Logi Ciruits, Mster s Thesis, Rutgers University, Dept. of ECE, Pistwy, New Jersey, My 2004. 2/2/05 VLSI D&T Group Seminr 7

Upte Algorithm p i p2 {P, i } {C, j } j 2/2/05 VLSI D&T Group Seminr 8

Upte Algorithm Exmple A irete grph Trnsitive losure 2/2/05 VLSI D&T Group Seminr 9

Logi Testing: Stuk-t Fult A type of fult, whih uses line to hol onstnt logi vlue, irrespetive of hnge of stte t previous stges. There re two types of stuk-t-fults: Stuk-t- Stuk-t-0 Detetion of fult requires the fult to e tivte n its effet oserve t primry output (PO). Fult s-- is etetle, if following onitions re simultneously stisfie: = 0 O = fult is tivte oservility is true 2/2/05 VLSI D&T Group Seminr 0

Oservility Vriles Oservility vrile of signl represents whether or not tht signl is oservle t PO. It n e true or flse. O O = O (PO) O O C O = 0 O O + O + O O = 0 Agrwl, Bushnell n Lin, Reunny Ientifition using Trnsitive Closure, Pro. Asin Test Symp., 996, pp. 5-9. O 2/2/05 VLSI D&T Group Seminr

Reunnt Fults A fult tht hs no test is lle n untestle fult. Any untestle fult in omintionl iruit is reunnt fult euse it oes not use ny hnge in the input/output logi funtion of the iruit. Ientifition of reunnt fults is useful euse they n e remove from testing onsiertion, or from hrwre Fult stuk-t- is reunnt if either or O or O or O no ontrollility no oservility no rivility no rivility 2/2/05 VLSI D&T Group Seminr 2

Limittion of Implition Grph s--0 e s--0 Ciruit with two reunnt fults O O Implition grph (some noes n eges not shown) Implition grph shows no implitions of n on their oservilities. 2/2/05 VLSI D&T Group Seminr 3

Aing Prtil Implitions = Boolen flse funtion: = 0 + + = 0 Λ V Henftling n Wittmnn, AEÜ, 995 (Λ noe) Dve, Mster s Thesis, 2004 (V noe) Λ n V noes represent prtil implitions 2/2/05 VLSI D&T Group Seminr 4

Using Prtil Implitions s--0 e s--0 Ciruit with two reunnt fults O O Implition grph (some noes n eges not shown) Implition Prtil implition Trnsitive losure ege 2/2/05 VLSI D&T Group Seminr 5

Another Exmple s--0 s-- s--0 s-- s--0 e e Λ 2 Λ Λ 3 e V V 2 Λ 4 2/2/05 VLSI D&T Group Seminr 6

Results on ISCAS Ciruits Reunnt fults ientifie n run time Ciruit Totl fults TRAN Chkrhr et l. FIRE Iyer n Armovii Imp. grph Meht et l. Enhne Imp. Grph Dve et l. Re. fults CPU s Re. Fults CPU s Re. Fults CPU s Re. Fults CPU s 908 879 7 3.0 6.8 2 3.2 5 5.7 2670 2747 5 95.2 29.5 59 4.0 69 6.0 7552 7550 3 308.0 30 4.7 5.5 65 7.7 s238 355 69 7.4 6.9 20 2.6 5 5.4 Sun SPARC5 CPU Se. Sun SPARC2 CPU Se. 2/2/05 VLSI D&T Group Seminr 7

Referene Methos TRAN ATPG S. T. Chkrhr, V. D. Agrwl n S. G. Rothweiler, A Trnsitive Closure Algorithm for Test Genertion, IEEE Trns. CAD, vol. 2, no. 7, pp. 05-028, July 993. FIRE Implition nlysis M. A. Iyer n M. Armovii, FIRE: A Fult-Inepenent Comintionl Reunny Ientifition Algorithm, IEEE Trns. VLSI Systems, vol. 4, no. 2, pp. 295-30, June 996. Implition Grph V. J. Meht, Reunny Ientifition in Logi Ciruits using Extene Implition Grph n Stem Unoservility Theorems, Mster s Thesis, Rutgers University, Dept. of ECE, New Brunswik, NJ, My 2003. K. K. Dve, Using Contrpositive Rule to Enhne the Implition Grphs of Logi Ciruits, Mster s Thesis, Rutgers University, Dept. of ECE, New Brunswik, NJ, My 2004. 2/2/05 VLSI D&T Group Seminr 8

C908: Unientifie Reunnies Reunnt fults (s--) 952 953 926 949 0 0/ 979 887 0 74 Totl reunnt fults = 7; ientifie = 5 2/2/05 VLSI D&T Group Seminr 9

C535: Unientifie Reunny Reunnt fult (s--) PI 0/ PI 0 0/ 0 0/ 0 0/ 0 0 PO Totl reunnt fults = 59; ientifie = 58 2/2/05 VLSI D&T Group Seminr 20

0 C535: Continue... Reunnt fult (s--) PI 0/ PI 0/ 0/ 0 0 0/ PO 0 0 2/2/05 VLSI D&T Group Seminr 2

Conlusion Prtil implitions improve fult-inepenent reunny ientifition present results re the est known. Trnsitive losure omputtion run times re empirilly liner in the numer of noes for enhmrk iruits -- the known worst-se omplexity is O(N 3 ) for N noes. Upte lgorithm n effiiently ompute trnsitive losure when implition grph hs sprse onnetivity. Wekness of implition metho: Oservility of fnout stems. Reent work hs shown tht mny unoservle fnout stems n e ientifie from trnsitive losure nlysis. Reonvergent gte Domintor 2/2/05 VLSI D&T Group Seminr 22 Oservility of hs no iret reltion to oservilities of n, ut n e relte to tht of