1 / 65

Testing of Digital Systems: An Introduction

An introduction to testing digital systems, including concepts such as manufacturing cost, defects, fault models, automatic test pattern generation, scan testing methodology, and built-in self-test. The importance of design for testability is also discussed.

versie
Download Presentation

Testing of Digital Systems: An Introduction

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Testing of Digital Systems:An Introduction Dr. Aiman H. El-Maleh Computer Engineering Department King Fahd University of Petroleum & Minerals

  2. Outline • Introduction • Manufacturing Cost • Defects, Faults, Fault Models • Automatic Test Pattern Generation • Scan Testing Methodology • Built-In Self Test • Conclusions Most figures used in this presentation are taken from Design-for-Test for Digital IC’s and Embedded Core Systems by Alfred L. Crouch.

  3. VLSI Realization Process Customer’s need Determine requirements Write specifications Design synthesis and Verification Test development Fabrication Manufacturing test Chips to customer

  4. Definitions • Design synthesis: Given an I/O function, develop a procedure to manufacture a device using known materials and processes. • Verification: Predictive analysis to ensure that the synthesized design, when manufactured, will perform the given I/O function. • Test: A manufacturing step that ensures that the physical device, manufactured from the synthesized design, has no manufacturing defect.

  5. Verifies correctness of design. Performed by simulation, hardware emulation, or formal methods. Performed once prior to manufacturing. Responsible for quality of design. Verification vs. Test Verification Test • Verifies correctness of manufactured hardware. • Two-part process: • 1. Test generation: software process executed once during design • 2. Test application: electrical tests applied to hardware • Test application performed on every manufactured device. • Responsible for quality of devices.

  6. Definition of Testing • A known input stimulus is applied to a unit in a known state, and a known response can be evaluated.

  7. Example

  8. Reasons for Testing • Detection: Determination whether or not the device under test (DUT) has some fault. • Measurement of defects and quality level • Reliability requirement • Diagnosis: Identification of a specific fault that is present on DUT. • Device characterization: Determination and correction of errors in design and/or test procedure. • Failure mode analysis (FMA): Determination of manufacturing process errors that may have caused defects on the DUT.

  9. Product Manufacturing Cost

  10. Product Manufacturing Cost • Reduction of silicon cost • increasing volume and yield • die size reduction (process shrinks or more efficient layout) • Reduction of packaging cost • increasing volume, • shifting to lower cost packages if possible (e.g., from ceramic to plastic), • reduction in package pin count • Reduction in cost of test • reducing vector data size • reducing the cost of the tester • reducing test time

  11. Main Difficulties in Testing • Miniaturization Physical access difficult or impossible. • Increasing complexity Large amount of test data. • Number of access ports remains constant Long test application time. • High speed High demand on tester’s driver/sensor mechanism and more complicated failure mechanism. • Testing accounts up to 50% of product development efforts. • The key to successful testing lies in the design process.

  12. Main Difficulties in Testing

  13. Costs of Testing • Design for testability (DFT) • Chip area overhead and yield reduction • Performance overhead • Software processes of test • Test generation and fault simulation • Test programming and debugging • Manufacturing test • Automatic test equipment (ATE) capital cost • Test center operational cost

  14. Cost of Manufacturing Test • 0.5-1.0GHz, analog instruments,1,024 digital pins: • ATE purchase price= $1.2M + 1,024 x $3,000 = $4.272M • Running cost (five-year linear depreciation) • = Depreciation + Maintenance + Operation • = $0.854M + $0.085M + $0.5M • = $1.439M/year • Test cost (24 hour ATE operation) • = $1.439M/(365 x 24 x 3,600) • = 4.5 cents/second

  15. Automatic Test Equipment Components • Powerful computer • Powerful 32-bit Digital Signal Processor (DSP) for analog testing • Test Program (written in high-level language) running on the computer • Probe Head (actually touches the bare or packaged chip to perform fault detection experiments) • Probe Card or Membrane Probe (contains electronics to measure signals on chip pin or pad)

  16. ADVANTEST Model T6682 ATE

  17. LTX FUSION HF ATE

  18. Manufacturing Test Board • The chip will be accessed by the tester at its pins only • A custom (load) board will be made for this purpose • Each pin has a limited number of bits available (e.g., 2 MB) • Test program (set of vectors and tester control) applied at tester speed (may be less than actual chip speed) • Primary goal of manufacturing test is structural verification

  19. Design For Testability • To take into account the testing aspects during the design process so that more testable designs will be generated. • Advantages of DFT • Reduce test efforts. • Eases generation of test vectors • Eases diagnosis & debugging • Reduce cost for test equipments (ATE). • Shorten turnaround time. • Increase product quality. • Disadvantages of DFT • Adds complexity to design methodology • Impacts design area, power, speed and package pins

  20. Defects • Defects: physical problems that occur in silicon • Common Silicon CMOS defects: • Gate-oxide shorts • Insufficient doping • Process or mask errors • Metal trace opens • Metal trace bridges • Open and plugged vias • Short to power (Vdd) or Ground (Vss)

  21. Defects

  22. Faults • Fault is a model of failure mode of defect that relates defect to circuit behavior. • Example • Gate-Oxide short shorts transistor’s source to drain (S2D) • Modeled by connecting gate to 0 or 1 • Transistor Stuck-on or Stuck-off • Behavior resulting from these models may be a high current, a high impedance state or intermittent behavior.

  23. Common Fault Models • Single stuck-at faults • Transistor open and short faults • Bridging faults • Delay faults (transition, path) • Memory faults • PLA faults (stuck-at, cross-point, bridging) • Functional faults (processors) • Analog faults

  24. Single Stuck-at Fault Model • Failures represented as an individual wire shorted to Vdd (stuck-at-1) or Vss (stuck-at-0). • Covers many of physical defects. • Number of faults small. • Independent of technology. • Can be used to model other type of faults.

  25. Example

  26. Multiple Stuck-at Faults • A multiple stuck-at fault means that any set of lines is stuck-at some combination of (0,1) values. • The total number of multiple stuck-at faults in a circuit with k single fault sites is 3k-1. • A single fault test can fail to detect the target fault if another fault is also present, however, such masking of one fault by another is rare. • Statistically, single fault tests cover a very large number of multiple faults.

  27. Transistor (Switch) Faults • MOS transistor is considered an ideal switch and two types of faults are modeled: • Stuck-open -- a single transistor is permanently stuck in the open state. • Stuck-short -- a single transistor is permanently shorted irrespective of its gate voltage. • Detection of a stuck-open fault requires two vectors. • Detection of a stuck-short fault requires the measurement of quiescent current (IDDQ).

  28. Stuck-Open Example Vector 1: test for A s-a-0 (Initialization vector) Vector 2 (test for A s-a-1) VDD pMOS FETs Two-vector s-op test can be constructed by ordering two s-at tests A 0 0 1 0 Stuck- open B C 0 1(Z) Good circuit states nMOS FETs Faulty circuit states

  29. Stuck-Short Example Test vector for A s-a-0 VDD pMOS FETs IDDQ path in faulty circuit A Stuck- short 1 0 B Good circuit state C 0 (X) nMOS FETs Faulty circuit state

  30. Delay Faults • Some defects do not manifest a logical incorrect behavior but appear as an increase in delay • Example • Small metal open on a connection trace • Logic value still propagates • Propagation of value is slowed down

  31. Example

  32. Fault Coverage • Used as measure of test quality

  33. Types of Testing

  34. Automatic Test Pattern Generation • Eases generation of test vectors. • Reduces cost of test • More efficient test vectors • Reduction in cycle time • Provides a deterministic quality metric.

  35. Detectable Fault

  36. Undetectable Fault

  37. Fault Equivalence • All faults that produce the same faulty function are equivalent. • If one fault is detected, all equivalent faults are detected. • Fault selection only needs to target one of the equivalent faults.

  38. Fault Equivalence Example

  39. Stuck-At Fault ATPG

  40. Path Sensitization Method Circuit Example • Fault Sensitization • Fault Propagation • Line Justification

  41. Path Sensitization Method Circuit Example • Try path f–h–k–L blocked at j, since there is no way to justify the 1 on i 1 D D D D 1 D 0 1 1 D=0/1 D=1/0

  42. Path Sensitization Method Circuit Example • Try simultaneous paths f–h–k–L and g–i–j–k–L blocked at k because D-frontier (chain of D or D) disappears 1 D D 1 1 D D D 1

  43. Path Sensitization Method Circuit Example • Final try: path g–i–j–k–L test found! 0 0 D D 1 D D D 1 1

  44. Transition Delay Fault ATPG

  45. Fault Simulation Example 1. Create multiple copies of the netlist for each fault. 2. Apply same vectors to each copy. 3. Compare each copy to good simulation (expected response). 4. Fault is detected if bad circuit and good circuit differ at a detect point.

  46. Test Compaction and Compression

  47. Sequential Circuits • A sequential circuit has memory in addition to combinational logic. • Test for a fault in a sequential circuit is a sequence of vectors, which • Initializes the circuit to a known state • Activates the fault, and • Propagates the fault effect to a primary output • Methods of sequential circuit ATPG • Time-frame expansion methods • Simulation-based methods

  48. Example: A Serial Adder Bn An 1 1 s-a-0 D 1 1 D X Cn Cn+1 X 1 Combinational logic Sn X FF

  49. Time-Frame Expansion Bn-1 An-1 Bn An Time-frame -1 Time-frame 0 1 1 1 1 s-a-0 s-a-0 D X D D 1 1 D 1 Cn-1 X D 1 Cn 1 Cn+1 X 1 Combinational logic Combinational logic 1 Sn-1 Sn X D FF

  50. Concept of Time-Frames • If the test sequence for a single stuck-at fault contains n vectors, • Replicate combinational logic block n times • Place fault in each block • Generate a test for the multiple stuck-at fault using combinational ATPG with 9-valued logic Vector -n+1 Vector -1 Vector 0 Fault Unknown or given Init. state Next state State variables Time- frame 0 Time- frame -n+1 Time- frame -1 Comb. block PO -1 PO 0 PO -n+1

More Related