test and design for testability of analog and mixed-signal ... · • digital signal processing...

97
José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits 1 Test and Design for Testability of Analog and Mixed-Signal Circuits ACEOLE - PH-ESE Electronics Seminars 4-5 February 2010 José Machado da Silva U.Porto – Faculdade de Engenharia INESC Porto

Upload: others

Post on 24-Apr-2020

9 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Test and Design for Testability of Analog and Mixed-Signal ... · • Digital signal processing based testing. José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits

José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits 1

Test and Design for Testability of Analog and Mixed-Signal Circuits

ACEOLE - PH-ESE Electronics Seminars 4-5 February 2010

José Machado da Silva

U.Porto – Faculdade de Engenharia

INESC Porto

Page 2: Test and Design for Testability of Analog and Mixed-Signal ... · • Digital signal processing based testing. José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits

José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits 2

Test is critical

• Semiconductor industry is extremely competitive and is asking for the best quality and reliability levels at the lowest cost.

• Nanoscale devices in combination with gigascalecomplexity

• Increasing complexity (e.g., more than 100 microcontrollers in one car)

• Test is becoming a dominant factor in overall manufacturing cost.

• Long product life times, typically from 10 to 25 years (!), which require zero reliability defect

Page 3: Test and Design for Testability of Analog and Mixed-Signal ... · • Digital signal processing based testing. José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits

José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits 3

Test is critical• Harsh and/or variable environment (e.g., in a car or in

a human body) • Heterogeneous systems (MEMS, RF, digital, etc.) in

miniaturized packages • Mandatory secure communication links (data integrity,

protection against attacks) • Complex diagnosis and very high costs or risks of

maintenance/repair (e.g. implanted devices) • Test is the last chance to deliver quality and reliability

to the end customer!

Page 4: Test and Design for Testability of Analog and Mixed-Signal ... · • Digital signal processing based testing. José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits

José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits 4

Outline

• Basic concepts on testing and design for testability

• Defect, fault modeling and test metrics

• Design for testability and built-in self-test

– structural and functional test

• Standard test infrastructures

• Digital signal processing based testing

Page 5: Test and Design for Testability of Analog and Mixed-Signal ... · • Digital signal processing based testing. José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits

José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits 5

Basic conceptson Testing and Design for Testability

• “Our reason for living”

Bad design orspecifications

Manufacturing errors

Externaldisturbance

Bad materialsor components

Softwaredefects

Hardwaredefects

Faults

Page 6: Test and Design for Testability of Analog and Mixed-Signal ... · • Digital signal processing based testing. José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits

José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits 6

Basic conceptson Testing and Design for Testability

Product life-cycle (value chain)The test of an IC can occur in different stages:

• at the wafer level

(probing the wafer)

• after packaging

• after insertion in a board

• as part of a system

• as part of a system operating in the field

Specifications: functional, structural, technologicalprocess, manufacturing

characterization

Design

Prototyping

First production

Manufacturing

Production test

Client

Operation

Prototypecharacterizationtest

Evaluation of themanufacturingprocess

Intermediatetest

Final productiontest

Receptiontest

Maintenancetest

Page 7: Test and Design for Testability of Analog and Mixed-Signal ... · • Digital signal processing based testing. José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits

José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits 7

Basic conceptson Testing and Design for Testability

Types of test

Verification of operation correctness during normal operationOn-line / checking

Demonstrate / verify degree of compliance with specified requirements

Acceptance

Identify failures and locate defectsDiagnostic / Repair

Estimate time to failure in normal operation after operation under high temperature

Reliability (Accelerated life)

Test under high temperature, temperature cycling, vibration, ..,to eliminate short life parts

Stress Screening (ESS/Burn-in)

Determine whether devices meet specificationsGo / No Go

Test a sample of each lot of manufactured parts.Quality / Sample

Determine actual values of devices' Ac and Dc parameters and interaction of parameters: Set final specifications and identification of possible process yield improvement.

Characterization or Engineering

Verification of design correctnessDesign verification

Tests of manufactured parts to sort out those that are faulty; Test of each die on the wafer; Test of packaged chips and separation into bins (military, commercial, industrial)

Production: Wafer Sort /Probe Final / Package

Page 8: Test and Design for Testability of Analog and Mixed-Signal ... · • Digital signal processing based testing. José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits

José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits 8

Basic conceptson Testing and Design for Testability

Test Complexity

Test development and application time may become prohibitive

100

1000

10000

100000

1000000

1997 1999 2001 2003 2006 2009 2012

#Trans/pin

0,0E+00

2,0E+07

4,0E+07

6,0E+07

8,0E+07

1,0E+08

1,2E+08

1997 1999 2001 2003 2006 2009 2012

# Trans/Sq cm

Page 9: Test and Design for Testability of Analog and Mixed-Signal ... · • Digital signal processing based testing. José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits

José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits 9

Basic conceptson Testing and Design for Testability

New packaging types

• BGA (Ball Grid Array)• Small solder balls to

connect to board• small• High pin count• Cheap• Low inductance

• CSP (Chip scale Packaging)• Similar to BGA• Very small packages

Package inductance:1 - 5 nH

DIL (Dual In Line)PGA (Pin Grid Array)

