Department of Electrical and Computer Engineering University of Wisconsin Madison. Fall Midterm Examination CLOSED BOOK

Similar documents
Department of Electrical and Computer Engineering University of Wisconsin Madison. Fall Midterm Examination CLOSED BOOK

Department of Electrical and Computer Engineering University of Wisconsin Madison. Fall Final Examination

Department of Electrical and Computer Engineering University of Wisconsin Madison. Fall

Assignment #1 SOLUTION

Chapter 6 Testability Analysis

VLSI System Testing. Testability Measures

EE40 Lec 15. Logic Synthesis and Sequential Logic Circuits

Synchronous Sequential Circuit

Clocked Synchronous State-machine Analysis

XI STANDARD [ COMPUTER SCIENCE ] 5 MARKS STUDY MATERIAL.

UNIVERSITY OF WISCONSIN MADISON

Chapter 2 Fault Modeling

For smaller NRE cost For faster time to market For smaller high-volume manufacturing cost For higher performance

King Fahd University of Petroleum and Minerals College of Computer Science and Engineering Computer Engineering Department

Chapter 15 SEQUENTIAL CIRCUITS ANALYSIS, STATE- MINIMIZATION, ASSIGNMENT AND CIRCUIT IMPLEMENTATION

ECE 1767 University of Toronto

ENEL Digital Circuit Design. Final Examination

Lecture 5 Fault Modeling

CPE100: Digital Logic Design I

Testability. Shaahin Hessabi. Sharif University of Technology. Adapted from the presentation prepared by book authors.

Hardware testing and design for testability. EE 3610 Digital Systems

ECE 3060 VLSI and Advanced Digital Design. Testing

L10 State Machine Design Topics

University of Minnesota Department of Electrical and Computer Engineering

Exam for Physics 4051, October 31, 2008

Sequential Logic Optimization. Optimization in Context. Algorithmic Approach to State Minimization. Finite State Machine Optimization

PAST EXAM PAPER & MEMO N3 ABOUT THE QUESTION PAPERS:

Chapter 5 Synchronous Sequential Logic

The Design Procedure. Output Equation Determination - Derive output equations from the state table

VLSI Physical Design Prof. Indranil Sengupta Department of Computer Science and Engineering Indian Institute of Technology, Kharagpur

Faculty of Engineering. FINAL EXAMINATION FALL 2008 (December2008) ANSWER KEY

Testability Measures controllability observability Controllability Observability

EECS 579: Logic and Fault Simulation. Simulation

University of Toronto Faculty of Applied Science and Engineering Edward S. Rogers Sr. Department of Electrical and Computer Engineering

Computer Science Final Examination Friday December 14 th 2001

Boolean Algebra and Digital Logic 2009, University of Colombo School of Computing

EE 209 Logic Cumulative Exam Name:

Chapter 4 Part 2 Sequential Circuits

Design for Testability

( c) Give logic symbol, Truth table and circuit diagram for a clocked SR flip-flop. A combinational circuit is defined by the function

Fault Modeling. 李昆忠 Kuen-Jong Lee. Dept. of Electrical Engineering National Cheng-Kung University Tainan, Taiwan. VLSI Testing Class

Sample Test Paper - I

ECE 512 Digital System Testing and Design for Testability. Model Solutions for Assignment #3

15.1 Elimination of Redundant States

CSE 140 Midterm 2 Tajana Simunic Rosing. Spring 2008

CSE140: Components and Design Techniques for Digital Systems. Midterm Information. Instructor: Mohsen Imani. Sources: TSR, Katz, Boriello & Vahid

EECS 270 Midterm Exam 2 Fall 2009

MA 113 Calculus I Fall 2016 Exam 3 Tuesday, November 15, True/False 1 T F 2 T F 3 T F 4 T F 5 T F. Name: Section:

Fault Tolerant Computing CS 530 Fault Modeling. Yashwant K. Malaiya Colorado State University

CHAPTER 7 MULTI-LEVEL GATE CIRCUITS NAND AND NOR GATES

Chapter 7 Logic Circuits

Experiment 9 Sequential Circuits

ENGR4300 Fall 2005 Test 3A. Name. Section. Question 1 (25 points) Question 2 (25 points) Question 3 (25 points) Question 4 (25 points)

Digital Electronics Final Examination. Part A

Using the NOT realization from the NAND, we can NOT the output of the NAND gate making it a NOT NOT AND or simply an AND gate.

Please read carefully. Good luck & Go Gators!!!

Introduction to VLSI Testing

ECE321 Electronics I

Appendix B. Review of Digital Logic. Baback Izadi Division of Engineering Programs

Boolean algebra. Examples of these individual laws of Boolean, rules and theorems for Boolean algebra are given in the following table.

