1 VLSI Design Lecture Four Design & Testing Issues Dr. Richard Spillman PLU Spring 2003.

Slides:



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

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 Chapter Design For Testability The Scan-Path Technique The testing problems with sequential circuit can be overcome by two properties: 1.The.
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.
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.
Design for Testability
ELEN 468 Lecture 241 ELEN 468 Advanced Logic Design Lecture 24 Design for Testability.
1 Introduction VLSI Testing. 2 Overview First digital products (mid 1940's) Complexity:low MTTF:hours Cost:high Present day products (mid 1980's) Complexity:high.
Vishwani D. Agrawal James J. Danaher Professor
Testing of Logic Circuits. 2 Outline  Testing –Logic Verification –Silicon Debug –Manufacturing Test  Fault Models  Observability and Controllability.
Computer ArchitectureFall 2008 © August 20 th, Introduction to Computer Architecture Lecture 2 – Digital Logic Design.
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
Design for Testability
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.
Charles Kime & Thomas Kaminski © 2004 Pearson Education, Inc. Terms of Use (Hyperlinks are active in View Show mode) Terms of Use Lecture 12 – Design Procedure.
Modern VLSI Design 4e: Chapter 4 Copyright  2008 Wayne Wolf Topics n Switch networks. n Combinational testing.
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.
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
Unit III Design for Testability
Design for Testability By Dr. Amin Danial Asham. References An Introduction to Logic Circuit Testing.
ECE 553: TESTING AND TESTABLE DESIGN OF DIGITAL SYSTEMS
EE4800 CMOS Digital IC Design & Analysis
1 Contents Reviewed Rabaey CH 3, 4, and 6. 2 Physical Structure of MOS Transistors: the NMOS [Adapted from Principles of CMOS VLSI Design by Weste & Eshraghian]
An introduction to Fault Detection in Logic Circuits By Dr. Amin Danial Asham.
CS/EE 3700 : Fundamentals of Digital System Design
Manufacture Testing of Digital Circuits
Silicon Programming--Testing1 Completing a successful project (introduction) Design for testability.
ECE 553: TESTING AND TESTABLE DESIGN OF DIGITAL SYSTES Functional testing.
©2010 Cengage Learning SLIDES FOR CHAPTER 8 COMBINATIONAL CIRCUIT DESIGN AND SIMULATION USING GATES Click the mouse to move to the next page. Use the ESC.
SYSTEM-LEVEL TEST TECHNIQUES INTRODUCTION In the 1970s, the in-circuit testing (ICT) method appeared. In the 1970s, the in-circuit testing (ICT) method.
Lecture 5: Design for Testability. CMOS VLSI DesignCMOS VLSI Design 4th Ed. 12: Design for Testability2 Outline  Testing –Logic Verification –Silicon.
©2010 Cengage Learning SLIDES FOR CHAPTER 8 COMBINATIONAL CIRCUIT DESIGN AND SIMULATION USING GATES Click the mouse to move to the next page. Use the ESC.
EE3A1 Computer Hardware and Digital Design Lecture 13 Detecting faults in Digital Systems.
Topics SRAM-based FPGA fabrics: Xilinx. Altera..
Hayri Uğur UYANIK Very Large Scale Integration II - VLSI II
VLSI System Design Lecture: 1.3 COMS LOGICs
VLSI Testing Lecture 14: System Diagnosis
COUPING WITH THE INTERCONNECT
Algorithms and representations Structural vs. functional 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
ECE 553: TESTING AND TESTABLE DESIGN OF DIGITAL SYSTES
Lecture 23 Design for Testability (DFT): Full-Scan (chapter14)
Lecture 12: Design for Testability
VLSI Testing Lecture 7: Combinational ATPG
Lecture 10 Sequential Circuit ATPG Time-Frame Expansion
ECE 553: TESTING AND TESTABLE DESIGN OF DIGITAL SYSTEMS
Lecture 12: Design for Testability
Design for Testability
Lecture 5 Fault Modeling
Lecture 12: Design for Testability
Automatic Test Generation for Combinational Circuits
VLSI Testing Lecture 8: Sequential ATPG
Fault Models, Fault Simulation and Test Generation
VLSI Testing Lecture 7: Combinational ATPG
EENG447 Digital IC Design Dr. Gürtaç Yemişcioğlu.
Design for Testability
Automatic Test Pattern Generation
Topics Switch networks. Combinational testing..
Lecture 26 Logic BIST Architectures
VLSI Testing Lecture 13: DFT and Scan
Presentation transcript:

