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

Similar documents
Instructions. Final Exam CPSC/ELEN 680 December 12, Name: UIN:

VLSI System Testing. BIST Motivation

Overview: Logic BIST

Final Exam CPSC/ECEN 680 May 2, Name: UIN:

Design for Test. Design for test (DFT) refers to those design techniques that make test generation and test application cost-effective.

Jin-Fu Li Advanced Reliable Systems (ARES) Laboratory. National Central University

ECE 715 System on Chip Design and Test. Lecture 22

for Digital IC's Design-for-Test and Embedded Core Systems Alfred L. Crouch Prentice Hall PTR Upper Saddle River, NJ

CMOS Testing-2. Design for testability (DFT) Design and Test Flow: Old View Test was merely an afterthought. Specification. Design errors.

VLSI Test Technology and Reliability (ET4076)

Testing Sequential Logic. CPE/EE 428/528 VLSI Design II Intro to Testing (Part 2) Testing Sequential Logic (cont d) Testing Sequential Logic (cont d)

Testability: Lecture 23 Design for Testability (DFT) Slide 1 of 43

Unit 8: Testability. Prof. Roopa Kulkarni, GIT, Belgaum. 29

VLSI Design Verification and Test BIST II CMPE 646 Space Compaction Multiple Outputs We need to treat the general case of a k-output circuit.

K.T. Tim Cheng 07_dft, v Testability

Lecture 18 Design For Test (DFT)

Scan. This is a sample of the first 15 pages of the Scan chapter.

Based on slides/material by. Topic 14. Testing. Testing. Logic Verification. Recommended Reading:

CPE 628 Chapter 5 Logic Built-In Self-Test. Dr. Rhonda Kay Gaede UAH. UAH Chapter Introduction

Testing Digital Systems II

Design of Fault Coverage Test Pattern Generator Using LFSR

Design for Testability

Lecture 23 Design for Testability (DFT): Full-Scan (chapter14)

Testing Digital Systems II

Lecture 17: Introduction to Design For Testability (DFT) & Manufacturing Test

UNIT IV CMOS TESTING. EC2354_Unit IV 1

Chapter 8 Design for Testability

Lecture 23 Design for Testability (DFT): Full-Scan

Module 8. Testing of Embedded System. Version 2 EE IIT, Kharagpur 1

DETERMINISTIC SEED RANGE AND TEST PATTERN DECREASE IN LOGIC BIST

Testing Sequential Circuits

Diagnosis of Resistive open Fault using Scan Based Techniques

Using on-chip Test Pattern Compression for Full Scan SoC Designs

ECE 407 Computer Aided Design for Electronic Systems. Testing and Design for Testability. Instructor: Maria K. Michael. Overview

International Journal of Scientific & Engineering Research, Volume 5, Issue 9, September ISSN

Bit Swapping LFSR and its Application to Fault Detection and Diagnosis Using FPGA

Y. Tsiatouhas. VLSI Systems and Computer Architecture Lab. Built-In Self Test 2

Digital Integrated Circuits Lecture 19: Design for Testability

Quiz #4 Thursday, April 25, 2002, 5:30-6:45 PM

Built-In Self-Test (BIST) Abdil Rashid Mohamed, Embedded Systems Laboratory (ESLAB) Linköping University, Sweden

Introduction. Serial In - Serial Out Shift Registers (SISO)

[Krishna*, 4.(12): December, 2015] ISSN: (I2OR), Publication Impact Factor: 3.785

Design of Test Circuits for Maximum Fault Coverage by Using Different Techniques

Implementation of BIST Test Generation Scheme based on Single and Programmable Twisted Ring Counters

Unit V Design for Testability

Simulation Mismatches Can Foul Up Test-Pattern Verification

VHDL Implementation of Logic BIST (Built In Self Test) Architecture for Multiplier Circuit for High Test Coverage in VLSI Chips

Enhanced JTAG to test interconnects in a SoC

SIC Vector Generation Using Test per Clock and Test per Scan

Design for Testability Part II

Strategies for Efficient and Effective Scan Delay Testing. Chao Han

LFSR Counter Implementation in CMOS VLSI

Chapter 5. Logic Built-In Self-Test. VLSI EE141 Test Principles and Architectures Ch. 5 - Logic BIST - P. 1

