Testing Sequential Circuits

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

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

VLSI System Testing. BIST Motivation

UNIT IV CMOS TESTING. EC2354_Unit IV 1

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

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

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

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

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

Testing Digital Systems II

Unit V Design for Testability

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

ECE 715 System on Chip Design and Test. Lecture 22

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

Overview: Logic BIST

Design for Testability

Objectives. Combinational logics Sequential logics Finite state machine Arithmetic circuits Datapath

K.T. Tim Cheng 07_dft, v Testability

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

Digital Integrated Circuits Lecture 19: Design for Testability

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)

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

Advanced Devices. Registers Counters Multiplexers Decoders Adders. CSC258 Lecture Slides Steve Engels, 2006 Slide 1 of 20

MC9211 Computer Organization

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

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

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

MODULE 3. Combinational & Sequential logic

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

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

D Latch (Transparent Latch)

CS8803: Advanced Digital Design for Embedded Hardware

EE241 - Spring 2001 Advanced Digital Integrated Circuits. References

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

Lecture 18 Design For Test (DFT)

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

Slide Set 14. Design for Testability

Logic and Computer Design Fundamentals. Chapter 7. Registers and Counters

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

Design for Testability Part II

The basic logic gates are the inverter (or NOT gate), the AND gate, the OR gate and the exclusive-or gate (XOR). If you put an inverter in front of

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

Transactions Brief. Circular BIST With State Skipping

UNIT-3: SEQUENTIAL LOGIC CIRCUITS

Solution to Digital Logic )What is the magnitude comparator? Design a logic circuit for 4 bit magnitude comparator and explain it,

Design of Fault Coverage Test Pattern Generator Using LFSR

problem maximum score 1 28pts 2 10pts 3 10pts 4 15pts 5 14pts 6 12pts 7 11pts total 100pts

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

This Chapter describes the concepts of scan based testing, issues in testing, need

Chapter 5 Synchronous Sequential Logic

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.

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

Memory elements. Topics. Memory element terminology. Variations in memory elements. Clock terminology. Memory element parameters. clock.

Scanned by CamScanner

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

UNIT III. Combinational Circuit- Block Diagram. Sequential Circuit- Block Diagram

Logic Design ( Part 3) Sequential Logic- Finite State Machines (Chapter 3)

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

Section 6.8 Synthesis of Sequential Logic Page 1 of 8

L11/12: Reconfigurable Logic Architectures


CHAPTER 4: Logic Circuits

Synchronous Sequential Logic

Sequencing. Lan-Da Van ( 范倫達 ), Ph. D. Department of Computer Science National Chiao Tung University Taiwan, R.O.C. Fall,

System IC Design: Timing Issues and DFT. Hung-Chih Chiang

Built-In Self-Testing of Micropipelines

Logic Design Viva Question Bank Compiled By Channveer Patil

Sequential Logic. Analysis and Synthesis. Joseph Cavahagh Santa Clara University. r & Francis. TaylonSi Francis Group. , Boca.Raton London New York \

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

MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION (Autonomous) (ISO/IEC Certified)

COMP2611: Computer Organization. Introduction to Digital Logic

Chapter 6. Flip-Flops and Simple Flip-Flop Applications

Experiment 8 Introduction to Latches and Flip-Flops and registers

Combinational vs Sequential

Combinational / Sequential Logic

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

RS flip-flop using NOR gate

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

DIGITAL SYSTEM FUNDAMENTALS (ECE421) DIGITAL ELECTRONICS FUNDAMENTAL (ECE422) LATCHES and FLIP-FLOPS

CHAPTER 4: Logic Circuits

DESIGN OF RANDOM TESTING CIRCUIT BASED ON LFSR FOR THE EXTERNAL MEMORY INTERFACE

VLSI Test Technology and Reliability (ET4076)

TKK S ASIC-PIIRIEN SUUNNITTELU

Laboratory 1 - Introduction to Digital Electronics and Lab Equipment (Logic Analyzers, Digital Oscilloscope, and FPGA-based Labkit)