1 VLSI Design Lecture Four Design & Testing Issues Dr. Richard Spillman PLU Spring 2003

PLU Spr 02 2 Semester Topics Introduction MOS/CMOS FPGAsPhysical Design

PLU Spr 02 3 Review  IC Fab  Design Rules  Pass Transistors  CMOS Technology

PLU Spr 02 4 nMOSpMOS Review – CMOS NAND V dd b b a ab gnd a b ab

PLU Spr 02 5 Outline  AOI Design  AOI Layout  AOI for nMOS  Testing

PLU Spr 02 6 CMOS Circuit Design  Given a complex CMOS circuit, there are two major design approaches  Design the circuit using logic gates and implement each gate in CMOS  cost: 4 transistors per gate (at least)  generates a lot of wires  Design the circuit using logic gates and implement a CMOS version of AOI  AND/OR/INVERT  uses series & parallel MOSFETS

PLU Spr 02 7 Method One  GOAL: Design a circuit which will implement: F = AB + CD PROCESS PROCESS: Design the logic circuit and implement each gate in CMOS COST: 6 transistors for each AND (4 for the NAND and 2 for the inverter) or 16 transistors

PLU Spr 02 8 Method Two  AOI Approach - form a compound circuit as a combination of series and parallel MOSFET’s (AND’s in series, OR’s in parallel)  STEP ONE: Design the n-side circuit using n-type MOS devices  form the AND terms, in this case AB and CD F = AB + CD A B C D

PLU Spr 02 9 Method Two (continued)  STEP TWO - form the OR as a parallel connection A B C D

PLU Spr Method Two (continued)  STEP THREE - Design the p-side circuit using p-type MOS devices  complement the n-side circuit (AB + CD) = (A + B)(C + D)

PLU Spr Method Two (continued)  STEP FOUR - form the OR terms of this expression A B C D (A + B)(C + D) AND’s in series, OR’s in parallel)

PLU Spr Method Two (continued)  STEP FIVE - form the AND A B C D (A + B)(C + D) AND’s in series, OR’s in parallel)

PLU Spr Method Two (continued)  STEP SIX: put the n-side and the p-side together A B C D A B C D F COST: 8 transistors or a 50% savings

PLU Spr General Method  This design approach may be implemented using K-Maps  for the n-side design, loop the 0’s  for the p-side design, loop the 1’s  RULE: OR’s in parallel, AND’s in series  EXAMPLE  Design the circuit for F=(A+B+C)D

PLU Spr 02 15Circuit A B D C D +ABC A B D C (A+B+C)D A B C D D ABC F

PLU Spr AOI Layout  Given an AOI CMOS version of F = (a+b)c  the layout depends on the order of the inputs a a b c +V gnd c b Change the order of the inputs PROBLEM: How do we determine the best order?

PLU Spr Net Graphs Nodes are connection points, links are transistors

PLU Spr Complete Graph

PLU Spr Input Order  Note the breaks in the diffusion path

PLU Spr Example Find an Euler path which is common to the p and n graphs

PLU Spr AOI for nMOS  As with CMOS, each AND device can be viewed as a series connection and each OR device can be viewed as a parallel connection  However, an nMOS circuit requires a pull-up transistor  AOI design uses a single pull-up for the entire circuit

PLU Spr Example One G=(E+F)A + BC A F E B C G pull up +V gnd RULE: Parallel for OR Series for AND

PLU Spr Example Two G = A B For an AOI implementation, however, the output must be asserted low, so G must be restructured as: G = AB + AB = A B X

PLU Spr 02 24Implementation Note the inverters are not part of the AOI A B G +V gnd

