[ppt]no slide titleadoboli/355/class_9.ppt · web viewdocument presentation format: on-screen show...

24
Digital Integrated Circuits © Prentice Hall 1995 Design Methodologies Design for Test

Upload: ngoduong

Post on 06-May-2018

224 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: [PPT]No Slide Titleadoboli/355/class_9.ppt · Web viewDocument presentation format: On-screen Show Company: UC Berkeley ... Scan-Path Register Scan-based Test —Operation Scan-Path

Digital Integrated Circuits © Prentice Hall 1995Design Methodologies

Designfor Test

Page 2: [PPT]No Slide Titleadoboli/355/class_9.ppt · Web viewDocument presentation format: On-screen Show Company: UC Berkeley ... Scan-Path Register Scan-based Test —Operation Scan-Path

Digital Integrated Circuits © Prentice Hall 1995Design Methodologies

Validation and Test of Manufactured Circuits

Components of DFT strategy• Provide circuitry to enable test• Provide test patterns that guarantee reasonablecoverage

Goals of Design-for-Test (DFT)Make testing of manufactured part swift andcomprehensive

DFT MantraProvide controllability and observability

Page 3: [PPT]No Slide Titleadoboli/355/class_9.ppt · Web viewDocument presentation format: On-screen Show Company: UC Berkeley ... Scan-Path Register Scan-based Test —Operation Scan-Path

Digital Integrated Circuits © Prentice Hall 1995Design Methodologies

Test Classification Diagnostic test

» used in chip/board debugging» defect localization

“go/no go” or production test» Used in chip production

Parametric test» x [v,i] versus x [0,1]» check parameters such as NM, Vt, tp, T

Page 4: [PPT]No Slide Titleadoboli/355/class_9.ppt · Web viewDocument presentation format: On-screen Show Company: UC Berkeley ... Scan-Path Register Scan-based Test —Operation Scan-Path

Digital Integrated Circuits © Prentice Hall 1995Design Methodologies

Design for Testability

M state regs

N inputs K outputs

K outputsN inputsCombinational

Logic

Module

Combinational

Logic

Module

(a) Combinational function (b) Sequential engine

2N patterns 2N+M patterns

Exhaustive test is impossible or unpractical

Page 5: [PPT]No Slide Titleadoboli/355/class_9.ppt · Web viewDocument presentation format: On-screen Show Company: UC Berkeley ... Scan-Path Register Scan-based Test —Operation Scan-Path

Digital Integrated Circuits © Prentice Hall 1995Design Methodologies

Problem: Controllability/Observabilit

y Combinational Circuits:

controllable and observable - relatively easy to determine test patterns

Sequential Circuits: State!Turn into combinational circuits or use self-test

Memory: requires complex patternsUse self-test

Page 6: [PPT]No Slide Titleadoboli/355/class_9.ppt · Web viewDocument presentation format: On-screen Show Company: UC Berkeley ... Scan-Path Register Scan-based Test —Operation Scan-Path

Digital Integrated Circuits © Prentice Hall 1995Design Methodologies

Test Approaches Ad-hoc testing Scan-based Test Self-TestProblem is getting harder

» increasing complexity and heterogeneous combination of modules in system-on-a-chip.

» Advanced packaging and assembly techniques extend problem to the board level

Page 7: [PPT]No Slide Titleadoboli/355/class_9.ppt · Web viewDocument presentation format: On-screen Show Company: UC Berkeley ... Scan-Path Register Scan-based Test —Operation Scan-Path

Digital Integrated Circuits © Prentice Hall 1995Design Methodologies

Generating and Validating Test-Vectors

Automatic test-pattern generation (ATPG)» for given fault, determine excitation vector (called test vector)

that will propagate error to primary (observable) output » majority of available tools: combinational networks only» sequential ATPG available from academic research

Fault simulation» determines test coverage of proposed test-vector set» simulates correct network in parallel with faulty networks

Both require adequate models of faults in CMOS integrated circuits

Page 8: [PPT]No Slide Titleadoboli/355/class_9.ppt · Web viewDocument presentation format: On-screen Show Company: UC Berkeley ... Scan-Path Register Scan-based Test —Operation Scan-Path

Digital Integrated Circuits © Prentice Hall 1995Design Methodologies

