Top Banner
Page 1 /CCUT T.-C. Huang Apr. 2004 TCH CCUT Introduction to IC Introduction to IC Test Test Tsung-Chu Huang ( 黃黃黃 ) Department of Electronic Eng. Chong Chou Institute of Tech. Email: [email protected] 2004/04/19
22

Page 1EL/CCUT T.-C. Huang Apr. 2004 TCH CCUT Introduction to IC Test Tsung-Chu Huang ( 黃宗柱 ) Department of Electronic Eng. Chong Chou Institute of Tech.

Dec 27, 2015

Download

Documents

Shanon Jordan
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Page 1EL/CCUT T.-C. Huang Apr. 2004 TCH CCUT Introduction to IC Test Tsung-Chu Huang ( 黃宗柱 ) Department of Electronic Eng. Chong Chou Institute of Tech.

Page 1EL/CCUT T.-C. Huang Apr. 2004

TCH

CCUT

Introduction to IC TestIntroduction to IC Test

Tsung-Chu Huang(黃宗柱 )

Department of Electronic Eng.Chong Chou Institute of Tech.

Email: [email protected]

2004/04/19

Page 2: Page 1EL/CCUT T.-C. Huang Apr. 2004 TCH CCUT Introduction to IC Test Tsung-Chu Huang ( 黃宗柱 ) Department of Electronic Eng. Chong Chou Institute of Tech.

Page 2EL/CCUT T.-C. Huang Apr. 2004

TCH

CCUT

Syllabus & Chapter PrecedenceIntroduction

Modeling

Logic Simulation Fault Modeling

Fault Simulation

Testing for Single Stuck Faults

Test Compression

Built-In Self-Test

Design for Testability

(II)

Page 3: Page 1EL/CCUT T.-C. Huang Apr. 2004 TCH CCUT Introduction to IC Test Tsung-Chu Huang ( 黃宗柱 ) Department of Electronic Eng. Chong Chou Institute of Tech.

Page 3EL/CCUT T.-C. Huang Apr. 2004

TCH

CCUT

t

Critical Path Tracing

1. A line l has a critical value v in the test (vector) t iff t detects the fault l s-a-!v. A line with a critical value in t is said to be critical in t.

2. POs are critical and the others are found by backtracing.3. Paths composed of critical lines are critical paths.4. A gate input is sensitive (in a test t) if complementing its valu

e changes the value of the gate output.5. If a gate output is critical, then its sensitive inputs, if any, are

also critical.

lD=1/0

Page 4: Page 1EL/CCUT T.-C. Huang Apr. 2004 TCH CCUT Introduction to IC Test Tsung-Chu Huang ( 黃宗柱 ) Department of Electronic Eng. Chong Chou Institute of Tech.

Page 4EL/CCUT T.-C. Huang Apr. 2004

TCH

CCUT

Example

E

J

B

A

CD

Hi

Hj

F

H

I

G K

Gi

Gj

Ci Cj

1

0

1

10

11

1

0

Page 5: Page 1EL/CCUT T.-C. Huang Apr. 2004 TCH CCUT Introduction to IC Test Tsung-Chu Huang ( 黃宗柱 ) Department of Electronic Eng. Chong Chou Institute of Tech.

Page 5EL/CCUT T.-C. Huang Apr. 2004

TCH

CCUT

Self-Masking

A

B

C

Bi

Bj E

F

G

Z

1

1

1

A

B

C

Bi

Bj E

F

G

Z

1

1

0

Stem B is self-masking.

Stem B is critial.

Page 6: Page 1EL/CCUT T.-C. Huang Apr. 2004 TCH CCUT Introduction to IC Test Tsung-Chu Huang ( 黃宗柱 ) Department of Electronic Eng. Chong Chou Institute of Tech.

Page 6EL/CCUT T.-C. Huang Apr. 2004

TCH

CCUT

Capture Line

1. Let t be a test that activates fault f in a single-output combinational circuit. Let y be a line with level ly, sensitized to f by t. If every path sensitized to f either goes through y or does not reach any line with level greater than ly, then y is said to be a capture line of f in test t.

2. A capture is a bottleneck for the propagation of fault effects.

3. A test t detects the fault f iff all the capture lines of f in t are critical in t.

Page 7: Page 1EL/CCUT T.-C. Huang Apr. 2004 TCH CCUT Introduction to IC Test Tsung-Chu Huang ( 黃宗柱 ) Department of Electronic Eng. Chong Chou Institute of Tech.