PLU Spr Introduction to Testing  PROBLEM: Determine, in a cost effective way, whether a component, module, chip, or board has been manufactured correctly  A fault is a condition in a circuit that will yield incorrect results for a given input pattern  Our fault model will be the stuck-at model which assumes that a logic gate input or output is fixed at logic 1 or logic 0  The percentage of single stuck-at faults that a given test sequence will detect is called the fault coverage

PLU Spr Testing Areas  Two problem areas  Test Generation  because of the size of VLSI circuits, automatic test generators are required yet for combinational circuits fault coverage begins to drop after 5000 gates and for sequential circuits it begins to drop after 1000 gates  hence, ATPG are supplemented with manually generated tests which is expensive and time consuming  Fault Simulation  Fault simulation must be used to determine fault coverage yet this is also expensive

PLU Spr Testing Cost  An estimate of the time to generate and simulate a test set for a circuit with N gates is: T = kN 3 RESULT: it is hard to test VLSI chips

PLU Spr Defect Level Impact  Consider the relationship between the defect level on a chip, the level of fault coverage for a test set, and the yield of a chip production process  Assume that faults are uniformly distributed and independent, the tests applied have a fault coverage of T (0 < T < 1) and the production process has a yield of Y (0 < Y < 1)  The defect level, DL (after testing) is DL = 1 - Y (1-T)

PLU Spr Example  If a chip manufacturing process has a yield of.15 (15% of the chips are good) then without testing (T = 0) the defect level is DL = 1 - (.15) 1 =.85 85% of the chips produced and shipped are bad if a test set with a fault cover of 75% is applied, then DL = 1 - (.15).25 =.40 40% of the chips shipped would be bad

PLU Spr Requirement  Since testing can represent as much as 50% of a product cost, it is important to develop two approaches:  Efficient test set construction: quick and inexpensive algorithms for testing a new circuit  Design for test procedures: design procedures which make test set construction easy for circuits that are complex

PLU Spr Fault Model  Before a testing procedure can be developed, it is necessary to define a fault a b c the most common model is the stuck-at model almost all failures in a logic gate appear as an input or output line stuck at 0 or stuck at 1 the result is that when the fault exists, some inputs may actually produce the correct output while others will produce the wrong output a s-a-1 a b f-f a s-a Test WHY?

PLU Spr Path Sensitization  GOAL: Develop a test generation method based on the topological gate level description of the circuit  Conditions for fault detection  Necessary Condition: to detect the fault, line h s-a-j, the inputs must be selected so that line h takes on the value (not j) in the fault free circuit  Sufficient Condition: to detect the fault on line h, the inputs must be selected so that the output value depends on the value of line h

PLU Spr 02 33Example NECESSARY: ? SUFFICIENT: Select the other inputs so that Z depends on x 3 NECESSARY: x 3 = 0 s-a-1 ?1

PLU Spr 02 34Algorithm  Select the inputs so as to generate the appropriate value (0 for s-a-1 or 1 for s-a-0) at the site of the fault  Select a path from the site of the fault to an output and specify additional signal values to propagate the fault along this path (error propagation)  Specify input values so as to produce the signal values specified above (line justification)

PLU Spr 02 35Example h s-a-1 Test for h s-a-1 0 on h (1 if faulty) 0/1 Propagate to 3 0/1? 1 Propagate to f 0/1? 0 Justify line 1??0 0 0 Justify line 4 ??0 Test Input x 1 x 2 x 3 x f

PLU Spr Testable Design  NEED: A method to design chips so that they are easy to test and for which it is easy to develop test sets with high fault coverage Two key concepts Controllability: the ease with which a network can be “steered” through its various functions Observability: the ease with which internal states of the network can be examined Design for Testability, DFT

PLU Spr Ad Hoc Design  This is the first of two general approaches to DFT  It is the use of inexpensive methods which apply to specific circuits but which may not apply in general to all circuits  ranges from suggested guidelines to detailed circuit analysis techniques  Guidelines: Avoid logically redundant circuits, isolates clocks from logic...

