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.

Slides:



Advertisements
Similar presentations
Introduction to DFT Alexander Gnusin.
Advertisements

Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 23/19alt1 Lecture 23 Design for Testability (DFT): Full-Scan (Lecture 19alt in the Alternative Sequence)
Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 31/22alt1 Lecture 31 System Test (Lecture 22alt in the Alternative Sequence) n Definition n Functional.
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.
Apr. 20, 2001VLSI Test: Bushnell-Agrawal/Lecture 311 Lecture 31 System Test n Definition n Functional test n Diagnostic test  Fault dictionary  Diagnostic.
Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 261 Lecture 26 Logic BIST Architectures n Motivation n Built-in Logic Block Observer (BILBO) n Test.
1 A Random Access Scan Architecture to Reduce Hardware Overhead Anand S. Mudlapur Vishwani D. Agrawal Adit D. Singh Department of Electrical and Computer.
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.
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.
Dec 21, Design for Testability Virendra Singh Indian Institute of Science Bangalore {computer, ieee}.org IEP on Digital System.
Copyright 2005, Agrawal & BushnellVLSI Test: Lecture 21alt1 Lecture 21alt BIST -- Built-In Self-Test (Alternative to Lectures 25, 26 and 27) n Definition.
Lecture 20 Delay Test (Lecture 17alt in the Alternative Sequence)
1 Lecture 20 Delay Test n Delay test definition n Circuit delays and event propagation n Path-delay tests  Non-robust test  Robust test  Five-valued.
Copyright 2005 Agrawal & BushnellHyderabad, July 27-29, 2006 (Day 3)1  Memory organization  Memory test complexity  Faults and fault models  MATS+
Lecture 28 IEEE JTAG Boundary Scan Standard
Copyright 2001, Agrawal & BushnellDay-1 AM Lecture 11 Design for Testability Theory and Practice January 15 – 17, 2005 Vishwani D. Agrawal James J. Danaher.
Copyright 2001, Agrawal & BushnellDay-1 PM Lecture 4b1 Design for Testability Theory and Practice Lecture 4b: Fault Simulation n Problem and motivation.
Copyright 2001, Agrawal & BushnellDay-1 PM-2 Lecture 51 Testing Analog & Digital Products Lecture 5: Testability Measures n Definition n Controllability.
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.
Design for Testability Theory and Practice Lecture 11: BIST
Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 11 Lecture 1 Introduction n VLSI realization process n Verification and test n Ideal and real tests.
Fundamentals of Digital Test and DFT
ELEN 468 Lecture 241 ELEN 468 Advanced Logic Design Lecture 24 Design for Testability.
Copyright 2001, Agrawal & BushnellDay-2 PM Lecture 121 Design for Testability Theory and Practice Lecture 12: System Diagnosis n Definition n Functional.
Practically Realizing Random Access Scan Anand S. Mudlapur Department of Electrical and Computer Engineering Auburn University, AL USA.
Vishwani D. Agrawal James J. Danaher Professor
Spring 07, Jan 25 ELEC 7770: Advanced VLSI Design (Agrawal) 1 ELEC 7770 Advanced VLSI Design Spring 2007 VLSI System DFT Vishwani D. Agrawal James J. Danaher.
January 16, '02Agrawal: Delay testing1 Delay Testing of Digital Circuits Vishwani D. Agrawal Agere Systems, Murray Hill, NJ USA
HIGH-SPEED VLSI TESTING WITH SLOW TEST EQUIPMENT Vishwani D. Agrawal Agere Systems Processor Architectures and Compilers Research Murray Hill, NJ
Copyright 2005, Agrawal & BushnellVLSI Test: Lecture 20alt1 Lecture 20alt DFT: Partial, Random-Access & Boundary Scan n Definition n Partial-scan architecture.
Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 241 Lecture 24 Design for Testability (DFT): Partial-Scan & Scan Variations n Definition n Partial-scan.
Copyright 2001, Agrawal & BushnellDay-1 AM-1 Lecture 11 Testing Analog & Digital Products Dr. Vishwani D. Agrawal James J. Danaher Professor of Electrical.
ELEN 468 Lecture 251 ELEN 468 Advanced Logic Design Lecture 25 Built-in Self Test.
Design for Testability
Digital Testing: Scan-Path Design
1 EE 587 SoC Design & Test Partha Pande School of EECS Washington State University
Scan and JTAG Principles1 Scan and JTAG Principles ARM Advanced RISC Machines.
Washington State University
ECE 553: TESTING AND TESTABLE DESIGN OF DIGITAL SYSTEMS Design for Testability (DFT) - 2.
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.
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 ( )
ECE 553: TESTING AND TESTABLE DESIGN OF DIGITAL SYSTEMS
ECE 553: TESTING AND TESTABLE DESIGN OF DIGITAL SYSTEMS Boundary Scan.
ECE 553: TESTING AND TESTABLE DESIGN OF DIGITAL SYSTEMS
April 20, 2001VLSI Test: Bushnell-Agrawal/Lecture 281 Lecture 28 IEEE JTAG Boundary Scan Standard n Motivation n Bed-of-nails tester n System view.
Copyright 2001, Agrawal & BushnellLecture 6: Sequential ATPG1 VLSI Testing Lecture 6: Sequential ATPG n Problem of sequential circuit ATPG n Time-frame.
Ch.5 Logic Design Standard Cell Design TAIST ICTES Program VLSI Design Methodology Hiroaki Kunieda Tokyo Institute of Technology 1.
Power Problems in VLSI Circuit Testing Keynote Talk Vishwani D. Agrawal James J. Danaher Professor Electrical and Computer Engineering Auburn University,
SYSTEM-LEVEL TEST TECHNIQUES INTRODUCTION In the 1970s, the in-circuit testing (ICT) method appeared. In the 1970s, the in-circuit testing (ICT) method.
VLSI Testing Lecture 14: System Diagnosis
Testing And Testable Design of Digital Systems
VLSI Testing Lecture 14: Built-In Self-Test
CPE/EE 428/528 VLSI Design II – Intro to Testing (Part 2)
CPE/EE 428/528 VLSI Design II – Intro to Testing (Part 3)
ECE 434 Advanced Digital System L18
Lecture 23 Design for Testability (DFT): Full-Scan (chapter14)
Definition Partial-scan architecture Historical background
Lecture 13 Sequential Circuit ATPG Time-Frame Expansion
ECE 553: TESTING AND TESTABLE DESIGN OF DIGITAL SYSTEMS
VLSI Testing Lecture 8: Sequential ATPG
Pre-Computed Asynchronous Scan Invited Talk
Testing in the Fourth Dimension
Design for Testability
VLSI Testing Lecture 9: Delay Test
VLSI Testing Lecture 7: Delay Test
Lecture 26 Logic BIST Architectures
Manufacturing Testing
VLSI Testing Lecture 13: DFT and Scan
Presentation transcript:

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 n Scan design  Design rules  Scan register  Scan flip-flops  Scan test sequences  Overheads n Boundary scan n Summary

