Modern VLSI Design 3e: Chapter 5,6 Copyright  2002 Prentice Hall PTR Adapted by Yunsi Fei Topics n Sequential machine (§5.2, §5.3) n FSM construction.

Slides:



Advertisements
Similar presentations
Digital Integrated Circuits© Prentice Hall 1995 Design Methodologies Design for Test.
Advertisements

Copyright 2001, Agrawal & BushnellLecture 12: DFT and Scan1 VLSI Testing Lecture 10: DFT and Scan n Definitions n Ad-hoc methods n Scan design  Design.
Modern VLSI Design 4e: Chapter 5 Copyright  2008 Wayne Wolf Topics n Performance analysis of sequential machines.
Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 13/12alt1 Lecture 13 Sequential Circuit ATPG Time-Frame Expansion (Lecture 12alt in the Alternative.
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.
Modern VLSI Design 4e: Chapter 5 Copyright  2008 Wayne Wolf Topics n State assignment. n Power optimization of sequential machines. n Design validation.
Mar. 23, 2001VLSI Test: Bushnell-Agrawal/Lecture 201 Lecture 20 Delay Test n Delay test definition n Circuit delays and event propagation n Path-delay.
Modern VLSI Design 4e: Chapter 5 Copyright  2008 Wayne Wolf Topics n Memory elements. n Basics of sequential machines.
1 Chapter Design For Testability The Scan-Path Technique The testing problems with sequential circuit can be overcome by two properties: 1.The.
FPGA-Based System Design: Chapter 5 Copyright  2004 Prentice Hall PTR Clocking disciplines Flip-flops. Latches.
LEONARDO INSIGHT II / TAP-MM ASTEP - Basic Test Concepts © J. M. Martins Ferreira - University of Porto (FEUP / DEEC)1 Basic test concepts J. M. Martins.
Modern VLSI Design 2e: Chapter 8 Copyright  1998 Prentice Hall PTR Topics n High-level synthesis. n Architectures for low power. n Testability and architecture.
Modern VLSI Design 3e: Chapter 10 Copyright  2002 Prentice Hall Adapted by Yunsi Fei ECE 300 Advanced VLSI Design Fall 2006 Lecture 24: CAD Systems &
TOPIC : Backtracking Methodology UNIT 3 : VLSI Testing Module 3.2: Arriving at Input Test Vector.
Copyright 2001, Agrawal & BushnellDay-2 PM Lecture 101 Design for Testability Theory and Practice Lecture 10: DFT and Scan n Definitions n Ad-hoc methods.

EE466: VLSI Design Lecture 17: Design for Testability
Modern VLSI Design 2e: Chapter 4 Copyright  1998 Prentice Hall PTR Topics n Switch networks. n Combinational testing.
Modern VLSI Design 2e: Chapter 5 Copyright  1998 Prentice Hall PTR Topics n Sequential machine implementation: –clocking. n Sequential machine design.
1 Lecture 23 Design for Testability (DFT): Full-Scan n Definition n Ad-hoc methods n Scan design Design rules Scan register Scan flip-flops Scan test sequences.
Modern VLSI Design 2e: Chapter4 Copyright  1998 Prentice Hall PTR.
Chapter 7: Testing Of Digital Circuits 1 Testing of Digital Circuits M. Balakrishnan Dept. of Comp. Sci. & Engg. I.I.T. Delhi.
ELEN 468 Lecture 241 ELEN 468 Advanced Logic Design Lecture 24 Design for Testability.
Modern VLSI Design 2e: Chapter 6 Copyright  1998 Prentice Hall PTR Topics n Shifters. n Adders and ALUs.
Vishwani D. Agrawal James J. Danaher Professor
Modern VLSI Design 2e: Chapter 5 Copyright  1998 Prentice Hall PTR Topics n Memory elements. n Basics of sequential machines.
January 16, '02Agrawal: Delay testing1 Delay Testing of Digital Circuits Vishwani D. Agrawal Agere Systems, Murray Hill, NJ USA
Testing of Logic Circuits. 2 Outline  Testing –Logic Verification –Silicon Debug –Manufacturing Test  Fault Models  Observability and Controllability.
Modern VLSI Design 2e: Chapter 5 Copyright  1998 Prentice Hall PTR Topics n State assignment. n Power optimization of sequential machines. n Design validation.
Prof. John Nestor ECE Department Lafayette College Easton, Pennsylvania ECE VLSI Circuit Design Lecture 14 - Testing.
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.
Design for Testability
FPGA-Based System Design: Chapter 5 Copyright  2004 Prentice Hall PTR Topics n Basics of sequential machines. n Sequential machine specification. n Sequential.
Sequential Networks Two major classes of Sequential Circuits 1.Fundamental Mode – A sequential circuit where: Only one input is allowed to change at any.
EE 447/EE547 1 VLSI DESIGN Lecture 10 Design for Testability.
Introduction to CMOS VLSI Design Test. CMOS VLSI DesignTestSlide 2 Outline  Testing –Logic Verification –Silicon Debug –Manufacturing Test  Fault Models.
Modern VLSI Design 4e: Chapter 4 Copyright  2008 Wayne Wolf Topics n Switch networks. n Combinational testing.
Modern VLSI Design 4e: Chapter 8 Copyright  2008 Wayne Wolf Topics Testability and architecture. Design methodologies. Multiprocessor system-on-chip.
August VLSI Testing and Verification Shmuel Wimer Bar Ilan University, School of Engineering.
CSE477 L28 DFT.1Irwin&Vijay, PSU, 2003 CSE477 VLSI Digital Circuits Fall 2003 Lecture 28: Design for Test Mary Jane Irwin ( )
Chapter 7. Testing of a digital circuit
Modern VLSI Design 3e: Chapter 4 Copyright  1998, 2002 Prentice Hall PTR Topics n Combinational network delay. n Logic optimization.
Design for Testability By Dr. Amin Danial Asham. References An Introduction to Logic Circuit Testing.
Topics Design methodologies. Kitchen timer example.
ECE 260B – CSE 241A Testing 1http://vlsicad.ucsd.edu ECE260B – CSE241A Winter 2005 Testing Website:
ECE 553: TESTING AND TESTABLE DESIGN OF DIGITAL SYSTEMS
Topics Combinational network delay.
TOPIC : Different levels of Fault model UNIT 2 : Fault Modeling Module 2.1 Modeling Physical fault to logical fault.
Fault modeling is the translation of physical defects into a mathematical construct that can be operated upon algorithmically and.
Copyright 2001, Agrawal & BushnellLecture 6: Sequential ATPG1 VLSI Testing Lecture 6: Sequential ATPG n Problem of sequential circuit ATPG n Time-frame.
An introduction to Fault Detection in Logic Circuits By Dr. Amin Danial Asham.
Ch.5 Logic Design Standard Cell Design TAIST ICTES Program VLSI Design Methodology Hiroaki Kunieda Tokyo Institute of Technology 1.
CS/EE 3700 : Fundamentals of Digital System Design
Modern VLSI Design 3e: Chapter 8 Copyright  1998, 2002 Prentice Hall PTR Topics n Basics of register-transfer design: –data paths and controllers; –ASM.
Manufacture Testing of Digital Circuits
TOPIC : Fault detection and fault redundancy UNIT 2 : Fault modeling Module 2.3 Fault redundancy and Fault collapsing.
ELEC 7950 – VLSI Design and Test Seminar
TOPIC : Introduction to Sequential Circuits UNIT 1: Modeling and Simulation Module 4 : Modeling Sequential Circuits.
Lecture 5: Design for Testability. CMOS VLSI DesignCMOS VLSI Design 4th Ed. 12: Design for Testability2 Outline  Testing –Logic Verification –Silicon.
1 VLSI Design Lecture Four Design & Testing Issues Dr. Richard Spillman PLU Spring 2003.
Lecture 23 Design for Testability (DFT): Full-Scan (chapter14)
332:437 Lecture 12 Finite State Machine Design
Lecture 13 Sequential Circuit ATPG Time-Frame Expansion
Lecture 10 Sequential Circuit ATPG Time-Frame Expansion
ECE 553: TESTING AND TESTABLE DESIGN OF DIGITAL SYSTEMS
VLSI Testing Lecture 8: Sequential ATPG
Automatic Test Pattern Generation
Topics Switch networks. Combinational testing..
VLSI Testing Lecture 13: DFT and Scan
Lecture 13 Sequential Circuit ATPG Time-Frame Expansion
Presentation transcript:

Modern VLSI Design 3e: Chapter 5,6 Copyright  2002 Prentice Hall PTR Adapted by Yunsi Fei Topics n Sequential machine (§5.2, §5.3) n FSM construction (§5.4) n Testing and design for testability (§4.8, §5.7) –Fault models –Combinational logic testing –Sequential logic testing

Modern VLSI Design 3e: Chapter 5,6 Copyright  2002 Prentice Hall PTR Adapted by Yunsi Fei Manufacturing Testing n Errors are introduced during manufacturing n Testing: manufacturing validation n Varieties of testing: –functional testing –performance testing (binning chips by speed) n Testing also weeds out infant mortality

Modern VLSI Design 3e: Chapter 5,6 Copyright  2002 Prentice Hall PTR Adapted by Yunsi Fei Fault Modeling n Fault model –Convert a physical problem to a logical problem –Stuck-at, stuck-open, delay... fault models –Single-fault assumption n With fault models +Simulate the I/O behavior produced by the fault +Find possible locations of faults –impossible to incorporate all manufacturing faults »Can’t guarantee the circuit is fault-free even if no fault is found under the fault model

Modern VLSI Design 3e: Chapter 5,6 Copyright  2002 Prentice Hall PTR Adapted by Yunsi Fei Stuck-at-0/1 Faults n Stuck-at-0/1 (s-a-0/1): a wire is always stuck at 0 or 1, independent of its drive value –Easiest and useful in practice, thus most popular 1 0B A C 0 1B A C 0 1B A C 1 0B A C

Modern VLSI Design 3e: Chapter 5,6 Copyright  2002 Prentice Hall PTR Adapted by Yunsi Fei Stuck-at-open/closed Model n Models transistors always on/off –how do we test t1 stuck-open?

Modern VLSI Design 3e: Chapter 5,6 Copyright  2002 Prentice Hall PTR Adapted by Yunsi Fei Delay Fault n Delay falls outside acceptable limits –gate delay fault model: »assume that all delays are lumped into one gate; –path delay fault models: »assume delay problems along path through network. n Delay problems reduce yield –performance problems; –functional problems in some types of circuits.

Modern VLSI Design 3e: Chapter 5,6 Copyright  2002 Prentice Hall PTR Adapted by Yunsi Fei Combinational Network Testing n Assume a combinational network Z(x); a fault f and the faulty network Z f (x) –Test vector: all the x that satisfies Z f  Z = 1 »Boolean satisfiability problem: NP complete n Testing procedure –Control: the primary inputs (i.e. set test vector) –Observe: the primary outputs –Compare: outputs with good circuit outputs

Modern VLSI Design 3e: Chapter 5,6 Copyright  2002 Prentice Hall PTR Adapted by Yunsi Fei Combinational Testing Example 1 Goal: test output of gate D for s-a-0 fault A B C D E F 0 i1 i2 i3 i4 i5 i6 O s-a

Modern VLSI Design 3e: Chapter 5,6 Copyright  2002 Prentice Hall PTR Adapted by Yunsi Fei Testing Procedure n Two major steps: –Propagate (forward): »set the internal lines so that the faulty value can be seen at the PO –Justify (backward) »set the PIs so that the internal lines can be justified n Reconvergent fanouts –make justification difficult

Modern VLSI Design 3e: Chapter 5,6 Copyright  2002 Prentice Hall PTR Adapted by Yunsi Fei Redundancy n If Z f  Z, there is no way to find the fault –Can’t justify n Redundancy causes Z f  Z –Z(x) = a + ab (s-a-1 for the a in ab) –Hard to completely remove redundancy a b Z s-a-1

Modern VLSI Design 3e: Chapter 5,6 Copyright  2002 Prentice Hall PTR Adapted by Yunsi Fei Sequential Testing n Much harder than combinational testing –Can’t set memory element elements directly –Can’t observe memory elements directly n Functional testing: FSM verification –Only a RT level description is need –Can also be used in design validation

Modern VLSI Design 3e: Chapter 5,6 Copyright  2002 Prentice Hall PTR Adapted by Yunsi Fei FSM Verification n Given a sequential circuit S, how do we verify it actually is the FSM we want? –Initialization: bring S to a known state »E.g. “0” initializes the sequencer to state S0 –Verify S has (at least) n states »Given k flip-flops, can know S has at most 2 k states »If n = 2 k, can then verify S has n states –Verify every transition in the state table of S

Modern VLSI Design 3e: Chapter 5,6 Copyright  2002 Prentice Hall PTR Adapted by Yunsi Fei Sequence Recognizer Example Presentinputnextoutput S0 (00)0S0 (00)00 S0(00)1S1 (01)00 S1(01)0S0 (00)01 S1(01)1S2 (10)00 S2(10)0S0 (00)11 S2(10)1S2 (10) A A B A B C A A C A A

Modern VLSI Design 3e: Chapter 5,6 Copyright  2002 Prentice Hall PTR Adapted by Yunsi Fei Time-frame Expansion n Another way to look at FSM verification –Unroll machine in time –One SA fault becomes multiple faults

Modern VLSI Design 3e: Chapter 5,6 Copyright  2002 Prentice Hall PTR Adapted by Yunsi Fei Unreachable States n State assignment may cause some states to be unreachable –E.g. “11” in the sequence recognizer n FSM verification –Violate the maximum states assumption »E.g. The sequence recognizer would not tell the difference between a 1110/10 sequence recognizer n Time-frame expansion –Unable to set an internal value

Modern VLSI Design 3e: Chapter 5,6 Copyright  2002 Prentice Hall PTR Adapted by Yunsi Fei Design for Testability n Controllability: the ability to establish a specific signal value at each circuit node n Observability: the ability to determine the value at each circuit node n Scan registers –Increase controllability and observability for sequential circuits –LSSD (level-sensitive scan design), Scan-path

Modern VLSI Design 3e: Chapter 5,6 Copyright  2002 Prentice Hall PTR Adapted by Yunsi Fei Full Scan Method n Connect all the system flip-flops in a scan chain as a big shift register n When in “test” mode –Stop system clock –Scan in the value for each flip-flop in the chain –Run the system clock for one or more cycles –Scan out the value for each flip-flop in the chain

Modern VLSI Design 3e: Chapter 5,6 Copyright  2002 Prentice Hall PTR Adapted by Yunsi Fei Scan Chain Scan-in Scan-out

Modern VLSI Design 3e: Chapter 5,6 Copyright  2002 Prentice Hall PTR Adapted by Yunsi Fei An LSSD Latch D1 CK1 CK2 CK3 D2 Q

Modern VLSI Design 3e: Chapter 5,6 Copyright  2002 Prentice Hall PTR Adapted by Yunsi Fei A Multiplexed D Flip-flop DQ TE DQ D2 D1  Q

Modern VLSI Design 3e: Chapter 5,6 Copyright  2002 Prentice Hall PTR Adapted by Yunsi Fei Partial Scan n Full scan is expensive—must roll out and roll in state many times during a set of tests. n Partial scan selects some registers for scannability. n Requires analysis to choose which registers are best for scan.

Modern VLSI Design 3e: Chapter 5,6 Copyright  2002 Prentice Hall PTR Adapted by Yunsi Fei Boundary Scan n Board-level debugging scan_in scan_out