PLCC (Plastic leaded chip carrierQFP (Quarter Flat pack)

BGA (Ball Grid Array)

Page 10: Test and Design for Testability of Analog and Mixed-Signal ... · • Digital signal processing based testing. José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits

José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits 10

Basic conceptson Testing and Design for Testability

• “AMS circuits account for 70% of SOC-test cost and 45% of test-development time, even though they make up a small fraction of the chip complexity,”

Karim Arabi, Qualcomm

• Test pattern generation can account for 40 % of an ASIC design time

Page 11: Test and Design for Testability of Analog and Mixed-Signal ... · • Digital signal processing based testing. José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits

José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits 11

Basic conceptson Testing and Design for Testability

• Testing – process of screening/detecting defective parts (in a manufacturing line)

Manufacturing Testing operations

Rejected devices(Defective devices + actually good devices)

Shipmentto market

Components

Production Yield (Y)

Defect Level (DL):

Faulty devices *100%TotalDefect density (DD):

Failed devices

%100#

×=esTotalDevic

NY cesPassedDevi

Good devices

Page 12: Test and Design for Testability of Analog and Mixed-Signal ... · • Digital signal processing based testing. José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits

José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits 12

Basic conceptson Testing and Design for Testability

Yield — production efficiency: measures the percentage of good components in the overall production volume – a statistical parameter.

( )YNNN

YNNN

eY

LotWafersWaferDiesFailedDies

LotWafersWaferDiesPassedDies

SADD

−=

== −

1..

..

//

//

.

Page 13: Test and Design for Testability of Analog and Mixed-Signal ... · • Digital signal processing based testing. José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits

José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits 13

Basic conceptson Testing and Design for Testability

Price of 100 mm2 chip compared to 50 mm2 chip: 100 mm2/50 mm2 x 0.61/0.37 = 3.4 ( D=0.01 )

100 mm2/50 mm2 x 0.36/0.14 = 5.3 ( D= 0.02 )

ityDefectDensAreaeY *−=Production yield

Typical defect density ~ 0.005 - 0.02 defects/mm2

0.0 50.0 100.0 150.0 200.0Area ( mm

2 )0.0

20.0

40.0

60.0

80.0

100.0

Yie

ld( %

) 0.005

0.01

0.02

61%

36% 37%

14%Low production volume technology

Very high production volume technology

Typical ASIC technology

(regular chips have redundancy)

Page 14: Test and Design for Testability of Analog and Mixed-Signal ... · • Digital signal processing based testing. José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits

José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits 14

Basic conceptson Testing and Design for Testability

Testing time

( )

Total

devicesgood

TesterUsed

IdleDownTesterUsed

T

Handlerallchips

test

T

FixedHandlerTesterCostRate

CostRatetesttest

failpassdiewafersetuptest

T

NThroughput

T

TTTTT

CDDTest

TestTCost

NWLNDW

NFDTNPDTNWLNDWTNWLTTT

allchipstest

Total

chip

sttepingloading

chip

=

++

+

++=

×=

×

×+×+××+×+=

Page 15: Test and Design for Testability of Analog and Mixed-Signal ... · • Digital signal processing based testing. José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits

José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits 15

Basic conceptson Testing and Design for Testability

Classes of IC Electrical Tests• Functional

– Detection of failures by verification of correct operation rather than by verifying the absence of specific faults

– Verification that circuits operate correctly and meet specifications (design verification)

• Structural (DC parametric tests) – test for the occurrence of faulty behaviours; interconnections; presence of protection circuits

• AC, parametric tests– Measure of time parameters, leakage currents, power consumption

Page 16: Test and Design for Testability of Analog and Mixed-Signal ... · • Digital signal processing based testing. José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits

José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits 16

Basic conceptson Testing and Design for Testability

Test Cost

Capital equipmentDepreciation of:• Test equipment cost• Handler/Prober

Testing operationsShipmentto market

Untesteddevices

NRE Costs• DfT design and validation cost• Test generation costDevice costs• Die area• Yield loss

Equipment costRoom costs• Staff• Consumables• Test jig …

Rejected devices€ Yield loss

Cost of returned parts

Goal: optimumproduct cost

Test TWG – 2007 ITRS December Conference – Makuhari, Japan

Page 17: Test and Design for Testability of Analog and Mixed-Signal ... · • Digital signal processing based testing. José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits

José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits 17

Basic conceptson Testing and Design for Testability

• Costs

– Cdftde: DfT design effort

– Cdftt: DfT tools

– Catpg: ATPG development

– Cap: Test application

– Cesc: Test escapes

– Cohd: Silicon overhead

– Cpr: Performance loss

– Cyl: Yield loss

• Benefits

– Ctm:Time to market

– Cva:Verification ability

– Cned-Ced: Test escape diagnosis

Page 18: Test and Design for Testability of Analog and Mixed-Signal ... · • Digital signal processing based testing. José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits

José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits 18

Basic conceptson Testing and Design for Testability

( ) fssysdowntimetravelsparelaborfsfs

syssyslaborsyssd

bdicblaborbdloopbd

fssdbdesc

gd

ylplohdescap

gd

atpg

ednedgd

va

gd

t

esc

PNCCCCTC

PNCTC

PNCTKC

CCCC

N

CCCCC

N

CCost

CCN

C

N

CBenefit

CCost

BenefitROI

××+++×=

×××=

××××=

++=

+++++=

−++=

+=

)(

Page 19: Test and Design for Testability of Analog and Mixed-Signal ... · • Digital signal processing based testing. José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits

José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits 19

Basic conceptson Testing and Design for Testability

Changingtechnology/products

Shortertime-to-market

Proliferationof test systems

Lack ofstructural

tests

Highquality

Need to leverageinvestment in

product life cycle

High faultcoverage

Less in-circuit;more functionalMaintenance Test

errors

ExpensiveATE

Complexcircuits

Longer testdevelopment

High test cost

Aspects affecting test cost

Page 20: Test and Design for Testability of Analog and Mixed-Signal ... · • Digital signal processing based testing. José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits

José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits 20

Basic conceptson Testing and Design for Testability

• Manufacturer A (MA)

• 150000 boards/year; 28 $/ board

• 800 components; 4000 solder joints / board

• Board repair yield: 85%, up to 5 repair cycles; scrapt rate: 0,0076%

• Electrical defect rate: 250 defects per million(DPM); average 0,2 defects/board

• Structural defect rate: 400 DPM; average 1,6 defects/board

Page 21: Test and Design for Testability of Analog and Mixed-Signal ... · • Digital signal processing based testing. José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits

José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits 21

Basic conceptson Testing and Design for Testability

Current field return rate - 0,02 %

Field failures/returns cost - $2

Retest cost [$]

1,671,6710,5Repair cost per defect [$]

420,330,17Debug/diagnosis cost per defect [$]

50503015Repair time per defect [min]

12060105Diagnostics/verification time per defect [min]

2222Repair labor cost [$]

2222Labor cost of Verification/Diagnosis [$/h]

SystemESSFTICT

Page 22: Test and Design for Testability of Analog and Mixed-Signal ... · • Digital signal processing based testing. José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits

José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits 22

Basic conceptson Testing and Design for Testability

25102550False fail rate [ppm]

5364328278Test coverage [%]

9995859590Fault coverage electrical [%]

6090608580Fault coverage structural [%]

8070509595Test access [%]

SystemESSFTICT 2ICT 1Test Coverage Assumptions

Page 23: Test and Design for Testability of Analog and Mixed-Signal ... · • Digital signal processing based testing. José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits

José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits 23

Basic conceptson Testing and Design for Testability

453.72244.36799.33125.585139.441Total [$]

6000Annual field failure/return costs [$]

138.99815.24849.52717.95956.263Annual retest cost [$]

943289380741Annual scrap costs [$]

181.30313.04145.10819.129104.025Annual repair costs [$]

126.47931.29854.136.37634.675Annual verification costs [$]

Total1121.959.586DPM remaining on board after test

50633177Overall test effectiveness [%]

94,983,58825First pass yield [%]

0,052200,180400,12751,387Total defects found [per board]

0,004400,011100,01230,171Electrical defects found [per board]

0,047700,169300,11521,216Structural defects found [per board]

0,001160,005590,016680,029Electrical defects after test [per board]

0,005590,016680,02900,200Electrical defects before test [per board]

0,051720,099450,26880,384Structural defects after test [per board]

0,099460,268800,38401,600Structural defects before test [per board]

SystemESSFTICT 1Total test costs, ICT 1

Page 24: Test and Design for Testability of Analog and Mixed-Signal ... · • Digital signal processing based testing. José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits

José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits 24

Basic conceptson Testing and Design for Testability

42.423Savings

411.29935.09978.88320.205147.976Total [$]

4.795Annual field failure/return costs [$]

124.34212.12840.04814.36857.799Annual retest cost [$]

893237668726Annual scrap costs [$]

171.67810.31635.82115.103110.438Annual repair costs [$]

109.59124.75942.9855.03436.813Annual verification costs [$]

Total8,817,447,368,2DPM remaining on board after test

49633182Overall test effectiveness [%]

9686,790,422,9First pass yield [%]

0,041300,143300,10071,473Total defects found [per board]

0,004400,011100,01230,171Electrical defects found [per board]

0,038300,135800,09241,292Structural defects found [per board]

0,000780,003760,011200,020Electrical defects after test [per board]

0,003760,011200,01950,200Electrical defects before test [per board]

0,041500,079800,21560,308Structural defects after test [per board]

0,079800,215600,30901,600Structural defects before test [per board]

SystemESSFTICT 2Total test costs, ICT 2

Page 25: Test and Design for Testability of Analog and Mixed-Signal ... · • Digital signal processing based testing. José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits

José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits 25

Basic conceptson Testing and Design for Testability

The 1:10:100 Rule :

• The cost to fix a defect increases exponentially the later in the development lifecycle that it is identified.

• A defect caught in requirements phase costs a factor of 1 (1x) to fix.

• A defect caught in construction costs 10 times as much as in requirements.

• A defect caught in production

costs up to 100 times as much

as in requirements.

Page 26: Test and Design for Testability of Analog and Mixed-Signal ... · • Digital signal processing based testing. José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits

José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits 26

Basic conceptson Testing and Design for Testability

• Test metrics

Pass, Ok

Pass,/OKFail, OK

Fail,/OK

Prototypetest

Diagnostics, fault analysis, repair

Productiontest

Client

Receptiontest

Progress in Design for Test: A Personal ViewR. G. Bennets. IEEE Design and Test of Computers, Spring 1994

Pass, Ok

Pass,/OKFail, OK

Fail,/OK

Pass, Ok

Pass,/OKFail, OK

Fail,/OK PassOkOk/Pass

Ok/PassDefectLevel +

=

Page 27: Test and Design for Testability of Analog and Mixed-Signal ... · • Digital signal processing based testing. José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits

José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits 27

Defect, fault modeling and test metricsTypical defects• Open circuits, high contact resistance and short-circuits in and

among different layers• Threshold voltage, transconductance, aspect ratio deviations• Gate-oxide shorts, metallization failures or corrosion • High leakage currents • Defective bonding or packaging, geometry deviations• Parasitic transistors• Hot electrons, cosmic radiation, α particles• Electromigration

Page 28: Test and Design for Testability of Analog and Mixed-Signal ... · • Digital signal processing based testing. José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits

José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits 28

Defect, fault modeling and test metrics• Nvidia Corp 40 nm graphics processor has 3.2 billion transistors

and 7200 million vias (> world population)• via deposition is a major reliability concern.• leakage power has "become almost intolerable“, “DC power has

exceeded AC power for the first time," • the needs for zero defects and zero variability have become

paramount.John Chen, Nvidia Corp

Page 29: Test and Design for Testability of Analog and Mixed-Signal ... · • Digital signal processing based testing. José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits

José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits 29

Defect, fault modeling and test metrics

• ElectromigrationAggravated by:

– Reduction of the metallic interconnection width

– Reduction of contact area

– Higher current densities

T1 T2 T3

R

R+10%

R+20%

Conduction resistance

Page 30: Test and Design for Testability of Analog and Mixed-Signal ... · • Digital signal processing based testing. José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits

José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits 30

Defect, fault modeling and test metrics

In terms of duration defects can be:• Permanent – their effect remains after the first occurrence• Intermittent – their effect occur in intervals• Transient – their occurrence is triggered by a particular event and

whose effect is temporary (e.g., cross-talk)

Physical defects are not manageable with common simulation tools.That requires their representation with fault models.

Page 31: Test and Design for Testability of Analog and Mixed-Signal ... · • Digital signal processing based testing. José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits

José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits 31

Defect, fault modeling and test metrics

Fault model• The translation of a defect into the electrical or logic level.

• A formal representation of the mode how the physical defect affects/changes a circuit’s behaviour in a certain level of abstraction.

• Knowing the physical mechanisms behind the occurrence of a defect, and how these manifest electrically is fundamental to develop realistic fault models. These are required for test stimuli generation and to evaluate tests quality.

Page 32: Test and Design for Testability of Analog and Mixed-Signal ... · • Digital signal processing based testing. José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits

José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits 32

Defect, fault modeling and test metricsThe same defect can be represented by different fault

models according to the level of abstraction being used.

A+ ∆A+

-

Macromodel

Transistor

H= - 1jwCR

+ ∆H

Behavioural

Physical

Extra material

Attributes of a good fault modelSimplicity, to allow efficient test vector generation and fault simulationproceduresDefect coverage, to guarantee that the percentage of defective components escaping detection is acceptably low

Page 33: Test and Design for Testability of Analog and Mixed-Signal ... · • Digital signal processing based testing. José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits

José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits 33

Defect, fault modeling and test metricsReliability

• Failing parts within first 1000 hours: 1 - 5 %• Burn-in testing : Heating up chips to 125 deg. accelerates 1000 hours

period to approx. 24 hours.– Static: power supply connected– Dynamic: Power + stimulation patterns.– Functional test: Power + stimulation patterns + test.

• Temperature cycling: continuous temperature cycling of chips to provoke temperature gradient induced faults. (Non matching thermal expansion coefficients).

• Electrical stress: Operation at elevated supply voltage• IDDQ

Failure rate

Time

1000 hours 10 years

Badly designed component(electron migration, hot electron, corrosion, etc.)Infant mortality

Wear out

Page 34: Test and Design for Testability of Analog and Mixed-Signal ... · • Digital signal processing based testing. José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits

José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits 34

Defect, fault modeling and test metricsIDDQ Test - Improved Process ControlSet CMOS devices into static state and measure tiny current leaking

from power to ground– Certain defects are easily detected after the observation of the

quiescent power supply current - IDDQ.

• A resistive defect which may fail in the customers device– Excessive IDDQ signals the presence of leakage currents which are an

indicator of process problems and reliability issues on medium/long term.

1

1

1

1

VDD

3.3 V

0,9 V4V

Page 35: Test and Design for Testability of Analog and Mixed-Signal ... · • Digital signal processing based testing. José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits

José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits 35

Defect, fault modeling and test metrics

• IDDQ testing can only be performed if the device design is compatible, i.e. designed for test

• main requirements:– stable current at the moment

of measurement

– repeatable test conditions (substrate bias, temperature, VDD, … ) Shorter channel transistors

exponentially contribute moreto IDDQ

An Effective Design-for-Iddq-Testing Approach for Embedded Cores Based System-on-ChipJohn Sunwoo, Jonathan HarrisVLSI-TESTING, Spring/2004

Page 36: Test and Design for Testability of Analog and Mixed-Signal ... · • Digital signal processing based testing. José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits

José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits 36

Defect, fault modeling and test metrics

Fault models

sc

sc

oc

oc

Short-circuits

Opens

oc

oc=

1 fF

1GΩ

sc=

100 Ω

sc

R

R

C

C

L

L

Source Drain

Gate

D S

G

Open Short

Catastrophic

Page 37: Test and Design for Testability of Analog and Mixed-Signal ... · • Digital signal processing based testing. José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits

José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits 37

Defect, fault modeling and test metrics

• Gate Oxide Shorts

Page 38: Test and Design for Testability of Analog and Mixed-Signal ... · • Digital signal processing based testing. José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits

José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits 38

Defect, fault modeling and test metrics

gm

C

R

Vt

Delay

Parameter

11/2 2

Doping

l

w

Parametric

Parametric faults are simulated by

affecting components’ parameters

(passive and active) with deviations

of their nominal values.

E.g. ±5% to ±20% in the values of

L, C, R and in the aspect ratio, VTO,

KP, of MOS transistors.

Fault models

Page 39: Test and Design for Testability of Analog and Mixed-Signal ... · • Digital signal processing based testing. José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits

José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits 39

Defect, fault modeling and test metricsDefect Level• The ultimate objective is to minimize the number of defective

parts reaching the market.– Ideal value: 0 ppm– Typical : < 100ppm

• This equation provides an estimation of the defect level as a function of the production yield (Y) and testing fault coverage (FC). Faults are considered equiprobable.

)FC(YDL −−= 11

Page 40: Test and Design for Testability of Analog and Mixed-Signal ... · • Digital signal processing based testing. José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits

José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits 40

Defect, fault modeling and test metrics

Inductive fault analysisConsidering non equally probable faults, ž introduces a weighted

measure of fault coverage.

Each fault weighted by a factor wj=-ln(1-pj)which reflects its occurrenceprobability

J.T. Sousa, F.M. Gonçalves, J.P.Teixeira, T.W. Williams

“Fault Modeling and Defect Projections in Digital ICs”

Proceedings of the International Test Conference, 1994.

)1(1∨

−−= ZYDL

Page 41: Test and Design for Testability of Analog and Mixed-Signal ... · • Digital signal processing based testing. José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits

José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits 41

Defect, fault modeling and test metrics

Extraction of realistic faults and Inductive fault analysis

Critical area for shorts in two specified tracks.Extraction of shorts in tracks.

“A Tool for Fault Extraction in PCBs”, L.C. Laranjeira, J.Machado da Silva, J.S. MatosIEEE European Test Workshop 2000

Page 42: Test and Design for Testability of Analog and Mixed-Signal ... · • Digital signal processing based testing. José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits

José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits 42

Defect, fault modeling and test metrics

When is a deviation considered a fault?When is a fault considered detectable?

Signature analysis in amplitude and time domains

Error area

dn

d1

Toleranceband

di

ej

Peak-to-peakamplitude Quantisation

range

Faultyresponse

Goldenresponse

Page 43: Test and Design for Testability of Analog and Mixed-Signal ... · • Digital signal processing based testing. José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits

José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits 43

Defect, fault modeling and test metrics

Test errors

Probabilitydensityfunction

µnom

Acceptance range ± ²T

Type I

µP2µP1

Faultyparameter 2

Faultyparameter 1

Distribution ofnominal reponses ofparameters 1 and 2

Ll Ul

Distribution ofmeasurement errors

IType II

The cost of validation escapes are enormous(the Pentium FPDIV bug cost Intel $475 million)

Page 44: Test and Design for Testability of Analog and Mixed-Signal ... · • Digital signal processing based testing. José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits

José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits 44

Defect, fault modeling and test metricsUndetectable fault - no test exists for that fault

Redundant fault - undetectable fault but whose occurrence does not affect circuit operation

Testability = (#detectable faults) / #faults

Effective faults = faults - redundant faults(These are the ones we must detect if we want to completely test the

chip. Since redundant faults cause no harm, they should not be counted against us.)

(This is a better measure of how well a circuit is tested by a specific test method.)

( )

dCircuitGoo

PassTestAB

MT

P

Pdsdttmf

aultsDefectiveF

FaultsDetectableFC

−∫ ∫−==

1

,1

Page 45: Test and Design for Testability of Analog and Mixed-Signal ... · • Digital signal processing based testing. José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits

José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits 45

DfT and BISTDesign for Testability and Built-in Self-Test

IC manufacturers have demanded high performance Automatic Test Equipment

DUT to ATE interface:– Higher pin-counts, high frequency

& performance probes and sockets.

– No degradation of tester accuracy and noise.

Mixed-Signal Instrumentation:– Higher bandwidth, higher

sampling rates, higher accuracy, lower noise, etc.

– RF and audio circuits a major challenge, more when noisy digital circuitry is also present.

Memory:– Very high amount of data.

Represents 40% of improvements in testers

Costly:– 1 million $

Page 46: Test and Design for Testability of Analog and Mixed-Signal ... · • Digital signal processing based testing. José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits

José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits 46

DfT and BISTDesign for Testability and Built-in Self-Test

Design for TestabilitySet of techniques/methodologies aiming to improving the

capability of generating, applying, and evaluating tests in order to complain with the required fault coverage objectives, subject to time and cost restrictions.

Key concepts:

• Accessibility

• Controllability - capability to activate internal nodes

• Observability - capability to observe internal nodes

• Partitioning

Page 47: Test and Design for Testability of Analog and Mixed-Signal ... · • Digital signal processing based testing. José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits

José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits 47

DfT and BISTDesign for Testability and Built-in Self-Test

Test difficulties – accessibility, observability

5 cmPlated through hole technology, 200 pin PGA

3 cmSurface mount technology, 200 pin QFP

1 cmMultichip module, 200 pad Bare Die

Page 48: Test and Design for Testability of Analog and Mixed-Signal ... · • Digital signal processing based testing. José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits

José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits 48

DfT and BISTDesign for Testability and Built-in Self-TestSubtle Forms of DfT

• Robust Circuits– Tighter statistical distributions centered between upper and

lower test limits.

– Robust circuits are much less expensive to test

• Design Margin– Generous design margins allow devices to be tested on less

expensive testers

– Doubling design margin reduces measurement sampling time by a factor of four

– Designers often make margin decisions based purely on silicon area without consideration of test impact

Page 49: Test and Design for Testability of Analog and Mixed-Signal ... · • Digital signal processing based testing. José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits

José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits 49

DfT and BISTDesign for Testability and Built-in Self-Test

Subtle Forms of DfT

• Avoiding over-specification– Question the need for too tight specifications

• Predictability of failure mechanisms– Use circuits with simple, “predictable” failure modes even if

they require more silicon area

• Tester performance reduction– In general, a low frequency tester is much less expensive than

a high frequency tester

– Tester with fewer digital pins is much less expensive

Page 50: Test and Design for Testability of Analog and Mixed-Signal ... · • Digital signal processing based testing. José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits

José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits 50

DfT and BISTDesign for Testability and Built-in Self-Test

Advantages of DfT

• Lower test cost

• Ease in test program development

• Higher test efficiency = product and process quality

• DfT observability and controllability provide means for enhanced diagnostic capabilities (throug life-cycle) and processing problems

• Lower cycle time = increased profit

• Test resources available along the whole product life-cycle

Page 51: Test and Design for Testability of Analog and Mixed-Signal ... · • Digital signal processing based testing. José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits

José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits 51

DfT and BISTDesign for Testability and Built-in Self-Test

Test auxiliary circuitry

Disadvantages:

• Performance degradation

• Increased power consumption

• Area overhead

• Increased silicon increases development and manufacturing costs

• Increased defect occurrence probability

• Test engineers and design engineers must work as a team to determine the overall cycle time and cost impact of each DfT choice

Page 52: Test and Design for Testability of Analog and Mixed-Signal ... · • Digital signal processing based testing. José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits

José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits 52

DfT and BISTDesign for Testability and Built-in Self-Test

Economics of DfT

• Difficult to quantify cost savings

– Can estimate test cost savings

– Can’t calculate how much cycle time is reduced by a particular DfT choice

– Lower cycle time results in higher profit margins, but how much higher?

– How much business would be lost if DfT were not used to improve quality?

• Nevertheless, experience shows that DfT advantages outweigh the disadvantages

Page 53: Test and Design for Testability of Analog and Mixed-Signal ... · • Digital signal processing based testing. José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits

José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits 53

DfT and BISTDesign for Testability and Built-in Self-Test

Ad-hoc DfT hints

• Partition the circuit into functionally independent individual blocks

• Choose test nodes with similar electrical characteristics

• Avoid the necessity for multiple test instruments

• Explore as much as possible the resources already available in the circuit

• Choose the test sequence which allows for the best efficiency/test time relationship

• Use as much as simple test schemes as they can be

Page 54: Test and Design for Testability of Analog and Mixed-Signal ... · • Digital signal processing based testing. José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits

José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits 54

DfT and BISTDesign for Testability and Built-in Self-Test

Built-In Self Test (BIST)

– BIST is a subset of DfT

– BIST circuits provide the stimulus and response verification capabilities for testing on-chip

– Allows the DUT to evaluate its own quality with minimum ATE support

– Widely used in digital circuits, but not in analog and mixed-signal circuits

Page 55: Test and Design for Testability of Analog and Mixed-Signal ... · • Digital signal processing based testing. José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits

José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits 55

DfT and BISTDesign for Testability and Built-in Self-Test

Accessibility - physical vs. electronic access

Aligning pinBoard under test

Test probe, bed of nails

Controlador BST

Núcleodo CI

Controlador BST

Núcleodo CI

Circuito integrado 1 Circuito integrado 2

BST controller

IC core

BST controller

IC core

IC 1 IC 2

Page 56: Test and Design for Testability of Analog and Mixed-Signal ... · • Digital signal processing based testing. José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits

José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits 56

DfT and BISTDesign for Testability and Built-in Self-Test

Test pad

THT

SMT

<650µµµµm

Opens (48%)

Bad / Wrongpart (7%)

Shorts (22%)

Missing /Misalignedpart (19%)

Damaged part (4%)

Prim

ary

acce

ssno

des

Problems with known good die:Single chip fault coverage: 95%MCM yield with 10 chips: (0.95)10 = 60%

The need for hierarchical access

Page 57: Test and Design for Testability of Analog and Mixed-Signal ... · • Digital signal processing based testing. José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits

José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits 57

DfT and BISTDesign for Testability and Built-in Self-Test

Tester timing errors

Bandwidth gap between ATE and on-chip signals!

Source: SIA Roadmap

Devices30% per year

ATE: +12% per year aprox.

Page 58: Test and Design for Testability of Analog and Mixed-Signal ... · • Digital signal processing based testing. José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits

José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits 58

DfT and BISTDesign for Testability and Built-in Self-Test

Analogue testing difficulties• Different functional characteristics of the various blocks

embedded in a circuit• Diversity of amplitude and time characteristics of the

different signals present in the same circuit• Higher volume and accuracy of data to be processed• Test methods and instruments are often inadequate to test

the new circuit’s functionalities• Lack of fast and generic tools to develop and evaluate test

methods (test generation, simulation, stimuli generation)• Higher sensitivity to process variations and measurement

inaccuracy

Page 59: Test and Design for Testability of Analog and Mixed-Signal ... · • Digital signal processing based testing. José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits

José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits 59

DfT and BISTDesign for Testability and Built-in Self-Test

• There is no other way to cope with the cost and complexity of future ICs.

• Do not try to emulate a complete external testing - this is not practical in most cases. Functional testing must be reduced.

• Reduce costly or non-practical on-chip tests

– Structural test is a clear powerful complement to functional testing

– Structural test related to the I/O functional behavior

• Accessing: Yes, but non-intrusive

Page 60: Test and Design for Testability of Analog and Mixed-Signal ... · • Digital signal processing based testing. José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits

José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits 60

DfT and BISTDesign for Testability and Built-in Self-Test

The BIST Solution

• On-chip resources can run at the same speed than the CUT

• Avoid the need of external accessing

• Reduce interface to low bandwidth (control, low freq. signals, etc.)

• Customized test

On-ChipTest Manager

Stimuli generation Result compression Precision timing Diagnostic Power manager Test Control Support for board & system level

Memory (BISTed)

Memory (BISTed)

Logic (BISTed)Logic

(BISTed)

Mixed-Signal (BISTed)

Mixed-Signal (BISTed)

I/O & Interconnects (BISTed)

I/O & Interconnects (BISTed)

ICIC

Page 61: Test and Design for Testability of Analog and Mixed-Signal ... · • Digital signal processing based testing. José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits

José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits 61

DfT and BISTDesign for Testability and Built-in Self-Test

Key aspects

• Re-usable and structured DfT & BIST techniques» Reduce I/O data rate requirements,

» Enable low pin count testing, and» Reduce the dependence on expensive instruments.

• Structured Test planning» Enable hierarchical testing

» Enable the re-use of on-chip resources (DSP, uP, etc.)

» Facilitate parallel testing» etc.

• Standardized Test Access Mechanism

Page 62: Test and Design for Testability of Analog and Mixed-Signal ... · • Digital signal processing based testing. José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits

José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits 62

A generic test system model

Circuit under testΣΣΣΣ

Stimuligenerator

ΣΣΣΣ

Sensor /Observer

u

Diagnostics

ΣΣΣΣMeasurementuncertainty

Test bus

Time control

Noise

Faults

Modelling errors

Interface

External Tester

u' y'

y

Responseevaluation

Page 63: Test and Design for Testability of Analog and Mixed-Signal ... · • Digital signal processing based testing. José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits

José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits 63

DfT and BISTDesign for Testability and Built-in Self-Test

- Ron- Roff- Vbr- fmax

- Gain- Bandwidth- Zin- Non-linearity

- Gain- Bandwidth- Slew-rate- THD

- DNL- INL- SINAD- Nef

PGA ADCMux Filter

Testinput

Testoutput

• Testing embedded macros - Test what?

Page 64: Test and Design for Testability of Analog and Mixed-Signal ... · • Digital signal processing based testing. José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits

José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits 64

DfT and BISTDesign for Testability and Built-in Self-Test

Approaches• Infrastructures to access internal test nodes

• Inclusion of observation and evaluation blocks

• Local test stimuli generation

• Functional reconfiguration based schemes

• Built-in self-test

Page 65: Test and Design for Testability of Analog and Mixed-Signal ... · • Digital signal processing based testing. José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits

José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits 65

DfT and BISTDesign for Testability and Built-in Self-Test

Infrastructures to access internal test nodes

• Multiplexing test nodes

A framework for Design for Testability of Mixed Analog/Digital CircuitsM. Jarwala, IEEE 1991 Custom Integrated Circuits Conference

Mux

Mux

Mux

T1 T2 T3C1 C2 C3

Mux

AB1 AB2 ABnC4

Digital control

Ain

Aout

Testinput

T1T2

T3Tn

Digitalinterface

Testoutput

Mux

Page 66: Test and Design for Testability of Analog and Mixed-Signal ... · • Digital signal processing based testing. José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits

José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits 66

DfT and BISTDesign for Testability and Built-in Self-Test

Infrastructures to access internal test nodes

• Analogue scan (observation)

Built-in self-test (BIST) structure for analog fault diagnosis C. L. Wey, IEEE Trans. Instrumentation & Measurement, vol.39, n.3, 1990

Circuit Under TestInput Output

Testoutput

Page 67: Test and Design for Testability of Analog and Mixed-Signal ... · • Digital signal processing based testing. José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits

José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits 67

DfT and BISTDesign for Testability and Built-in Self-Test

LPF

CP

f in Up

Downfdiv

Phasedetector VCO

÷N

External analogtest pin

12

12

ttVCO VV

ffK

−−=

Bypass

X

Directmeasurementof charge-pumpcurrent

Infrastructures to access internal test nodes

• PLL internal test

Motivations towards BIST and DfT for embedded charge-pump phase-locked loop frequencySynthesisers. M.J. Burbidge, A. Lechner, G. Bell and A.M.D. RichardsonIEE Proc.-Circuits Devices Syst., Vol. 151, No. 4, August 2004

Page 68: Test and Design for Testability of Analog and Mixed-Signal ... · • Digital signal processing based testing. José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits

José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits 68

DfT and BISTDesign for Testability and Built-in Self-Test

PGA ADCMux Filter

X X X

Infrastructures to access internal test nodes• Design Diagnostics

Analog TestInput Bus

Analog TestOutput Bus

Page 69: Test and Design for Testability of Analog and Mixed-Signal ... · • Digital signal processing based testing. José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits

José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits 69

DfT and BISTDesign for Testability and Built-in Self-Test

Infrastructures to access internal test nodes• IEEE 1149.4 — Standard for a Mixed-Signal Test Bus

Core

TBIC

SH

SL

VH

SB1 SB2

-+ c

c

cc

TDO

TDI AB1AB2

VL

TBIC

ATAP

SG

VG

CoreR

AT1

AT2

TDI

TDO

TMSTCK

ABM

AT 2

AT 1

ATAP

VTH http://grouper.ieee.org/groups/1149/4/

Page 70: Test and Design for Testability of Analog and Mixed-Signal ... · • Digital signal processing based testing. José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits

José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits 70

DfT and BISTDesign for Testability and Built-in Self-Test

On-chip Analog Output Response CompactionM. Renovell, F. Azais, Y. BertrandEuropean Design & Test Conference, 1997

.

+

-

R1 R2

vO(t)

VDD

C1

C2

vI (t)

+

- CR1

R2

Ci(t)Output

Testsignature

( ) ( )∫ ∑−=

=dt

R

tv

CtS

n

i i

i

1

1

Insertion of observation and evaluation blocks

Page 71: Test and Design for Testability of Analog and Mixed-Signal ... · • Digital signal processing based testing. José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits

José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits 71

DfT and BISTDesign for Testability and Built-in Self-Test

Insertion of observation and evaluation blocks • Multi-mode signature analyser

A multi-mode signature analyzer for analog and mixed circuitsM. Renovell, M. Lubaszewski, S. Mir, F. Azais, Y. BertrandProceedings of International Conference on VLSI, 1997.

-

+Vt

InitΦ2 Φ2

Φ1Φ1

Conf1-

+Vt

InitΦ2 Φ1

Φ2Φ1

Conf2

S2

Vout(t)

C

C

S1Vin(t)

Integrator 1

Integrator 2

Cos

Cos

Vin=-Vo sin(ωt+φ)

Vmid= - V[cosφ - cos(ωt+φ)]ωτ

Vout= - [ - sin(ωt+φ) + ωt.cosφ + sinφ](ωτ)2

V

Transparent11

Transient analyzer01

Transient analyzer10

Frequential analyzer00

ModeConf2Conf1

-

+

ConfConf

Conf

-

+

Vt

-

+Vt

Conf

Out

Page 72: Test and Design for Testability of Analog and Mixed-Signal ... · • Digital signal processing based testing. José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits

José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits 72

DfT and BISTDesign for Testability and Built-in Self-Test

Improving the Testability of Switched-capacitor FiltersJ.L.Huertas, A. Rueda, D.VázquezJournal of Electronic Testing, November 1993

Biquad 1 Biquad 2 Biquad n

Controllogic

12n

TestInput

Input

1 2 n

ProgrammableBiquad

1 2 nOutputsInputs

ComparatorTestoutput

Insertion of observation and evaluation blocks

• Use of a Programmable Biquad

Page 73: Test and Design for Testability of Analog and Mixed-Signal ... · • Digital signal processing based testing. José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits

José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits 73

DfT and BISTDesign for Testability and Built-in Self-Test

Insertion of observation and evaluation blocks • ABSINT

“Control and observation of analog test nodes", IEEE ITC, 1993"An Approach to Testability Improvement of

Mixed-Signal Boards", IEEE ISCAS, 1994

Page 74: Test and Design for Testability of Analog and Mixed-Signal ... · • Digital signal processing based testing. José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits

José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits 74

DfT and BISTDesign for Testability and Built-in Self-Test

Local test stimuli generation• Σ∆ modulated signals

Characteristics

• Bit-Stream obtained from a 3th order Σ∆ Modulator• 804 bit length • fIN at 5 kHz

• Clocked at fCK/2

A BIST Scheme for SNDR Testing of Σ∆ ADCs Using Sine-Wave FittingLuis Rolindez, Salvador Mir, Ahcene Bounceur and Jean-Louis CarboneroProceedings of the 24th IEEE VLSI Test Symposium (VTS’06)

Page 75: Test and Design for Testability of Analog and Mixed-Signal ... · • Digital signal processing based testing. José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits

José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits 75

DfT and BISTDesign for Testability and Built-in Self-Test

Local test stimuli generation• Multi-mode stimuli generator

A built-in multi-mode stimuli generator for analogue andmixed-signal testingLubaszewski M., Renovell M. Mir, S. Azans, F. Bertrand, Y.Integrated Circuit Design, Proceedings. XI Brazilian Symposium on 1998

-

+

R

Φ2 Φ1

Φ2Φ1 Vout(t)

C

C

Φ2FM

Φ2FMΦ1+TMp+TMs

CscCsc

Φ2+R

Φ1+R

Cosc

-+Vt

Vmid(t)

TMpΦ2TMp+Φ2TMs+R

Φ1FM+Φ2TMp+Φ2TMs+R

Φ2FM+Φ1TMp+Φ1TMs+R

FM VA

Φ1+TMp+TMs

FM+R

FM+R

FM+R

Ct2Ct1

-

+

Vout(t)

Csc

Φ2 Φ2

Φ1Φ1

Cosc

-

+

Vmid(t)

TMp=1Φ2

Sawtooth (TMs=1)

Ct2Ct1

Φ2 Φ1

Φ2Φ1

Csc C

-

+

Vout(t)

Csc

Φ2 Φ2

Φ1Φ1

Cosc

-

+

Vmid(t)

TMp=1

Φ2

Pulse

Ct2Ct1

-

+ Φ2 Φ1

Φ2Φ1Vout(t)

C

C

Φ2

Φ2FMΦ1+TMp+TMs

CscCsc

Φ2

Φ1

Φ1

Cosc

-

+

Vmid(t)

Φ2

FM VA

Φ1

FM+R

FM R

Multifrequency(FM=1)

Page 76: Test and Design for Testability of Analog and Mixed-Signal ... · • Digital signal processing based testing. José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits

José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits 76

DfT and BISTDesign for Testability and Built-in Self-Test

Local test stimuli generation• Generation of pseudo-random signals

.

Q1 Q2 ... Qn ... Qm

Din

ClkShiftRegister

PRBS

m n length (2m-1)4 3 156 5 638 (4,5,6) 25510 7 102315 14 32767

+0.1dB to 12%fclk

kπA(fk)= V M+1M M

sin kπM

fclk 2fclk

k=1,2,3, ....

-3dB

44%fclk

∆t

T=M* ∆t

V

fk=k/(M∆t)

Pow

er

spe

ctru

m

Page 77: Test and Design for Testability of Analog and Mixed-Signal ... · • Digital signal processing based testing. José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits

José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits 77

DfT and BISTDesign for Testability and Built-in Self-Test

Q1 Q2 ... Qm-1 Qm

Din

Clk Jonhsoncounter

.....R1 R2 Rm-1

weightedsum 2m states

Sinewave frequency==1/2m clock frequency

For correctly weighted resistorsthe 1st harmonic is of order 2m-1

Initial state = 00xx0h

Local test stimuli generation• Discrete sinewave generation

Page 78: Test and Design for Testability of Analog and Mixed-Signal ... · • Digital signal processing based testing. José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits

José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits 78

DfT and BISTDesign for Testability and Built-in Self-Test

• Sinewave oscillator

( )( ) 12 ++

=Qss

s

tv

tv

i

oΣ 1/s

-1/s

-1/Q

vi(t) vo(t)

jωQ∞

Σ Z-1

A0Z-1

A1

vi(n) vo(n)

( )( ) 2

01

1

1

1 −−

−−=

zAzA

z

zV

zV

i

o

Q∞

θ

( ) ( )ss TjTZp

AAjAZp

002,1

0211

2,1

sincos2

42

ωω ±=

−−±=

D/A

vo[n]=2cos(ωO).vo[n-1]-vo[n-2]

vo[-1]=0; vo[-2]=-A0sin(wO); wO=2pfO/fS

Page 79: Test and Design for Testability of Analog and Mixed-Signal ... · • Digital signal processing based testing. José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits

José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits 79

DfT and BISTDesign for Testability and Built-in Self-Test

Functional reconfiguration based schemes

• Reconfiguration of universal biquadratic sections

Filter

Σ- k

Φt

ε(t)=vout(t)-kvin(t)

Testoutput

-Vd Vd

vin(t) vout(t)UBS1 UBS1 UBSm

Normal mode - Φt = 0Test mode - Φt = 1

A New Strategy for Testing Analog FiltersD. Vázquez, A. Rueda, J.L. Huertas12th VLSI test Symposium, 1994

HUBSj(s)=kj

H(s)=Πj=1 kj = km

Page 80: Test and Design for Testability of Analog and Mixed-Signal ... · • Digital signal processing based testing. José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits

José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits 80

DfT and BISTDesign for Testability and Built-in Self-Test

-+

-+

S1

S2

S3

S4

S50

1

0

12

Testout 2

Testout 1

OA2OA1

-

+

-

+

Testing Analog and Mixed-Signal Integrated Circuits Using Oscillation-Test MethodK. Arabi, B. KaminskaIEEE Transactions on CADICS, vol.16,no.7,July 1997

Normal modeTest mode f1Test mode f2Test mode f3Test mode f4Test mode f5Test mode f6

S1 S2 S3 S4 S5on

1

0 0 off on

2 on off on1 2 on off off

1 1 on off on

1 1 on off off

1 0 off on on1 0 off on off

Componentstested

allall, but C1

R1,R2,R3,C1,OA1

R1,R2,R3,OA1

R3,R4,R5,C1,C2,OA1,OA2R1,R2,R3,OA1

Test out

2

2

1

1

2

1

Functional reconfiguration based schemes• Oscillation test mode

Page 81: Test and Design for Testability of Analog and Mixed-Signal ... · • Digital signal processing based testing. José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits

José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits 81

DfT and BISTDesign for Testability and Built-in Self-Test

Functional reconfiguration based schemes• Oscillation test mode

vo

i1

i2

io

M5 M6M3

M4

Rc Cc

v⊗i

M1

M2

Mb

Lg

L Rt

C1

Ci

LsRb

VDD

Ib

C2

Cf

Cv

Mv

The extra transistors’ area overhead is smaller than 25%.

A Low-Power Oscillation Based LNA BIST SchemeJosé Machado da Silva, Proceedings DTIS, 2006

LNA

PA

⊗General purpose test bus

VDD

Page 82: Test and Design for Testability of Analog and Mixed-Signal ... · • Digital signal processing based testing. José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits

José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits 82

DfT and BISTDesign for Testability and Built-in Self-Test

Catastrophic faults

Observing a single parameter does not ensure a reliable fault detection

Page 83: Test and Design for Testability of Analog and Mixed-Signal ... · • Digital signal processing based testing. José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits

José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits 83

DfT and BISTDesign for Testability and Built-in Self-Test

Catastrophic faults

Page 84: Test and Design for Testability of Analog and Mixed-Signal ... · • Digital signal processing based testing. José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits

José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits 84

DfT and BISTDesign for Testability and Built-in Self-Test

Parametric

faults

Page 85: Test and Design for Testability of Analog and Mixed-Signal ... · • Digital signal processing based testing. José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits

José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits 85

DfT and BISTDesign for Testability and Built-in Self-Test

Parametric faults

Page 86: Test and Design for Testability of Analog and Mixed-Signal ... · • Digital signal processing based testing. José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits

José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits 86

DfT and BISTDesign for Testability and Built-in Self-Test

• Functional reconfiguration based schemes

Testable Design of Multiple-Stage OTA-C FiltersCheng-Chung Hsu and Wu-Shiung Feng,IEEE TRANSACTIONS ON INSTRUMENTATION AND MEASUREMENT, VOL. 49, NO. 5, OCTOBER 2000

+- +

- +- +

-

Feedback network

vin

vout+- +

- +- +

-

vin

vout

Page 87: Test and Design for Testability of Analog and Mixed-Signal ... · • Digital signal processing based testing. José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits

José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits 87

DfT and BISTDesign for Testability and Built-in Self-Test

Analogueinput

Discrete levelvalues

Digitaloutput

Clock

Sampleand hold

FlashA/D

converter

-

+-

+

-

+

MUX

Normalmode

Testmode

Y[N]

Y[0]

Test outputobservation

Y[0]

Test stimulus

Good transfer characteristic

0 1 2 3 4 5 6 7 7 6 5 4 3 2 1 0

Y[0]

Test stimulus

Non-linear transfer characteristic

0 1 2 3 4 5 6 7 7 6 5 4 3 2 1 0

Flash A/D Converters –Design for TestabilityR. Ramadoss, M.L. Bushnell3rd IEEE Mixed Signal Testing Workshop, 1997

Functional reconfiguration based schemes• ADC transfer characteristic observation

Page 88: Test and Design for Testability of Analog and Mixed-Signal ... · • Digital signal processing based testing. José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits

José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits 88

DfT and BISTDesign for Testability and Built-in Self-Test

-a.z-2

1 + z-2-b.z-2

1 + z-2Σ Σ

1bitD/A

y[n]x[n]

resonator 1 resonator 2

-a.z-2

1 + z-2

-b.z-2

Σ

Σ

x[n]

1 + z-2Σ

-

+

y1[n]

y2[n]

TS TS

+Vref -Vref

TSTS

filter 2

filter 1

+

-

A BIST Technique for Sigma-Delta ModulatorsBased on Circuit ReconfigurationS. Mir, A. Rueda, J. L. Huertas, and V. Liberali3rd International Mixed-Signal Testing Workshop

- -

Functional reconfiguration based schemes• Double-loop Σ∆ modulator

Page 89: Test and Design for Testability of Analog and Mixed-Signal ... · • Digital signal processing based testing. José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits

José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits 89

DfT and BISTDesign for Testability and Built-in Self-Test

Hybrid Built-in self-test (HBIST) for mixed analogue/digital integrated circuitsM. J. Ohletz, Proceedings of the 2nd European Test Conference, April 1991

Functional reconfiguration based schemes• Hybrid BIST

MISRBILBO1

BILBO2

D/AA/D

Block

Analog

Block

Analog

Digital core

Test control

Page 90: Test and Design for Testability of Analog and Mixed-Signal ... · • Digital signal processing based testing. José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits

José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits 90

DfT and BISTDesign for Testability and Built-in Self-Test

Built-in Logic Block Observer

MUX

D Q D Q D Q

EXOR Feedback Network

Parallel Output (Signature in Test Mode)

Parallel Inputs

C1

C2Scan_out

Scan-in

C1 C2 Mode0 0 Scan0 1 Clear1 0 MISR1 1 Normal

Built-in logic block techniquesB. Koenemann, J. Mucha, G. ZwiehofProc. International Test Conference, 1979

Page 91: Test and Design for Testability of Analog and Mixed-Signal ... · • Digital signal processing based testing. José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits

José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits 91

DfT and BISTDesign for Testability and Built-in Self-Test

Functional reconfiguration based schemes• MADBIST 1 - fully digital test

2 - convert D/A to oscillator(without smoothing filter)

3 - close Mux14 - test ADC5 - DAC set to normal operation6 - DAC can be tested after

closing Mux27 - use DSP computational

resources to implement anarrow band digital filterwhich allows computingparameters such as SNRand IMD

DSP ADCanti-aliasingfilter

DAC

Analogueoscillator

Smoothingfilter

MUX1

MUX2

A BIST Scheme for an SNR test of a Sigma-Delta ADCM.F. Toner, and G.W. RobertsProceedings of International Test Conference, 1993

Page 92: Test and Design for Testability of Analog and Mixed-Signal ... · • Digital signal processing based testing. José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits

José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits 92

DfT and BISTDesign for Testability and Built-in Self-Test

• Mixed-signal BIST hurdles– Lack of robust traceability to central standards

such as NIST

– Designs are very close to specification limits requiring great accuracy in measurements

– The use of on-chip stimulus and measurement circuits throws doubt into the accuracy of measurements, since there is a question about the quality of the signals generated and measured on a given DUT

Page 93: Test and Design for Testability of Analog and Mixed-Signal ... · • Digital signal processing based testing. José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits

José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits 93

DfT and BISTDesign for Testability and Built-in Self-Test

• BIST instrumentation is often inferior to ATE equipment

– ATE is calibrated, traceable to NIST

– ATE digitizers & sources include anti-aliasing and anti-imaging circuits

– Circuit overhead to implement BIST is overwhelming unless circuits are already present in design (microprocessor, DSP, ADC, DAC etc)

– Problems are not insurmountable, but mixed-signal BIST can’t be applied blindly

Page 94: Test and Design for Testability of Analog and Mixed-Signal ... · • Digital signal processing based testing. José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits

José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits 94

DfT and BISTDesign for Testability and Built-in Self-Test

Re-use of existing resources

RAM

RAMController

D/Aconversioncontroller

FPGA

Teststimuli

generation

DigitalI/O port

D/AConverter

AnalogueFilter

AnalogueOutputs

A/DConverter

AnalogueFilter

AnalogueInputs

A/DConverterController

FiltersControl-

lers

IEEE1149.1/.4

BusControllerInterface

TestResponseCapture

Digital inputsand outputs

IEEE 1149.1/.4Bus Signals

Signal Processing

José M. Silva, J. S. Duarte, and José S. Matos, "Mixed-Signal BIST Using Correlation and Reconfigurable Harware", Design, Automation and Test in Europe Conference, DATE 2000.

Page 95: Test and Design for Testability of Analog and Mixed-Signal ... · • Digital signal processing based testing. José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits

José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits 95

DfT and BISTDesign for Testability and Built-in Self-Test

0 5 10 15 20 250

1

2

3

4

5

Time [ms]

Ou

tpu

t V

olta

ge

[V]

0 5 10 15 20 25

0.74

0.78

0.82

0.86

0.9

Time [s]

Po

wer

Su

pp

ly C

urr

ent

[mA

]

16-bit shift register

- - -

- - -

13-bitcounter

13-bitcounter

13-bitcounter- - -

sig1

clockl

sig2

clock

- - -

- - -Data out

.

0 2 4 6 8 10 12 14 160.85

0.9

0.95

1

Correlation Index

No

rmal

ised

Po

larit

y C

orr

elat

ion

Glitch

Glitch

Page 96: Test and Design for Testability of Analog and Mixed-Signal ... · • Digital signal processing based testing. José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits

José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits 96

DfT and BISTDesign for Testability and Built-in Self-Test

0 2 4 6 8 100

1

2

3

4

5

6

Time(s)

Am

plitu

de e

volu

tion

(V)

System output Vout

(t)

Nonlinear block output Vout

'(t)

Transfer Characteristic (Vout

' vs Vin

)

“An Adaptive Scheme for Estimating and Correcting RF Amplifiers' Non-Linearities”Pedro Mota, José Machado da SilvaAPCCAS, 2008

• Estimation of the amplifier’s nonlinearity.• Automatic gain control• Correction of eye diagrams’ opening

Page 97: Test and Design for Testability of Analog and Mixed-Signal ... · • Digital signal processing based testing. José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits

José Machado da Silva Test and DfT of Analog and Mixed-Signal Circuits 97

Test and Design for Testability of Analog and Mixed-Signal Circuits

ACEOLE - PH-ESE Electronics Seminars 4-5 February 2010

José Machado da Silva

U.Porto – Faculdade de Engenharia

INESC Porto