Copyright 2001, Agrawal & BushnellDay-2 PM Lecture 102 Definitions n Design for testability (DFT) refers to those design techniques that make test generation and test application cost-effective. n DFT methods for digital circuits:  Ad-hoc methods  Structured methods:  Scan  Partial Scan  Built-in self-test (BIST)  Boundary scan n DFT method for mixed-signal circuits:  Analog test bus

Copyright 2001, Agrawal & BushnellDay-2 PM Lecture 103 Ad-Hoc DFT Methods n Good design practices learnt through experience are used as guidelines:  Avoid asynchronous (unclocked) feedback.  Make flip-flops initializable.  Avoid redundant gates. Avoid large fanin gates.  Provide test control for difficult-to-control signals.  Avoid gated clocks.  Consider ATE requirements (tristates, etc.) n Design reviews conducted by experts or design auditing tools. n Disadvantages of ad-hoc DFT methods:  Experts and tools not always available.  Test generation is often manual with no guarantee of high fault coverage.  Design iterations may be necessary.

Copyright 2001, Agrawal & BushnellDay-2 PM Lecture 104 Scan Design  Circuit is designed using pre-specified design rules.  Test structure (hardware) is added to the verified design:  Add a test control (TC) primary input.  Replace flip-flops by scan flip-flops (SFF) and connect to form one or more shift registers in the test mode.  Make input/output of each scan shift register controllable/observable from PI/PO.  Use combinational ATPG to obtain tests for all testable faults in the combinational logic.  Add shift register tests and convert ATPG tests into scan sequences for use in manufacturing test.