CS/ECE 252: INTRODUCTION TO COMPUTER ENGINEERING COMPUTER SCIENCES DEPARTMENT UNIVERSITY OF WISCONSIN-MADISON

Written reexam with solutions for IE1204/5 Digital Design Monday 14/

Synchronous Sequential Circuit Design. Digital Computer Design

Read this before starting!

University of Florida EEL 3701 Summer 2015 Dr. Eric. M. Schwartz Department of Electrical & Computer Engineering Tuesday, 30 June 2015

Parity Checker Example. EECS150 - Digital Design Lecture 9 - Finite State Machines 1. Formal Design Process. Formal Design Process

Menu. Part 2 of 3701: Sequential Digital Machines Latches and Flip-Flops: >S-R latches >D latches >T latches. Comb. n. Logic. m Q.

UMBC. At the system level, DFT includes boundary scan and analog test bus. The DFT techniques discussed focus on improving testability of SAFs.

11.1 As mentioned in Experiment 10, sequential logic circuits are a type of logic circuit where the output of

CSE370 HW6 Solutions (Winter 2010)

MAHALAKSHMI ENGINEERING COLLEGE TIRUCHIRAPALLI

CSE 140 Midterm 2 - Solutions Prof. Tajana Simunic Rosing Spring 2013

Q: Examine the relationship between X and the Next state. How would you describe this circuit? A: An inverter which is synched with a clock signal.

Different encodings generate different circuits

Experiment 7: Magnitude comparators

Lecture 7: Logic design. Combinational logic circuits

University of Florida EEL 3701 Fall 2014 Dr. Eric. M. Schwartz Department of Electrical & Computer Engineering Wednesday, 15 October 2014

Single Stuck-At Fault Model Other Fault Models Redundancy and Untestable Faults Fault Equivalence and Fault Dominance Method of Boolean Difference

Analysis of Clocked Sequential Circuits

Synchronous Sequential Logic

Vidyalankar S.E. Sem. III [CMPN] Digital Logic Design and Analysis Prelim Question Paper Solution

Fault Modeling. Fault Modeling Outline

Mealy & Moore Machines

University of Toronto Faculty of Applied Science and Engineering Final Examination

EET 310 Flip-Flops 11/17/2011 1

ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN. Week 9 Dr. Srinivas Shakkottai Dept. of Electrical and Computer Engineering

Outline Automatic Test Pattern Generation

Section 001. Read this before starting!

Digital Circuits and Systems

Read this before starting!

FAULT MODELING. Chapter Defects, Errors, and Faults

Lecture 8: Sequential Networks and Finite State Machines

Issues on Timing and Clocking

Propositional Logic. Logical Expressions. Logic Minimization. CNF and DNF. Algebraic Laws for Logical Expressions CSC 173

3. Complete the following table of equivalent values. Use binary numbers with a sign bit and 7 bits for the value

Logic Design II (17.342) Spring Lecture Outline

Sequential Logic Circuits

CHAPTER 9: SEQUENTIAL CIRCUITS

ELE2120 Digital Circuits and Systems. Tutorial Note 9

Philadelphia University Student Name: Student Number:

Transcription:

Department of Electrical and Computer Engineering University of Wisconsin Madison ECE 553: Testing and Testable Design of Digital Systems Fall 2014-2015 Midterm Examination CLOSED BOOK Kewal K. Saluja Date: November 11, 2014 Place: Room 2535 Engineering Hall Time: 7:15-8:55 PM Duration: 100 minutes PROBLEM TOPIC Last Name (Please print): First Name: ID Number: 1 General Questions 10 2 Test Economics 15 3 Logic and Fault Modeling 16 4 Fault Simulation 10 5 SCOAP Computation 10 6 Test Generation - Comb. 16 7 Test Generation - Seq. 11 8 Checking Sequence 12 TOTAL 100 POINTS SCORE Show your work carefully for both full and partial credit. You will be given credit only for what appears on your exam. 1 Fall 2014 (Lec: Saluja)

1. (10 points) General Questions Answer the following in brief and to the point. (a) (1 points) Give one reason as to why a circuit that is tested good may fail when a customer uses it. (b) (1 points) Give one reason as to why a circuit that is functionally correct may fail during testing. (c) (1 points) What defect model is used to derive the yield equation in the paper by William and Brown included in the reading material? (d) (1 points) If a fault f 1 is equivalent to f 2 and the fault f 1 dominates a fault f 3, then which of these fault or faults must be included in the reduced fault list for the purpose of fault detection. (e) (1 points) A single output combinational circuit is simulated using 3-value logic with some inputs specified (0s and 1s) while other inputs not specified (Xs). The output of the circuit is found to be a constant (0 or 1). Prove by proper reasoning or by an example that for the same input values and in the presence of a stuck-at fault in the circuit the output can be X. Use only the space provided. 2 Fall 2014 (Lec: Saluja)

