ATPG for Synchronous Sequential Circuits ELEC-7950 Spring 2016 Speaker : Mi Yan Student number : mzy0018.

Slides:



Advertisements
Similar presentations
Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 13/12alt1 Lecture 13 Sequential Circuit ATPG Time-Frame Expansion (Lecture 12alt in the Alternative.
Advertisements

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.
1 Fundamentals of Computer Science Sequential Circuits.
Sequential Circuits1 DIGITAL LOGIC DESIGN by Dr. Fenghui Yao Tennessee State University Department of Computer Science Nashville, TN.
SYEN 3330 Digital SystemsJung H. Kim 1 SYEN 3330 Digital Systems Chapter 6 – Part 1.
+ CS 325: CS Hardware and Software Organization and Architecture Sequential Circuits 1.
Sequential Circuits A Basic sequential circuit is nothing but a combinational circuit with some feedback paths between its output and input terminals.
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 8alt1 Lecture 8 Testability Measures n Definition n Controllability and observability n SCOAP measures.
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.
Copyright 2001, Agrawal & BushnellDay-1 PM Lecture 61 Design for Testability Theory and Practice Lecture 6: Combinational ATPG n ATPG problem n Example.
ENGIN112 L20: Sequential Circuits: Flip flops October 20, 2003 ENGIN 112 Intro to Electrical and Computer Engineering Lecture 20 Sequential Circuits: Flip.
Spring 07, Feb 8 ELEC 7770: Advanced VLSI Design (Agrawal) 1 ELEC 7770 Advanced VLSI Design Spring 2007 Logic Equivalence Vishwani D. Agrawal James J.
Partial Scan Design with Guaranteed Combinational ATPG Vishwani D. Agrawal Agere Systems, Circuits and Systems Research Lab Murray Hill, NJ 07974, USA.
Logic and Computer Design Fundamentals Registers and Counters
CS 151 Digital Systems Design Lecture 20 Sequential Circuits: Flip flops.
Sequential Circuits Problems(I) Prof. Sin-Min Lee Department of Mathematics and Computer Science Algorithm = Logic + Control.
Sequential Testing Two choices n Make all flip-flops observable by putting them into a scan chain and using scan latches o Becomes combinational testing.
ECE 301 – Digital Electronics Introduction to Sequential Logic Circuits (aka. Finite State Machines) and FSM Analysis (Lecture #17)
ECE 331 – Digital Systems Design Introduction to Sequential Logic Circuits (aka. Finite State Machines) and FSM Analysis (Lecture #19)
Class Design Project - Test Generation 1 Class Design Project Test Generation Hillary Grimes III ELEC Project Presentation April 26, 2007.
The Processor Andreas Klappenecker CPSC321 Computer Architecture.
1 Sequential Circuits Registers and Counters. 2 Master Slave Flip Flops.
Digital Computer Design Fundamental
VLSI Testing Lecture 7: Combinational ATPG
CENT-113 Digital Electronics 1 Flip Flops TI Type 502 Flip Flop: 1st production IC in 1960.
ECA1212 Introduction to Electrical & Electronics Engineering Chapter 9: Digital Electronics – Sequential Logic by Muhazam Mustapha, November 2011.
Synchronous Sequential Circuits by Dr. Amin Danial Asham.
CAS 721 Course Project Minimum Weighted Clique Cover of Test Set By Wei He ( )
Copyright 2001, Agrawal & BushnellLecture 6: Sequential ATPG1 VLSI Testing Lecture 6: Sequential ATPG n Problem of sequential circuit ATPG n Time-frame.
1 Lecture #11 EGR 277 – Digital Logic Ch. 5 - Synchronous Sequential Logic There are two primary classifications of logic circuits: 1.Combinational logic.
Synchronous Sequential Logic A digital system has combinational logic as well as sequential logic. The latter includes storage elements. feedback path.
Latches and Flip-Flops
Chapter 6 – Digital Electronics – Part 1 1.D (Data) Flip Flops 2.RS (Set-Reset) Flip Flops 3.T Flip Flops 4.JK Flip Flops 5.JKMS Flip Flops Information.
A sequential logic circuit (a.k.a. state machine) consists of both combinational logic circuit(s) and memory devices (flip flops). The combinational circuits.
Synchronous Sequential Circuits by Dr. Amin Danial Asham.
CS151 Introduction to Digital Design Chapter 5: Sequential Circuits 5-1 : Sequential Circuit Definition 5-2: Latches 1Created by: Ms.Amany AlSaleh.
Synchronous Sequential Circuits by Dr. Amin Danial Asham.
State Machine Design State Machine Design Digital Electronics
Counters and registers Eng.Maha Alqubali. Registers Registers are groups of flip-flops, where each flip- flop is capable of storing one bit of information.
ELEC 7950 – VLSI Design and Test Seminar
Sequential Circuit Design 05 Acknowledgement: Most of the following slides are adapted from Prof. Kale's slides at UIUC, USA.
Sequential Logic Circuit Design Eng.Maha Alqubali.
TOPIC : Introduction to Sequential Circuits UNIT 1: Modeling and Simulation Module 4 : Modeling Sequential Circuits.
Flip-Flop Flip-flops Objectives Upon completion of this chapter, you will be able to :  Construct and analyze the operation of a latch flip-flop made.
Speaker: Nansen Huang VLSI Design and Test Seminar (ELEC ) March 9, 2016 Simulation-Based Equivalence Checking.
Digital Design: With an Introduction to the Verilog HDL, 5e M. Morris Mano Michael D. Ciletti Copyright ©2013 by Pearson Education, Inc. All rights reserved.
Sequential Logic Design
Introduction to Advanced Digital Design (14 Marks)
Hardware Testing and Designing for Testability
Clock in Digital Systems
VLSI Testing Lecture 4: Testability Analysis
FIGURE 5.1 Block diagram of sequential circuit
Flip-Flop.
Algorithms and representations Structural vs. functional test
DIGITAL ELECTRONICS ТHEME 4: SEQUENTIAL LOGIC CIRCUITS. FLIP- FLOPS – ASYNCHRONOUS AND SYNCHRONOUS, R - S, D, T, J - K FLIP- FLOPS. The value of the outputs.
Sequential logic circuits
Lecture 13 Sequential Circuit ATPG Time-Frame Expansion
VLSI Testing Lecture 7: Combinational ATPG
Lecture 10 Sequential Circuit ATPG Time-Frame Expansion
Boolean Algebra and Digital Logic
VLSI Testing Lecture 8: Sequential ATPG
Fault Models, Fault Simulation and Test Generation
VLSI Testing Lecture 7: Combinational ATPG
DESIGN OF SEQUENTIAL CIRCUITS
Sequential circuit analysis
VLSI Testing Lecture 4: Testability Analysis
Digital Electronics and Logic Circuit
Lecture 13 Sequential Circuit ATPG Time-Frame Expansion
Presentation transcript:

ATPG for Synchronous Sequential Circuits ELEC-7950 Spring 2016 Speaker : Mi Yan Student number : mzy0018

ATPG for Synchronous Sequential Circuits Background of The Subject Sequential versus combinational circuits Time frame expansion method A simple sequential circuit with a stuck-at-0 fault Conclusion contents

Automatic Test Pattern Generation Automatic Test Pattern Generator test equipmentdigital circuit used to find an input (or test) sequence distinguish between the correct circuit behavior and the faulty circuit behavior background ATPG for Synchronous Sequential Circuits electronic design automation technology caused by defects

Sequential circuits fall into two classes: synchronous and asynchronous. first second third synchronous: D-type flip-flop, the JK flip- flop and their derivatives. Asynchronous: sequential circuits the inputs are levels and there are no clock pulses; the inputs events drive the circuit. ATPG for Synchronous Sequential Circuits

ATPG and testing: Sequential versus combinational circuits

Basic architecture of a sequential circuit ATPG and testing: Sequential versus combinational circuits Once indirect controllability and observability are achieved, ATPG for these combinational blocks can be done using D-algorithm or any other combinational APTG algorithm.

s-a-0 fault at net a A simple sequential circuit with a stuck-at-0 fault gate-1 corresponds to the OFB gate-2 is for the NSF D-flip flop is the memory element.

A simple sequential circuit with a stuck-at-0 fault Company Logo Problems in ATPG for the stuck-at-0 fault flip-flop can have any signal value (marked as X). So testing the s-a-0 fault is not as simple as in case of combinational circuits.

A simple sequential circuit with a stuck-at-0 fault Company Logo Indirect controlling of f to 0 first make net d=0, following transfer the value of d to f, then a =1 and b =X

A simple sequential circuit with a stuck-at-0 fault Company Logo Test pattern for the s-a-0 fault ATPG for combinational blocks in sequential circuits require more than one pattern. In this example, the first pattern is a =X, b =0 and clock edge followed by a =1 and b =X.

Sequential circuits with a s-a-0 fault ATPG steps: flip-flops net D- algorithm required signals Secondary inputs values of primary inputs values of secondary inputs ATPG of sequential circuits: Time frame expansion method

replace the flip-flops with nets ATPG for sequential circuits using the time frame expansion approach

Sequential depth of a flip-flop If the output of a flip-flop can be controlled by only primary inputs (and a clock pulse) it has sequential depth of 1. A flip-flop has a sequential depth of d seq if its output is dependent on primary inputs and at least one flip-flop of depth d seq -1. disuses the following definitions Ⅰ

Non-cyclic Circuit A sequential circuit is non-cyclic if there is no flip-flop whose input is dependent on its output. disuses the following definitions and conditions Ⅱ

time step-1 three time steps Set primary inputs such that F1 is set appropriately which (along with primary inputs) can enable F2 to be 1 in Time Step-2. As i is to be 1 in Time Step-2, so d is to be made 1 by making primary input c =1 (in Time Step-1). Other primary inputs are don't cares in this step. Finally a clock pulse is given.

three time steps Company Logo Time step-2 Net d =1 from settings in Step-1. Now we need to appropriately set primary inputs such that F2 is 1 and along with it F1 is also 1, in Time Step-3. To make F2=1 (having set d=1) we need to have b =1. Also, to have F1=1 we need to have c =1. The other primary input a is don't care. Finally a clock pulse is given.

three time steps Company Logo Time step-3 So we have d =1 and i =1, from the setting in Time Step-2; equivalently F1=1 and F2=1. Now as per the test pattern given in Figure 11, primary input a =1 and b =1 would result in D at the output.

Test pattern  (i) a =X, b =X, c =1 (clock pulse)  (ii) a =X, b =1, c =1 (clock pulse)  (iii) a =1, b =1, c =X.

Conclusion  Need multiple patterns and clock pulses  So applying the patterns for testing a sequential circuit involves much more test time than a combinational circuit  The complexity of ATPG algorithms for sequential circuits is higher than of combinational ones  The problem was the controllability of secondary inputs and observability of secondary outputs.

Reference  V.D. Agrawal, K.T. Cheng, P. Agrawal: “A directed search method for test generation using a concurrent fault simulator,” IEEE Transactions on Computer-Aided Design, Vol. 8, n. 2, February 1989, pp. 131–138  F.P.M. Beenker, K.J.E. van Erdewijk, R.B.W. Geritzen, F.F. Peacock, M. van der Star: “Macro Testing: Unifying IC and Board Test,” IEEE Design & Test of Computers, December 1986, pp. 26–32  W.T. Cheng: “The Back Algorithm for sequential test generation,” ICCD'88: IEEE International Conference on Computer Design, Rye Brook, NY (USA), October 1988, pp. 66–69  H. Fujiwara: “Logic testing and design for testability,” The MIT Press, Cambridge, MA (USA), 1975  Mano, M. Morris,. Digital Design, 2/e. Prentice-Hall of India