EECS150 - Digital Design Lecture 3 Synchronous Digital Systems Review. Announcements

RS flip-flop using NOR gate

Chapter 4. Logic Design

CPS311 Lecture: Sequential Circuits

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

Flip-Flops. Because of this the state of the latch may keep changing in circuits with feedback as long as the clock pulse remains active.

EEE2135 Digital Logic Design Chapter 6. Latches/Flip-Flops and Registers/Counters 서강대학교 전자공학과

1. Convert the decimal number to binary, octal, and hexadecimal.

hochschule fu r angewandte wissenschaften hamburg Prof. Dr. B. Schwarz FB Elektrotechnik/Informatik

UNIT 1: DIGITAL LOGICAL CIRCUITS What is Digital Computer? OR Explain the block diagram of digital computers.

CS8803: Advanced Digital Design for Embedded Hardware

CHAPTER1: Digital Logic Circuits

Read-only memory (ROM) Digital logic: ALUs Sequential logic circuits. Don't cares. Bus

Flip Flop. S-R Flip Flop. Sequential Circuits. Block diagram. Prepared by:- Anwar Bari

Design of BIST Enabled UART with MISR


Transcription:

Testing Sequential Circuits 9/25/ Testing Sequential Circuits Test for Functionality Timing (components too slow, too fast, not synchronized) Parts: Combinational logic: faults: stuck /, delay Flip-flops: faults: input, output stuck /, delay no latch / capability Cases: Without feedback With feedback Our work Our work Testing Sequential circuits without feedback Register A Combinational circuit Register B. Generate tet vectors for the combinational circuit. 2. Place a vector in A 3. Examine response in B 4. 2,3 can be done using a. Machine instructions b. Microinstructions c. Specialized hardware 2 YKM

Testing Sequential Circuits 9/25/ BIST (Built-in self-test) Generator Combinational circuit Signature analyzer ALFSR: autonomous linear feedback shift register. Better generators include our antirandom test generator. Generator generates pseudorandom vectors. Often an ALFSR. Signature analyzer compresses all successive responses into a signature. Usually an LFSR. Compared with known good signature. Aliasing probability: prob. that a bad circuit can result in good signature. Very small. BILBO: PIPO, SA functions 3 Sequential Circuits with feedback x y Comb. z Storage elements Software testing correspondence? Example: processor control unit Input: status, opcode Output: control lines Structural testing: How to obtain a desired (x,y) vector How to propagate error Functional testing: Prove presence of all states Prove all transitions/outputs correct 4 YKM 2

Testing Sequential Circuits 9/25/ Sequential Circuits with feedback: Approaches Consider the sequential behavior: Design for testability: feedback-less during testing Scan Design: modes Parallel out Normal: parallel in/out Comb. Test: serial in/out Sequence Scan a vector: test mode Latch response: normal mode Scan response out: test mode Chain too long Multiple chain Serial out Partial scan Parallel in Serial in Model control 5 D-Algo: Sequential Circuits Equivalent iterative array model: x() x() x(2) y() comb Pseudo Flip-flop y() comb Pseudo Flip-flop y(2) comb Pseudo Flip-flop z() Frame () z() Frame () z(2) Frame (2) Q Din Q+ Din Q Psuedo-ff Psuedo-flipflop is a combinational block. Present state 6 YKM 3

Testing Sequential Circuits 9/25/ D-Algo.: Seq Circuit Extension One time-frame for each clock-period. Converts problem to combinational. Only 4 n distinct states possible (boolean values,, D,).? Assume faults in the combinational logic only.? Assume initial state given. Procedure: Get iterative array model, initial state D-algo. to drive D or towards an output z(k) Terminate when D or at an output. a state is repeated. when k>4 n. n=# of flipflops? 7 Seq D-Algo: Example x 5 z x()= x()= x(2)= x x 2 6 D z()= z()= z(2)=d Start: fault α s-a-, initial state, =(,) x Time frame : Since already, line α = For 4= need x()= Since 3= already, D 2 =. Also D = Next state Y()=(, ), z()= x α 4 3 7 D 2 8 YKM 4