Copyright 2001, Agrawal & BushnellDay-2 PM Lecture 105 Scan Design Rules n Use only clocked D-type of flip-flops for all state variables. n At least one PI pin must be available for test; more pins, if available, can be used. n All clocks must be controlled from PIs. n Clocks must not feed data inputs of flip-flops.

Copyright 2001, Agrawal & BushnellDay-2 PM Lecture 106 Correcting a Rule Violation n All clocks must be controlled from PIs. Comb. logic Comb. logic D1 D2 CK Q FF Comb. logic D1 D2 CK Q FF Comb. logic

Copyright 2001, Agrawal & BushnellDay-2 PM Lecture 107 Scan Flip-Flop (SFF) D TC SD CK Q Q MUX D flip-flop Master latchSlave latch CK TC Normal mode, D selectedScan mode, SD selected Master open Slave open t t Logic overhead

Copyright 2001, Agrawal & BushnellDay-2 PM Lecture 108 Level-Sensitive Scan-Design Flip-Flop (LSSD-SFF) D SD MCK Q Q D flip-flop Master latchSlave latch t SCK TCK SCK MCK TCK Normal mode MCK TCK Scan mode Logic overhead

Copyright 2001, Agrawal & BushnellDay-2 PM Lecture 109 Adding Scan Structure SFF Combinational logic PI PO SCANOUT SCANIN TC or TCK Not shown: CK or MCK/SCK feed all SFFs.

Copyright 2001, Agrawal & BushnellDay-2 PM Lecture 1010 Comb. Test Vectors I2 I1 O1 O2 S2 S1 N2 N1 Combinational logic PI Present state PO Next state SCANIN TC SCANOUT

Copyright 2001, Agrawal & BushnellDay-2 PM Lecture 1011 Comb. Test Vectors I2 I1 O1 O2 PI PO SCANIN SCANOUT S1 S2 N1 N TC Don’t care or random bits Sequence length = (n comb + 1) n sff + n comb clock periods n comb = number of combinational vectors n sff = number of scan flip-flops

Copyright 2001, Agrawal & BushnellDay-2 PM Lecture 1012 Testing Scan Register n Scan register must be tested prior to application of scan test sequences. n A shift sequence of length n sff + 4 in scan mode (TC = 0) produces 00, 01, 11 and 10 transitions in all flip-flops and observes the result at SCANOUT output. n Total scan test length: (n comb + 2) n sff + n comb + 4 clock periods. n Example: 2,000 scan flip-flops, 500 comb. vectors, total scan test length ~ 10 6 clocks. n Multiple scan registers reduce test length.

Copyright 2001, Agrawal & BushnellDay-2 PM Lecture 1013 Multiple Scan Registers n Scan flip-flops can be distributed among any number of shift registers, each having a separate scanin and scanout pin. n Test sequence length is determined by the longest scan shift register. n Just one test control (TC) pin is essential. SFF Combinational logic PI/SCANIN PO/ SCANOUT MUXMUX CK TC

Copyright 2001, Agrawal & BushnellDay-2 PM Lecture 1014 Scan Overheads n IO pins: One pin necessary. n Area overhead:  Gate overhead = [4 n sff /(n g +10n ff )] x 100% where n g = comb. gates; n ff = flip-flops Example – n g = 100k gates, n ff = 2k flip-flops overhead = 6.7%.  More accurate estimate must consider scan wiring and layout area. n Performance overhead:  Multiplexer delay added in combinational path; approx. two gate-delays.  Flip-flop output loading due to one additional fanout; approx %.

Copyright 2001, Agrawal & BushnellDay-2 PM Lecture 1015 Hierarchical Scan n Scan flip-flops are chained within subnetworks before chaining subnetworks. n Advantages:  Automatic scan insertion in netlist  Circuit hierarchy preserved – helps in debugging and design changes n Disadvantage: Non-optimum chip layout. SFF1 SFF2 SFF3 SFF4 SFF3 SFF1 SFF2 SFF4 Scanin Scanout Scanin Scanout Hierarchical netlist Flat layout

Copyright 2001, Agrawal & BushnellDay-2 PM Lecture 1016 Optimum Scan Layout IO pad Flip- flop cell Interconnects Routing channels SFF cell TC SCANIN SCAN OUT Y X X’ Y’ Active areas: XY and X’Y’