Fault Models

0

1

sa0

sa1

(output)

(input)

Most Popular - “Stuck - at” model

x1

x2 x3

Z

, : x1 sa1 : x1 sa0 or x2 sa0 : Z sa1

Covers almost all (other) occurring faults, such asopens and shorts.

Page 9: [PPT]No Slide Titleadoboli/355/class_9.ppt · Web viewDocument presentation format: On-screen Show Company: UC Berkeley ... Scan-Path Register Scan-based Test —Operation Scan-Path

Digital Integrated Circuits © Prentice Hall 1995Design Methodologies

Problem with stuck-at model: CMOS open fault

x1 x2

x1

x2

Z

Sequential effectNeeds two vectors to ensure detection!

Other options: use stuck-open or stuck-short modelsThis requires fault-simulation and analysis at the switch ortransistor level - Very expensive!

Page 10: [PPT]No Slide Titleadoboli/355/class_9.ppt · Web viewDocument presentation format: On-screen Show Company: UC Berkeley ... Scan-Path Register Scan-based Test —Operation Scan-Path

Digital Integrated Circuits © Prentice Hall 1995Design Methodologies

Problem with stuck-at model: CMOS short fault

‘0’

‘0’

‘0’

‘1’

C

A B

D

A

B

C

D

Causes short circuit betweenVdd and GND for A=C=0, B=1

Possible approach:Supply Current Measurement (IDDQ)but: not applicable for gigascale integration

Page 11: [PPT]No Slide Titleadoboli/355/class_9.ppt · Web viewDocument presentation format: On-screen Show Company: UC Berkeley ... Scan-Path Register Scan-based Test —Operation Scan-Path

Digital Integrated Circuits © Prentice Hall 1995Design Methodologies

Path Sensitization

Out

Techniques Used: D-algorithm, Podem

Goals: Determine input pattern that makes a faultcontrollable (triggers the fault, and makes its impactvisible at the output nodes)

sa011

0

11 1

0

1

Fault propagation

Fault enabling

Page 12: [PPT]No Slide Titleadoboli/355/class_9.ppt · Web viewDocument presentation format: On-screen Show Company: UC Berkeley ... Scan-Path Register Scan-based Test —Operation Scan-Path

Digital Integrated Circuits © Prentice Hall 1995Design Methodologies

Ad-hoc Test

Inserting multiplexer improves testability I/O bus

Memory

Processor

data

addr

ess

I/O bus

Memory

Processor

data

addr

ess

selecttest

Page 13: [PPT]No Slide Titleadoboli/355/class_9.ppt · Web viewDocument presentation format: On-screen Show Company: UC Berkeley ... Scan-Path Register Scan-based Test —Operation Scan-Path

Digital Integrated Circuits © Prentice Hall 1995Design Methodologies

Scan-based Test

Logic

Combinational

Logic

Combinational

Reg

iste

r

Reg

iste

r

OutIn

ScanOutScanIn

A B

Page 14: [PPT]No Slide Titleadoboli/355/class_9.ppt · Web viewDocument presentation format: On-screen Show Company: UC Berkeley ... Scan-Path Register Scan-based Test —Operation Scan-Path

Digital Integrated Circuits © Prentice Hall 1995Design Methodologies

Polarity-Hold SRL (Shift-Register Latch)

Introduced at IBM and set as company policy

System DataSystem ClockScan DataShift A Clock

DCSIA

L1

L2Shift B Clock B

Q

Q

SO

SO

Page 15: [PPT]No Slide Titleadoboli/355/class_9.ppt · Web viewDocument presentation format: On-screen Show Company: UC Berkeley ... Scan-Path Register Scan-based Test —Operation Scan-Path

Digital Integrated Circuits © Prentice Hall 1995Design Methodologies

Scan-Path Register

SCANIN

IN

LOAD

SCAN PHI2 PHI1

KEEP

OUT

SCANOUT

Page 16: [PPT]No Slide Titleadoboli/355/class_9.ppt · Web viewDocument presentation format: On-screen Show Company: UC Berkeley ... Scan-Path Register Scan-based Test —Operation Scan-Path

Digital Integrated Circuits © Prentice Hall 1995Design Methodologies