Testing Sequential Circuits 9/25/ Seq D-Algo: Ex (pt2) x 5 z x()= x()= x(2)= x x 2 6 D z()= z()= z(2)=d Time frame : Next state Y()=(, ), z()= x Time frame : error can not yet be propagated to z. For D = need x()=. Gives D 2 =. Y(2)=(,), Time frame 2: Since =D, choosing x(2)= gives z=d. Answer: Test sequence (,,) for initial state (,). x α 4 3 7 D 2 9 Initialization Problem Power-up: state undefined How to get FSM in a known state?. Applying an input sequence 2. Resetting to an initial state Resetting always used in practice using a reset/clear line Computers: power-on sequence to initialize PC, SP, interface registers etc. Problem with reset mechanism: highly testable Hence we can neglect it YKM 5

Testing Sequential Circuits 9/25/ Functional Testing of FSMs Given: state table Objective: confirm it is obeyed Approaches:. Only outputs observable: Checking sequence a. Prove all states exist b. For all inputs for each state, these are correct Next state Outputs Complex and lengthy (we ll skip it for now) 2. State observable:. Much easier 2. Euler path, if it exists, can minimize testing Semiconductor RAMs Types: Static (cell is flip-flop), dynamic (charged capacitor) Organization: assume m address lines, assume bit wide chip External: words bits/word = 2 m Internal: m=r+q r lines for word-line selection q lines for bit-line selection 2 YKM 6

Testing Sequential Circuits 9/25/ RAM Chip Organization Read/write Data bit in r decoder Word-line cell Bit-line Coincident selection q dec selector Data bit out 3 RAM Fault Types Soft errors: temporary bit errors: require concurrent detection Corrective action: fault tolerance (retry or encoding) Hard defects Logical Parametric: access-time, leakage current etc. Tested during Manufacturing Power-up etc Highly regular design: allows systematic optimization 4 YKM 7

Testing Sequential Circuits 9/25/ Functional Fault Model By Abraham, Reddy etc One or more cells stuck-at or. Defects in cells Read/write electronics stuck-at / Decoding faults One or more cells fail to do or. Defects in cells One or more pair of cells coupled i,j coupled= or transition of i changes the state of j (not necessarily vice versa) Decoding faults, read/write electronics coupling More than one cells accessed during a read or write Decoding faults 5 RAM Testing: March Step : Write all s. Step 2: For i=,..n- do Read c i (=) c i Read c i (=) Step 3: For i=n-,.. do Read c i (=) c i Read c i (=) Step 4: Repeat steps -3 for complementary pattern... Trail: we know a new cell is being accessed each time Coupling with higher numbered cells.. Coupling with lower numbered cells Complexity: 2n 6 YKM 8

Testing Sequential Circuits 9/25/ Testing for Coupling To test for coupling between all cell pairs (i,j) Test bit i Test bit j Do some sequence of read, write operations for i & j Repeat for all i Repeat for all j Complexity: All i and j: const n n = k n 2 Same row & column only: k n (2 n) = k n.5 Careful sequencing can reduce complexity Suk & Reddy s test satisfies fault model with 4n. 7 Testing Complex Systems Approach: Assume a fault model for each component Assume a system model that takes into account interaction of components Device a testing strategy such that these are adequately tested each individual component Interaction of components A component may be a Physical component Segment of the functionality 8 YKM 9

Testing Sequential Circuits 9/25/ Incremental Testing Core L Layer Layer 2 Partition into layers such that layer i can be exercised using only layers,.. i-. Test components in each layer in the sequence L, L,..Ln. Layering may require Assumptions Disabling feedback during testing Proofs of complete coverage can be constructed. Fault isolation can be done. 9 Incremental testing: Example: Processor Based systems Self-test processor: Basic instructions Addressing modes Complex instructions Test Memory system and buses using processor Test I/O devices/ports Test peripheral devices Test software integrity 2 YKM