Copyright 2001, Agrawal & BushnellDay-2 PM Lecture 1017 Scan Area Overhead Linear dimensions of active area: X = (C + S) / r X’ = (C + S +  S) / r Y’ = Y + ry = Y + Y(1--  ) / T Area overhead X’Y’--XY = x 100% XY 1--  = [ (1+  s) ( ) – 1 ] x 100% T 1--  = (  s ) x 100% T y = track dimension, wire width+separation C = total comb. cell width S = total non-scan FF cell width s = fractional FF cell area = S/(C+S)  = SFF cell width fractional increase r = number of cell rows or routing channels  = routing fraction in active area T = cell height in track dimension y

Copyright 2001, Agrawal & BushnellDay-2 PM Lecture 1018 Example: Scan Layout n 2,000-gate CMOS chip n Fractional area under flip-flop cells, s = Scan flip-flop (SFF) cell width increase,  = 0.25 Routing area fraction,  = n Cell height in routing tracks, T = 10 n Calculated overhead = 17.24% n Actual measured data: Scan implementation Area overhead Normalized clock rate ______________________________________________________________________ None Hierarchical 16.93% 0.87 Optimum layout 11.90% 0.91

Copyright 2001, Agrawal & BushnellDay-2 PM Lecture 1019 ATPG Example: S5378 Original 2, % 4,603 35/ % 70.9% 5,533 s 414 Full-scan 2, % 4, / % 100.0% 5 s ,662 Number of combinational gates Number of non-scan flip-flops (10 gates each) Number of scan flip-flops (14 gates each) Gate overhead Number of faults PI/PO for ATPG Fault coverage Fault efficiency CPU time on SUN Ultra II, 200MHz processor Number of ATPG vectors Scan sequence length

Copyright 2001, Agrawal & BushnellDay-2 PM Lecture 1020 Boundary Scan (BS) IEEE Standard n Developed for testing chips on a printed circuit board (PCB). n A chip with BS can be accessed for test from the edge connector of PCB. n BS hardware added to chip:  Test Access port (TAP) added  Four test pins  A test controller FSM  A scan flip-flop added to each I/O pin. n Standard is also known as JTAG (Joint Test Action Group) standard.

Copyright 2001, Agrawal & BushnellDay-2 PM Lecture 1021 Boundary Scan Test Logic

Copyright 2001, Agrawal & BushnellDay-2 PM Lecture 1022 Instruction Register Loading

Copyright 2001, Agrawal & BushnellDay-2 PM Lecture 1023 System View of Interconnect

Copyright 2001, Agrawal & BushnellDay-2 PM Lecture 1024 Elementary Boundary Scan Cell

Copyright 2001, Agrawal & BushnellDay-2 PM Lecture 1025 Serial Boundary Scan Other implementations: 1. Parallel scan, 2. Multiple scans. Edge connector PCB or MCM

Copyright 2001, Agrawal & BushnellDay-2 PM Lecture 1026 Summary n Scan is the most popular DFT technique:  Rule-based design  Automated DFT hardware insertion  Combinational ATPG n Advantages:  Design automation  High fault coverage; helpful in diagnosis  Hierarchical – scan-testable modules are easily combined into large scan-testable systems  Moderate area (~10%) and speed (~5%) overheads n Disadvantages:  Large test data volume and long test time  Basically a slow speed (DC) test n Variations of scan:  Partial scan  Random access scan (RAS)  Boundary scan (BS)

Copyright 2001, Agrawal & BushnellDay-2 PM Lecture 1027 Exercise 4: Lecture 10 n What is the main advantage of scan method? n Given that the critical path delay of a circuit is 800ps and the scan multiplexer adds a delay of 200ps, determine the performance penalty of scan as percentage reduction in the clock frequency. Assume 20% margin for the clock period and no delay due to the extra fanout of flip-flop outputs. n How will you reduce the test time of a scan circuit by a factor of 10?

Copyright 2001, Agrawal & BushnellDay-2 PM Lecture 1028 Exercise 4 Answers n What is the main advantage of scan method? Only combinational ATPG (with lower complexity) is used. n Given that the critical path delay of a circuit is 800ps and the scan multiplexer adds a delay of 200ps, determine the performance penalty of scan as percentage reduction in the clock frequency. Assume 20% margin for the clock period and no delay due to the extra fanout of flip- flop outputs. Clock period of pre-scan circuit= = 960ps Clock period for scan circuit= = 1200ps Clock frequency reduction= 100×( )/1200= 20% n How will you reduce the test time of a scan circuit by a factor of 10? Form 10 scan registers, each having 1/10 th the length of a single scan register.