I. INTRODUCTION. S Ramkumar. D Punitha

EE241 - Spring 2001 Advanced Digital Integrated Circuits. References

Design and Implementation OF Logic-BIST Architecture for I2C Slave VLSI ASIC Design Using Verilog

Random Access Scan. Veeraraghavan Ramamurthy Dept. of Electrical and Computer Engineering Auburn University, Auburn, AL

Controlling Peak Power During Scan Testing

Based on slides/material by. Topic Testing. Logic Verification. Testing

Nodari S. Sitchinava

Chapter 10 Exercise Solutions

CSE 352 Laboratory Assignment 3

Cell-Aware Fault Analysis and Test Set Optimization in Digital Integrated Circuits

Low Power Illinois Scan Architecture for Simultaneous Power and Test Data Volume Reduction

FLIP-FLOPS AND RELATED DEVICES

國立清華大學電機系 EE-6250 超大型積體電路測試. VLSI Testing. Chapter 7 Built-In Self-Test. Design-for-Testability

CS150 Fall 2012 Solutions to Homework 4

Testing Digital Systems II

IT T35 Digital system desigm y - ii /s - iii

Design of BIST Enabled UART with MISR

The reduction in the number of flip-flops in a sequential circuit is referred to as the state-reduction problem.

A New Approach to Design Fault Coverage Circuit with Efficient Hardware Utilization for Testing Applications

Transactions Brief. Circular BIST With State Skipping

Fpga Implementation of Low Complexity Test Circuits Using Shift Registers

Power Problems in VLSI Circuit Testing

Timing Error Detection: An Adaptive Scheme To Combat Variability EE241 Final Report Nathan Narevsky and Richard Ott {nnarevsky,

Changing the Scan Enable during Shift

Weighted Random and Transition Density Patterns For Scan-BIST

Combinational vs Sequential

Why FPGAs? FPGA Overview. Why FPGAs?

DIGITAL REGISTERS. Serial Input Serial Output. Block Diagram. Operation

VLSI Technology used in Auto-Scan Delay Testing Design For Bench Mark Circuits

Module 8. Testing of Embedded System. Version 2 EE IIT, Kharagpur 1

MULTI-CYCLE AT SPEED TEST. A Thesis MALLIKA SHREE POKHAREL

Design and Implementation of Uart with Bist for Low Power Dissipation Using Lp-Tpg

Design for test methods to reduce test set size

Doctor of Philosophy

At-speed Testing of SOC ICs

Clock Gate Test Points


Sequential Circuit Design: Principle

A Novel Low Power pattern Generation Technique for Concurrent Bist Architecture

Chapter 5: Synchronous Sequential Logic

VTU NOTES QUESTION PAPERS NEWS RESULTS FORUMS Registers

Optimization of Multi-Channel BCH Error Decoding for Common Cases. Russell Dill Master's Thesis Defense April 20, 2015

NH 67, Karur Trichy Highways, Puliyur C.F, Karur District UNIT-III SEQUENTIAL CIRCUITS

Testing of Cryptographic Hardware

IIIHIII III. Signal in. BIST ShiftDR United States Patent (19) Tsai et al. Out Mode Signal out. mclockdr. SCOn

LFSR TEST PATTERN FOR FAULT DETECTION AND DIAGNOSIS FOR FPGA CLB CELLS

JRC ( JTAG Route Controller ) Data Sheet

Transcription:

Department of Electrical and Computer Engineering University of Wisconsin Madison Fall 2014-2015 Final Examination CLOSED BOOK Kewal K. Saluja Date: December 14, 2014 Place: Room 3418 Engineering Hall Time: 12:25-2:25 PM Duration: 120 minutes PROBLEM TOPIC POINTS SCORE 1 Test Economics 13 2 Fault Simulation 10 3 Test Generation 8 4 Test Compaction 8 5 Memory Test 14 6 Pseudo-exhaustive test 10 7 DFT: Full and Partial scan 16 8 BIST 12 9 Boundary Scan 9 TOTAL 100 Last Name: First Name: Show your work carefully for both full and partial credit. You will be given credit only for what appears on your exam. Use extra sheets if you need more space to write 1 Fall 2014 (Lec: Saluja)

1. (13 points) Test Economics Answer the following, and while answering you must show your work. (a) (5 points) A D-type flip-flop with Master Set (MS) and Master Clear (MC) signals is designed to have setup time of 400ps and hold time of 100ps. It is also expected to have clock to Q delay of 400ps. Devise a parametric test for this flip-flop. You must draw the necessary input/output waveforms to explain your method. 2 Fall 2014 (Lec: Saluja)

(b) (8 points) A manufacturer of ICs which uses above type of flip-flop has been testing its devices for the setup and hold time tests and it finds that the yield of his ICs is 90%. It has also been doing some additional testing and discovered that nearly 30% of the devices actually have a set up time of 300ps. Based on this observation, the manufacturer decides to bin the devices into three categories. Namely, 1) failed devices, 2) devices with setup time of 400ps and 3) devices with setup time of 300ps. Clearly the manufacturer has two possible orders to apply the tests, which are: i. apply the 400ps setup time test and then those devices that pass, test them for 300ps setup time. ii. apply the 300ps setup time test and then those devices that fail, test them for 400ps setup time. b1 (5 points) Explain which order of testing is preferred. You must explain your answer using quantitative reasoning. b2 (3 points) What should be the yield of devices with 300ps setup time, when the reverse order of testing compared to what you gave above will be beneficial? Show your work. 3 Fall 2014 (Lec: Saluja)