(f) (1 points) A combinational circuit test algorithm which is complete can determine if a given fault in the circuit is redundant. Answer True or False. (g) (1 points) Circuits which have high fault coverage using Random Patterns are called Random Pattern... Circuits. (h) (1 points) Circuits which have low fault coverage using Random Patterns are called Random Pattern... Circuits. (i) (1 points) Define fault efficiency. (j) (1 points) Is it possible for a circuit to have a Synchronizing Sequence but not have a Homing Sequence? Explain your answer. 3 Fall 2014 (Lec: Saluja)

2. (15 points) Test Economics Product details and process parameters of an IC being designed and fabricated by a Manufacturer are as follows: Area of the IC = 0.75 sq cm. Fault density f = 1.45 faults/sq cm Clustering factor β = 0.11 Cost of producing a chip = $ 0.75 (note this is the cost of producing each chip before it is tested) A chip that is tested good will be sold for $ 4.00 Cost of replacing a bad chip = $ 15.00. You need not worry about the cost of test equipment and the length of the tests. The manufacturer of the IC can use one of the two tests which are available. 1) Test T 1 provides a fault coverage of 90% and 2) Test T 2 provides a fault coverage of 95%. The manufacturer wishes to produce 1 million chips for selling i.e. after testing the manufacturer would like to have 1 million devices that are tested good. Now answer the following and while answering you must show your work. (a) (3 points) Determine the yields of the two tests. (b) (3 points) Determine the defect levels for the devices tested by the tests T 1 and T 2 and express them in ppm (parts per million). 4 Fall 2014 (Lec: Saluja)

(c) (3 points) For the test T 1 determine the cost of producing 1 million chips that will be sold, i.e. chips that are tested good. (d) (3 points) Forthechips tested by the test T 1 determine thetotal cost ofreplacing the bad chips. (e) (3 points) What will be the total profit for the chips tested by T 1. 5 Fall 2014 (Lec: Saluja)

3. (16 points) Logic and Fault Modeling Consider a combinational functional block with three inputs, A, B, and C, and an output f. The model of this block in the form of a truth table is given below: A B C f f fault 0 0 0 0 0 0 0 1 1 0 0 1 0 0 0 0 1 1 0 0 1 0 0 1 1 1 0 1 0 1 1 1 0 1 1 1 1 1 0 0 (a) (2 points) Write a singular cover of the function f. (b) (2 points) Write two propagation D-cubes of the functional block realizing the function f and containing only one D at some input. (c) (2 points) Write all D Cubes of failure of a fault that will cause the function f to change to the function f fault as shown above. (d) (3 points) Netlist description of a sequential circuit is given below. Draw the circuit. 1 PI 3, 5 ; 2 PI 3 ; 3 NAND 6 ; 4 NAND 6, 7 ; 5 NOT 4 ; 6 NAND 8 ; 8 FF 4 ; 7 PO 6 Fall 2014 (Lec: Saluja)

(e) (7 points) Consider a combinational circuit given below in Figure 1 and answer the questions related to this. A B H C D E I J L F G K Figure 1: A Fanout Free Circuit i. (1 points) How many checkpoints does this circuit have? ii. (4 points) Write the reduced fault list for the above circuit using the method of checkpoint faults and then using fault equivalence reduction? iii. (1 points) If in the figure 1 all NAND gates were replaced by NOR gates, will the number of checkpoints change? iv. (1 points)whatwillbethenumberofreducedfaultsifallgateswerechanged to NOR gates in the circuit of figure 1 and the fault list generation method consisted of checkpoint faults and fault equivalence method of fault reduction. Note you need not provide the fault list only the number of faults in the list. 7 Fall 2014 (Lec: Saluja)

4. (10 points) Fault Simulation - Deductive The circuit of Figure 2 is to be simulated using the pattern given below: pattern = A B C D E F = 0 1 1 0 0 0 A g B C D k j h l p o 1 1 1 0 s u E i m n t F r Figure 2: Circuit for deductive fault simulation The fault list that needs to be simulated for this pattern is given below: A/1 B/0 C/0 D/0 E/1 F/1 h/1 i/0 j/1 k/0 o/0 p/1 s/0 s/1 Note during deductive fault simulation the list associated with any line or gate should not contain a fault that is not in the above list. (a) (1 points) Indicate the true signal values in every gate of the circuit. For your convenience, I have already provided values in one of the gates. 8 Fall 2014 (Lec: Saluja)

(b) (8 points) In the table below provide the deductive fault list associated with every line in the circuit. Again to get you started, I have already completed the entries associated with all primary input lines. Line Name fault list Line Name fault list A A/1 l B B/0 m C C/0 n D o E E/1 p F F/1 r g s h t i u j k (c) (1 points) Now, indicate which of the faults will be detected and at which output. Faults detected at output u: Faults detected at output t: 9 Fall 2014 (Lec: Saluja)