Scan-based Test —Operation

TestScanIn

Test

Latch

In0

Out0

Test Test

Latch

In1

Out1

Test Test

Latch

In2

Out2

Test Test

Latch

In3

Out3

ScanOut

Test

1

2

N cycles 1 cycleevaluationscan-in

N cyclesscan-out

Page 17: [PPT]No Slide Titleadoboli/355/class_9.ppt · Web viewDocument presentation format: On-screen Show Company: UC Berkeley ... Scan-Path Register Scan-based Test —Operation Scan-Path

Digital Integrated Circuits © Prentice Hall 1995Design Methodologies

Scan-Path Testing

Partial-Scan can be more effective for pipelined datapaths

REG[5]

REG[4]

REG[3]REG[2]

REG[0]REG[1]

+

COMP

OUT

SCANIN

COMPIN

SCANOUT

A B

Page 18: [PPT]No Slide Titleadoboli/355/class_9.ppt · Web viewDocument presentation format: On-screen Show Company: UC Berkeley ... Scan-Path Register Scan-based Test —Operation Scan-Path

Digital Integrated Circuits © Prentice Hall 1995Design Methodologies

Boundary Scan (JTAG)Printed-circuit board

Logic

scan path

normal interconnect

Packaged IC

Bonding Pad

Scan-in

Scan-out

si so

Board testing becomes as problematic as chip testing

Page 19: [PPT]No Slide Titleadoboli/355/class_9.ppt · Web viewDocument presentation format: On-screen Show Company: UC Berkeley ... Scan-Path Register Scan-based Test —Operation Scan-Path

Digital Integrated Circuits © Prentice Hall 1995Design Methodologies

Self-test

(Sub)-Circuit

Under

Test

Stimulus Generator Response Analyzer

Test Controller

Rapidly becoming more important with increasingchip-complexity and larger modules

Page 20: [PPT]No Slide Titleadoboli/355/class_9.ppt · Web viewDocument presentation format: On-screen Show Company: UC Berkeley ... Scan-Path Register Scan-based Test —Operation Scan-Path

Digital Integrated Circuits © Prentice Hall 1995Design Methodologies

Linear-Feedback Shift Register (LFSR)

S0 S1 S2

R R R

1 0 00 1 01 0 11 1 01 1 10 1 10 0 11 0 0

Pseudo-Random Pattern Generator

Page 21: [PPT]No Slide Titleadoboli/355/class_9.ppt · Web viewDocument presentation format: On-screen Show Company: UC Berkeley ... Scan-Path Register Scan-based Test —Operation Scan-Path

Digital Integrated Circuits © Prentice Hall 1995Design Methodologies

Signature Analysis

R

Counter

In

Counts transitions on single-bit stream Compression in time

Page 22: [PPT]No Slide Titleadoboli/355/class_9.ppt · Web viewDocument presentation format: On-screen Show Company: UC Berkeley ... Scan-Path Register Scan-based Test —Operation Scan-Path

Digital Integrated Circuits © Prentice Hall 1995Design Methodologies

BILBO

S0

R R R

S1 S2

ScanOutScanIn mux

D2D1D0B0

B1

Operation modeB0

NormalScan

Signature analysis

1 10 0

1 0 Pattern generation or

0 1 Reset

B1

Page 23: [PPT]No Slide Titleadoboli/355/class_9.ppt · Web viewDocument presentation format: On-screen Show Company: UC Berkeley ... Scan-Path Register Scan-based Test —Operation Scan-Path

Digital Integrated Circuits © Prentice Hall 1995Design Methodologies

BILBO Application

Logic

Combinational

LogicCombinational

BIL

BO

-B

BIL

BO

-A OutIn

ScanIn ScanOut

Page 24: [PPT]No Slide Titleadoboli/355/class_9.ppt · Web viewDocument presentation format: On-screen Show Company: UC Berkeley ... Scan-Path Register Scan-based Test —Operation Scan-Path

Digital Integrated Circuits © Prentice Hall 1995Design Methodologies

Memory Self-Test

FSMMemory Signature

AnalysisUnder Test

data

address &

R/W control

-in

data-out

Patterns: Writing/Reading 0s, 1s, Walking 0s, 1s Galloping 0s, 1s