2. (10 points) Parallel Fault Simulation The circuit of Fig 1 is to be simulated using parallel fault simulation method for the following input pattern: A B C = 1 0 1 2 7 A B 1 4 9 5 3 8 C 6 Figure 1: Combinational Circuit for Parallel Fault Simulation Assuming that the word size of a computer is 5 bits and the bits are numbered from 0 to 4 starting from the right most bit as shown in the Fig 2. bit 4 bit 0 7/5/1 6/1 4/1 3/1/1 Fault Free Figure 2: Bits and Faults to be Injected You are to inject the faults shown in Fig 1 at the bit positions shown in Fig 2. Please pay attention to the correct bit position for each fault. If your choice of positions is different, you will not be given any credit. (a) (2 point) Based on the information provided, marked the lines in the figure, for which the faults are to be simulated. 4 Fall 2014 (Lec: Saluja)

(b) (8 points) Enter all the signal line values in the table below as 5 bit values. I have already placed some of the signal values in the table to get you started. Line Name Simulated value Line Name Simulated value A 1 1 1 1 1 5/4 B 0 0 0 0 0 5/C 1 1 1 1 1 C 5 1/A 7/4 1/B 7/5 1 0 0 0 0 0 7 2/A 1 1 1 1 1 6/C 1 1 1 1 1 2/1 6 3/1 8/5 3/B 8 2 9 3 4 5 Fall 2014 (Lec: Saluja)

3. (8 points) Test Generation A PODEM like test generator is used to generate a test for the fault in a circuit with 8 inputs, A, B, C, D, E, F, G, H. Part of the test generation process which assigns PIs, determines if a backtrack should occur, and the value assigned to each PI is shown in the table below. Table 1: Decision Stack used by PODEM Step No. Objective PI D front comment 1 x13 to 0 C=0 - fault not yet excited 2 B=1 y4 fault excited 3 x12 to 0 A=0 null backtrack and reverse decision 4 A=1 y5, y6 5 x16 to 1 E=1 y5, y6 Objective not yet satisfied 6 x16 to 1 G=0 y5 Objective not yet satisfied 7 x16 to 1 F=1 null Backtrack and reverse the decision 8 F=0 null Backtrack and reverse the decision G=0, Set F=X 9 G=1 y9, y10 10 x10 to 1 D=0 y11 11 x19 to 1 H=1 null Backtrack and reverse the decision 12 H=0 null Backtrack and reverse the decision 13 PO Success Test found (a) (2 points) Complete the PI assignment in row 13 of Table 1. (b) (2 points) Write the generated test. A B C D E F G H = 6 Fall 2014 (Lec: Saluja)

(c) (4 points) Construct the decision tree for the 12 steps of the test generation process shown in Table 1. 7 Fall 2014 (Lec: Saluja)