PLU Spr Partitioning  There are two reasons for partitioning a circuit for testing purposes  the circuit is to large for the test generation tools  the circuit has to many inputs for exhaustive testing  A small combinational logic circuit with n inputs can be tested by trying all 2n input combinations. However, if the circuit has 64 inputs with one of the 264 input combinations applied every nsec, it would take 585 years to complete the test. Partitioning the circuit into two blocks of 32 inputs each would reduce the testing time to 9 seconds.

PLU Spr Degating  One approach to partitioning involves degating  adding extra gates to allow modules to be isolated during the testing process Logic Block A Logic Block B Test Out If Test = 0 then only Logic Block A affects the output

PLU Spr Test Points  Test points are control points (inputs) or observation points (outputs) added to a circuit to reduce the number of tests required for fault detection  Candidate sites for control and observation points are:  the outputs of flip/flops  the set or reset input of flip/flops  the junctions of large fan-in or fan-outs  data or address bus lines  master clock lines

PLU Spr Example C1C2 Difficult to control and observe Add a MUX Test Mode CP OP 0101

PLU Spr Structured Design  This is the second major approach to DFT  It involves the use of uniform design methods for latches  Possible methods include:  Level-Sensitive Scan Design, LSSD  Random-Access Scan  Scan Path  Scan/Set Logic

PLU Spr Level Sensitive Scan Design  LSSD is the most widely used method for testable design  it was developed by IBM in 1978  LSSD imposes a clocked structure on all memory elements and forms the elements into shift register latches, making it possible to shift values into and out of the elements by way of a scan path

PLU Spr LSSD Model  LSSD structure is based on the separation of combinational logic and memory Combinational Circuit Memory Add components so memory behaves like a shift register

PLU Spr Shift Register Latch  Acts like a DFF or a Shift Register element D clk I ShiftA L1 L2 L1 ShiftB L2 NORMAL OPERATION: ShiftA and ShiftB are off and the device operates like a DFF on L1 SHIFT OPERATION: I is shifted into L1 by Shift A L1 is loaded into L2 by ShiftB

PLU Spr Shift Register String  A shift register string is formed by connecting the L2 output of one SRL to the I input of the next and by connecting all the Shift A and Shift B clock inputs in parallel D1 clk I ShiftA ShiftB L1 L2 L1 L2 L3 Scan Out clk D2 1 X X X X 1 1 X X X X X X XX X XXX XXX XXX

PLU Spr Testing Application  Under normal operating conditions the system performs its designed function  Under testing conditions, the LSSD structure can be used to observe an unknown state by:  clock B to move the unknown state to L2  then in sequence, clock A - clock B and monitor the scan out signal  The machine can be initialized to a known state by:  input the desired state serially on the Scan-In input  clock A - clock B in sequence until the F/F’s are all set  run the machine in the normal operating mode

PLU Spr Boundary Scan  Boundary Scan is a process to check for shorts or opens between IC chips on a PCB  It also can find shorts and opens inside a chip

PLU Spr Boundary Scan Design  Place a scan chain alone the pins of an IC chip: Scan Data In Scan Data Out

PLU Spr BSD on PCB  Several chips on a PCB can form a large register scan: Normal Mode: BSD inactive Internal Mode: BSD checks the function of a chip External Mode: BSD checks the connections between chips

PLU Spr Boundary Scan Standard  Since a PCB may contain chips from several manufacturers, there is an IEEE standard for chips with BSD  IEEE standard  By following this standard in each chip, any circuit can fit into a BSD test mode

PLU Spr Chip Standard  IEEE calls for several additional circuits on every chip:

PLU Spr BSD Control  The control unit consist of a minimum of 4 pins, 3 registers, a mux and associated control logic: TAP: Test Access Port

PLU Spr Testing Chip Connections  To test the connections between pins: Scan the test pattern into A’s BSD flip/flops A B Send the BSD data alone the pin connections Scan the test results out

PLU Spr Bypass Mode  Used to skip over chips which are not under test:

PLU Spr Possible Quiz  Questions that might appear on a quiz include:  What does AOI mean?  Why is testing difficult?  What is the purpose of boundary scan?

PLU Spr Summary  AOI Design  AOI Layout  AOI for nMOS  Testing It wasn’t so bad