Docsity

CMOS Testing - CMOS Design Methodologies - Lecture Slides, Slides of Computer Science

Partial preview of the text

Download CMOS Testing - CMOS Design Methodologies - Lecture Slides and more Slides Computer Science in PDF only on Docsity!

CMOS Testing: Part 1

-^

Introduction

-^

Fault models– Stuck-line (single and multiple)– Bridging– Stuck-open

-^

Test pattern generation– Combinational circuit test generation– Sequential circuit test generation

Outline

•^

Testing–

Logic Verification– Silicon Debug– Manufacturing Test

-^

Fault Models

-^

Observability and Controllability

-^

Design for Test–

Scan– BIST

-^

Boundary Scan

Logic Verification

•^

Does the chip simulate correctly?–

Usually done at HDL level– Verification engineers write test bench for HDL

  • Can’t test all cases• Look for corner cases• Try to break logic design

•^

Ex: 32-bit adder–

Test all combinations of corner cases as inputs:

  • 0, 1, 2, 2

31 -1, -1, -

31 , a few random numbers

•^

Good tests require ingenuity

Silicon Debug

•^

Test the first chips back from fabrication–

If you are lucky, they work the first time– If not…

•^

Logic bugs vs. electrical failures–

Most chip failures are logic bugs from inadequate simulation– Some are electrical failures

  • Crosstalk• Dynamic nodes: leakage, charge sharing• Ratio failures -^

A few are tool or methodology failures (e.g. DRC)

•^

Fix the bugs and fabricate a corrected chip

Need for Testing

-^

Physical defects are likely in manufacturing–

Missing connections (opens)– Bridged connections (shorts)– Imperfect doping, processing steps– Packaging

-^

Yields are generally low–

Yield = Fraction of good die per wafer

-^

Need to weed out bad die before assembly

-^

Need to test during operation–

Electromagnetic interference, mechanical stress, electromigration,alpha particles

Manufacturing Test

-^

A speck of dust on a wafer is sufficient to kill chip

-^

Yield

of any chip is < 100%

  • Must test chips after manufacturing before delivery to

customers to only ship good parts

-^

Manufacturing testers arevery expensive– Minimize time on tester– Careful selection of

test vectors

Testing Levels and Test Costs

•^

Wafer

-^

Packaged chip

-^

Board

-^

System

-^

Field

-^

Concurrent checking

•^

Cost to detect a fault (perchip)–

Wafer: $0.01-$0.

-^

Packaged chip: $0.1-$

-^

Board: $1-$

-^

System: $10-$

-^

Field: $100-

Manufacturing Testing

Goal: Detect manufacturing detectsDefects:

layer-to-layer shortsdiscontinuous wiresthin-oxide shorts to substrate or well

Faults: nodes shorted to power or ground (stuck-at)

nodes shorted to each other (bridging)inputs floating, outputs disconnected (stuck-open)

Faultmodels

Testing and Diagnosis

•^

Testing: Determine if the system (chip, board) is behavingcorrectly

-^

Diagnosis: Locate the cause of malfunctioning

Testing and Diagnosis

Design Fabrication(Physical defects)

Test patterngeneration(Fault model)

Wafer, IC, board

Test Equipment

0010010110

Pass

Fail

Reject

Diagnosis,repair

Fault Models

•^

Defects are too many and too difficult to explicitlyenumerate

-^

Abstraction (technology independence): presence ofphysical defect is modeled by changing the logic function(or delay)

-^

Reduced complexity: distinct physical defects may berepresented by the same logical fault

-^

Generality: tests derived for logical faults may detectvaguely-understood or hard-to-analyze physical defects

-^

A

test pattern

detects a fault from the fault model

Single Stuck-Line (SSL) Model

•^

A single node in the circuit is stuck-at 1 (s-a-1) or 0 (s-a-0).

A B C D

z

s-a-0 Fault-free function z = AB+CDFaulty function z

f^ = AB

A B C D

z

s-a- Fault-free function z = AB+CDFaulty function z

f^ = AB+D

Number of possible stuck-at faults in a circuit with

n

lines?

Number of faults reduced by finding equivalent classes

Docsity.com

Examples

SSL Fault Detection

•^

A test pattern for fault

x

s-a-

d^

is an input combination that

  1. places

d

on x (activation), 2) propagates fault effect (D

or D) to primary output

A B^ C E

z

s-a-

Good circuit

Bad circuit

ABCE = 0011 is a test pattern for C s-a-