4. (8 points) Test Compaction Inatestgeneration processforacombinational circuitsixtests, t 1,t 2,t 3,t 4,t 5,t 6 aregenerated to cover a set of given faults. Later it is discovered that we are interested only in a subset of the faults and the subset consists of eight faults, f 1,f 2,f 3,f 4,f 5,f 6,f 7,f 8. Though simulating the six tests for each of the faults (without fault dropping) we find the detection capability of each test as given below. The test t 1 can detect faults f 3 and f 5 The test t 2 can detect faults f 2 and f 7 The test t 3 can detect faults f 2, f 3, and f 7 The test t 4 can detect faults f 1, f 2, and f 7 The test t 5 can detect faults f 4, and f 6 The test t 6 can detect faults f 1, f 4, f 6 and f 8 (a) (4 points) If a reverse order fault simulation method is used to reduce the test set what will be test set produced by such a method to detect all the eight faults. Assume that the original test set order is t 1 t 2... t 6. Show your work but be brief. 8 Fall 2014 (Lec: Saluja)

(b) (4 points) Find a smallest set of tests that can detect all eight faults. You must show your work to prove that the set obtained by you is the smallest set. 9 Fall 2014 (Lec: Saluja)

5. (14 points) Memory testing Answer the following questions related to Memory testing. (a) (4 points) Consider a memory fault in which a memory cell i changes state from 0 to 1 whenever this cell is read and the content of cell i + 1 is also 0, but after correctly reading the contents of the cell in question. Write a March test for detecting such a fault in a memory array. Use as few march elements as possible and the test length should be as small as possible. (b) (10 points) Consider the following March algorithm: { (W0); (R0,W1); (R1)} This algorithm is called MARCH-fa-553-2014. You can refer to the three march elements in this algorithm as M1, M2 and M3. This test is applied to a 1M memory array consisting of 1024 1024 bits. (1 point) What is the length of this algorithm? (1 point) Will this algorithm detect cell all stuck-at faults in the memory array? (2 points) Consider a fault in which a writing a 1 to the memory location 1523 causes the cell 249 to change from 1 to 0. Will this test detect such a fault? If yes, when will the fault be excited and when will it be detected. If no, explain. 10 Fall 2014 (Lec: Saluja)

(2 points) Consider a fault in which a writing a 0 to the memory location 1523 causes the cell 249 to change from 1 to 0, will this test detect such a fault? If yes, when will the fault be excited and when will it be detected. If no, explain. (2 points) Consider a fault in which a writing a 1 to the memory location 4007 causes the cell 429 to change from 0 to 1, will this test detect such a fault? If yes, when will the fault be excited and when will it be detected. If no, explain. (2 points) Consider a fault in which a writing a 0 to the memory location 4007 causes the 429 to change from 0 to 1, will this test detect such a fault? If yes, when will the fault be excited and when will it be detected. If no, explain. 11 Fall 2014 (Lec: Saluja)

6. (10 points) Pseudo-exhaustive testing Consider the combinational circuit shown in Figure 3 A B F1 C G2 D E G1 F2 Figure 3: Circuit for pseudo-exhaustive testing. (a) (1 points) What is the size of exhaustive test to test this circuit. (b) (2 points) What is the size of minimum pseudo-exhaustive test to test this circuit using partitions consisting of cones behind the outputs F1 and F2 (note that these cones are NOT shown in the figure). 12 Fall 2014 (Lec: Saluja)

(c) (7 points) Derive a minimum pseudo-exhaustive test set using sensitized partitioning for the circuit partitions shown in the figure. For your convenience the exhaustive test for the partition F1 with inputs A, B, C is already shown in the table below. A B C D E G1 G2 F1 F2 0 0 0 0 0 0 1 0 0 1 0 0 0 1 1 1 1 0 0 0 1 0 1 0 1 1 0 1 1 1 1 1 13 Fall 2014 (Lec: Saluja)