Page 7EL/CCUT T.-C. Huang Apr. 2004

TCH

CCUT

Cones & Fanout-Free Region

1. A Cone contains all the logic feeding one primary output.2. To take advantage of the simplicity of critical path tracing in f

anout-free circuits, within each cone we identify fanout-free regions (FFRs).

3. The inputs of a FFR are checkpoints of the circuit, namely fanout branches and primary inputs. The output of a FFR is either a stem or a primary output.

J

B

A

CD

Hi

Hj

F I

G

HGi

Gj

Ci Cj

Page 8: Page 1EL/CCUT T.-C. Huang Apr. 2004 TCH CCUT Introduction to IC Test Tsung-Chu Huang ( 黃宗柱 ) Department of Electronic Eng. Chong Chou Institute of Tech.

Page 8EL/CCUT T.-C. Huang Apr. 2004

TCH

CCUT

Testability

A Typical Combinational Circuit

Controllability Observability

Page 9: Page 1EL/CCUT T.-C. Huang Apr. 2004 TCH CCUT Introduction to IC Test Tsung-Chu Huang ( 黃宗柱 ) Department of Electronic Eng. Chong Chou Institute of Tech.

Page 9EL/CCUT T.-C. Huang Apr. 2004

TCH

CCUT

STAFAN: Statistical Fault AnalysisAgrawal, 1985

1. Vector-based probability2. C1(l): The probability causing the output of line l a value v3. O(l): The probability propagating response from l to any out

put.4. Example:

x

y

zw

5.010 cc

5.010 cc

5.010 cc

5.010 cc

75.0

25.0

1

0

c

c

75.0

25.0

1

0

c

c

01

0

1

75.075.0

cc

c

Page 10: Page 1EL/CCUT T.-C. Huang Apr. 2004 TCH CCUT Introduction to IC Test Tsung-Chu Huang ( 黃宗柱 ) Department of Electronic Eng. Chong Chou Institute of Tech.

Page 10EL/CCUT T.-C. Huang Apr. 2004

TCH

CCUT

Syllabus & Chapter PrecedenceIntroduction

Modeling

Logic Simulation Fault Modeling

Fault Simulation

Testing for Single Stuck Faults

Test Compression

Built-In Self-Test

Design for Testability

(I)

Page 11: Page 1EL/CCUT T.-C. Huang Apr. 2004 TCH CCUT Introduction to IC Test Tsung-Chu Huang ( 黃宗柱 ) Department of Electronic Eng. Chong Chou Institute of Tech.

Page 11EL/CCUT T.-C. Huang Apr. 2004

TCH

CCUT

Testing for Single Stuck Faults

1. Test Generation: Random vs. Diterministic2. ATPG for SSFs in Combinational Circuits3. ATPG for SSFs in Sequential Circuits

Page 12: Page 1EL/CCUT T.-C. Huang Apr. 2004 TCH CCUT Introduction to IC Test Tsung-Chu Huang ( 黃宗柱 ) Department of Electronic Eng. Chong Chou Institute of Tech.

Page 12EL/CCUT T.-C. Huang Apr. 2004

TCH

CCUT

Test Generation: Random vs. Deterministic

Test Selection

Fault Simulation

Fault Dropping

TE enough?

Done

No

Fault Selection

Test Generation

Fault Simulation

Fault Dropping

TE enough?

Done

No

Page 13: Page 1EL/CCUT T.-C. Huang Apr. 2004 TCH CCUT Introduction to IC Test Tsung-Chu Huang ( 黃宗柱 ) Department of Electronic Eng. Chong Chou Institute of Tech.

Page 13EL/CCUT T.-C. Huang Apr. 2004

TCH

CCUT

Test Generation: Random vs. Deterministic

#patterns

Test Efficiency

0 Test set generation time

Expected time per pattern

0

Page 14: Page 1EL/CCUT T.-C. Huang Apr. 2004 TCH CCUT Introduction to IC Test Tsung-Chu Huang ( 黃宗柱 ) Department of Electronic Eng. Chong Chou Institute of Tech.

Page 14EL/CCUT T.-C. Huang Apr. 2004

TCH

CCUT

5-Value Operations

v/vf

0/0 0 0

1/1 1 0

1/0 D ↓

0/1 D ↑

Notations AND

0

1

D

D

X

0

0

0

0

0

0

0

1

D

D

X

1 D D X

0 0 00 0

D

D

X X X

0 D X

X

XD

0

OR

0