5. (10 points) SCOAP Computation Consider the two time frame expansion of a sequential circuit as given in the Figure 3 below. You are to compute the SCOAP controllability values of all the lines in the x1 03 09 01 04 05 06 07 08 15 14 16 17 20 103 109 101 104 105 106 107 108 115 114 116 117 120 x2 02 11 12 13 18 19 102 111 112 118 113 119 Timeframe = 0 Timeframe = 1 Figure 3: Circuit for SCOAP computations circuit in the table below. I have completed some of the entries for this circuit that will help you calculate the remaining entries. Use the rules given below for computing these values: (a) The (CC0, CC1) controllability values of all PIs (in any time frames) are (1, 1) as marked in the table below. (b) The (CC0, CC1) controllability values of the PPIs on the left are (, ) as marked in the table below. (c) The lines that cross time frame boundary, their CC0 and CC1 values get multiplied by 5, when they cross the time frame boundary. PLEASE NOTE values are multiplied. 10 Fall 2014 (Lec: Saluja)

Line CC0 CC1 Line CC0 CC1 Line CC0 CC1 x1 x2 01 02 03 1 1 04 1 1 05 06 07 08 09 1 1 11 2 2 12 13 14 15 16 17 18 19 20 101 102 103 1 1 104 1 1 105 107 109 111 2 2 112 113 11 Fall 2014 (Lec: Saluja)

6. (16 points) Combinational Test Generation - PODEM A PODEM like test generator is used to generate a test for the line 13 s-a-0 in the circuit shown in Figure 4. A 22 12 B C D E F 20 21 23 24 19 3 2 4 5 11 G 6 25 9 10 7 8 13 s a 0 16 14 17 15 Z 26 Y 18 Figure 4: Combinational circuit for PODEM based test generation In the table below part of the first three steps of the test generation process are shown. The following rules are used while using a PODEM like algorithm. 1) While backtracing, whenever there is a choice between more than one paths, choose the one that contains a lower number label. For example if there is a choice between two paths labeled 9 and 10, follow the label 9. 2) While assigning a value at an input, always assign a 0 before a 1. 3) Do not perform x-path check. Now answer the following. (a) (1 points) Specify the backtrace path name in row 3. (b) (10 points) Complete the rest of the test generation process but you must follow the rules given above. There are sufficiently many blank entries in the table to complete the test generation process. (c) (3 points) Construct the decision tree for the complete test generation process for arriving at the final test or termination of the test process. 12 Fall 2014 (Lec: Saluja)

(d) (2 points) Write the generated test. A B C D E F G Y = Step Objec- Name of the back- PI D comment No. tive trace path assign front 1 13 to 1 13-9-25-3-2-20-C C=0 - fault not yet excited 2 13-9-25-19-B B=0 14 fault excited 3 12 to 0 A=0 null backtrack and reverse decision 4 5 6 7 8 9 10 11 12 13 13 Fall 2014 (Lec: Saluja)

7. (11 points) Test Generation - Sequential Consider the sequential circuit given below in Figure 5 containing two D-type flip-flops and combinational logic. Note that the circuit has one primary input, A, and one primary output, Z. A Primry Input Z Primary Output s a 1 D Q FF 1 DQ FF 2 Figure 5: Figure for a sequential circuit Derive a test sequence that will detect the stuck-at 1 fault as shown in the circuit. You can use any method you like. For the sequence generated by you provide the following information in the tabular form given below which contains sufficiently many columns. 14 Fall 2014 (Lec: Saluja)

Initial state of the circuit - it should be XX State of the fault-free and the faulty circuits after application of each clock Output of the fault-free and the faulty circuit for each input When is the fault excited and when is the fault detected. t = 0 t = 1 t = 2 t = 3 t = 4 Input A A = A = A = A = A = State (fault-free) FF-1 X FF-2 X fault-free Z State (faulty) FF-1 X FF-2 X faulty Z 15 Fall 2014 (Lec: Saluja)

8. (12 points) Checking Experiment Consider the finite state machine shown in the table below with states, A, B, and C; inputs 0, 1, and 2; and outputs 0 and 1. Table 1: State Machine for Problem 8 Input 0 1 2 A A/0 B/0 B/0 B A/0 C/* C/1 C C/0 A/1 A/1 Answer the questions below, and you must show your work otherwise no points will be awarded. (a) (3 points) Find a shortest synchronizing sequence for this machine. (b) (3 points) Assume *=0 Find all possible distinguishing sequences of shortest length for this machine. 16 Fall 2014 (Lec: Saluja)

(c) (6 points) Now assume *=X (which can be either 0 or 1), i.e. the machine produces an unknown value whenever input is 1 and the state is B. Which of the distinguishing sequences you found above will not be valid. You must show your work. 17 Fall 2014 (Lec: Saluja)