7. (16 points) DFT: Full and Partial Scan Specifications of a large sequential circuit are given below: Number of PIs 102 Number of POs 129 Number of FFs 1602 Number of gates 490,455 This circuit is designed to operate at 2 GHz (500 picosec clock period). However due to test time issues, the following full and partial scan DFT methods are candidates to ease the test problem. The impact of the DFT and other relevant details are given below. No Scan: No change in performance. The test generator generates 50,050,075 sequential vectors and provides 90.5% fault efficiency. Partial Scan: By placing 525 FFs in the scan path, the test generator generates 20,900 vectors and provides 98.75% fault efficiency. However the system performance degrades by 10% and as a result the system operates at 550 picosec clock. Full Scan: By placing all FFs in the scan path, the test generator generates 2,100 vectors for 100% fault efficiency. However the system performance degrades same as for partial scan, i.e. 550 picosec system clock. Further, to keep the area overhead small, the scan related signals are not well conditioned and therefore the scan operation for full scan can run no faster than 1000 picosec per scan shift operation. (a) (1 point) If partial scan DFT method is used, do we need any modification to the non-scan flip-flops? Explain in no more than 15 words. (b) (1 point) What is the number of primary inputs and primary outputs for test generation purposes for no scan environment? (c) (1 points) What is the number of primary inputs and primary outputs for test generation purposes for partial scan environment? 14 Fall 2014 (Lec: Saluja)

(d) (1 points) What is the number of primary inputs and primary outputs for test generation purposes for full scan environment? (e) (2 points) Compute the number of system clocks and the test application time in milliseconds for testing the circuit with no scan. Show your work. Number of system clocks = Test time = (f) (4 points) Compute the number of scan clocks, system clocks, and test application time, in milliseconds, for testing the circuit with partial scan. You are not required to test the scan chain. Show your work. Number of scan clocks = Number of system clocks = Test time = (g) (4 points) Compute the number of scan clocks, system clocks, and test application time, in milliseconds, for testing the circuit with full scan. You are not required to test the scan chain. Show your work. Number of scan clocks = Number of system clocks = Test time = (h) (2 points) Comment on the method you would recommend to use to test this circuit. Give one or two solid reasons only. 15 Fall 2014 (Lec: Saluja)

8. (12 points) BIST Consider a characteristic polynomial x 5 +x+1 Now answer the following and you must show your work for full credit. (a) (4 points) Is this polynomial factorable? If it can not be factored you must prove it and if it can be factored you should provide its factors. (b) (2 points) Give an internal exclusive-or (modular) realization of this polynomial. For your convenience I have already drawn five FFs in the figure below. 16 Fall 2014 (Lec: Saluja)

(c) (2 points) A data sequence is to be fed to this LFSR. The data sequence is 0 1 0 0 1 1 0 0 1 with the most significant bit written on the left and the least significant bit to the right. Write this sequence in the polynomial form. (d) (4 points) The sequence above is fed to a modular realization of MISR with the characteristic polynomial x 5 +x+1. Determine the signature (contents of MISR) of the circuit producing this sequence as output. You must use the method of polynomial division and show your work. Answer The signature in polynomial form is: 17 Fall 2014 (Lec: Saluja)

9. (9 points) Boundary scan and general problems A board contains five ICs all of which have boundary scan. The information about these ICs is given in the table below: Answer the following: Device information IC-1 IC-2 IC-3 IC-4 IC-5 Number of input pins 211 210 198 175 150 Number of output pins 251 175 129 175 150 Number of bidirectional pins 0 5 0 45 0 Number of three state pins 15 5 0 57 90 Number of POWER pins 51 75 129 105 110 Number of GROUND pins 51 75 129 105 110 Bits in Instruction reg 4 3 5 3 7 Bits in Device ID reg 45 45 52 50 45 (a) (1 points) How many extra pins does each device needed to have relative to nonboundary scan environment? (b) (1 points) What is the length of Boundary scan data register (number of flip-flops in the boundary scan) for the IC-1? (c) (1 points) What is the length of Boundary scan data register (number of flip-flops in the boundary scan) for the IC-2? (d) (1 points) What is the length of Boundary scan data register (number of flip-flops in the boundary scan) for the IC-3? (e) (2 points) Assuming that the TAP controller on each ICs is in Shift-DR state, after configuring each device into Device ID register read mode, how many test clocks (TCK) are required to read out the device ID of all five devices? 18 Fall 2014 (Lec: Saluja)

(f) (2 points) Assume that IC-1, IC-2, IC-3 and IC-4 are in bypass modes and the TAP controller on each ICs is in Shift-DR state, how many test clocks (TCK) are required to load the boundary register of IC-5? You can assume that the ICs are connected in sequential order. (g) (1 points) Are the power and ground pins placed in the boundary scan data register? 19 Fall 2014 (Lec: Saluja)