1

D

D

X

0

D

X

1

1

D

1

1 D D X

D

X X X

D X

X1

1 11 11

0 1 D D X

1 1

Page 15: Page 1EL/CCUT T.-C. Huang Apr. 2004 TCH CCUT Introduction to IC Test Tsung-Chu Huang ( 黃宗柱 ) Department of Electronic Eng. Chong Chou Institute of Tech.

Page 15EL/CCUT T.-C. Huang Apr. 2004

TCH

CCUT

Test Generation for Fanout-Free Tree1. Set all values to X

X

X

X

X

X

X

X

X

X

X

X

X

2. Justify(l, ~v)

X

X

3. Propagate(l, v/vf )

Justify for Enabling

Page 16: Page 1EL/CCUT T.-C. Huang Apr. 2004 TCH CCUT Introduction to IC Test Tsung-Chu Huang ( 黃宗柱 ) Department of Electronic Eng. Chong Chou Institute of Tech.

Page 16EL/CCUT T.-C. Huang Apr. 2004

TCH

CCUT

State 2

Decision Process in Justification

State 1

1

1 1 1

Page 17: Page 1EL/CCUT T.-C. Huang Apr. 2004 TCH CCUT Introduction to IC Test Tsung-Chu Huang ( 黃宗柱 ) Department of Electronic Eng. Chong Chou Institute of Tech.

Page 17EL/CCUT T.-C. Huang Apr. 2004

TCH

CCUT

Decision Process in Justification

0

000 001 010 011 100 101 110

State 1

Branches of Decision Tree

Page 18: Page 1EL/CCUT T.-C. Huang Apr. 2004 TCH CCUT Introduction to IC Test Tsung-Chu Huang ( 黃宗柱 ) Department of Electronic Eng. Chong Chou Institute of Tech.

Page 18EL/CCUT T.-C. Huang Apr. 2004

TCH

CCUT

Sub-Process

Backtracking in Decision Tree

A

B CB C

Conflictor

Contradiction

In typical circuits, test generation for some faults usually have more than thousands of backtracking

Page 19: Page 1EL/CCUT T.-C. Huang Apr. 2004 TCH CCUT Introduction to IC Test Tsung-Chu Huang ( 黃宗柱 ) Department of Electronic Eng. Chong Chou Institute of Tech.

Page 19EL/CCUT T.-C. Huang Apr. 2004

TCH

CCUT

Test Generation for Fanout-Free Tree1. Set all values to X

X

X

X

X

X

X

X

X

X

X

X

X

2. Justify(l, ~v)

X

X

3. Propagate(l, v/vf )

Justify for Enabling

Possible Backtracking with Fanout

If Conflict?

Backtracking

Page 20: Page 1EL/CCUT T.-C. Huang Apr. 2004 TCH CCUT Introduction to IC Test Tsung-Chu Huang ( 黃宗柱 ) Department of Electronic Eng. Chong Chou Institute of Tech.

Page 20EL/CCUT T.-C. Huang Apr. 2004

TCH

CCUT

Concept of Frontiers

J-Frontier D-Frontier

D-frontier: all gates with any D or \D on their inputs – a queue waiting for propagation.

J-frontier: all gates keeping track of unsolved

Page 21: Page 1EL/CCUT T.-C. Huang Apr. 2004 TCH CCUT Introduction to IC Test Tsung-Chu Huang ( 黃宗柱 ) Department of Electronic Eng. Chong Chou Institute of Tech.

Page 21EL/CCUT T.-C. Huang Apr. 2004

TCH

CCUT

Bonus Project 1

1. Write a set of C (or C++) programs to read the ISCAS85 benchmark.

2. Construct an internal model (data structure).3. Do functional logic simulation in the internal model.4. Add a bit for fault insertion in each gate and do serial fault

simulation.

Page 22: Page 1EL/CCUT T.-C. Huang Apr. 2004 TCH CCUT Introduction to IC Test Tsung-Chu Huang ( 黃宗柱 ) Department of Electronic Eng. Chong Chou Institute of Tech.

Page 22EL/CCUT T.-C. Huang Apr. 2004

TCH

CCUT

Bonus Project 2

1. Be familiar with a test tool in this laboratory environment, say, SynTest, Mentor or Synopsys, e.t.c.

2. Try at least 3 instances in ISCAS89 benchmark, do the full-scan test syntheses and obtain the test patterns and report the associated parameters (i.e., fault coverage, test efficiency and approximated area overhead.)