Top Banner
Introduction to Design for Testability Mikael Olausson & Daniel Wiklund Electronic Devices, IFM
31

Introduction to Design for Testability - ida.liu.sezebpe83/teaching/test/lec6.pdf · Introduction to Design for Testability Mikael Olausson & Daniel Wiklund Electronic Devices, IFM

Sep 08, 2018

Download

Documents

hoangnhu
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: Introduction to Design for Testability - ida.liu.sezebpe83/teaching/test/lec6.pdf · Introduction to Design for Testability Mikael Olausson & Daniel Wiklund Electronic Devices, IFM

Introduction to Design forTestability

Mikael Olausson & Daniel Wiklund

Electronic Devices, IFM

Page 2: Introduction to Design for Testability - ida.liu.sezebpe83/teaching/test/lec6.pdf · Introduction to Design for Testability Mikael Olausson & Daniel Wiklund Electronic Devices, IFM

Outline

• Introduction

• DFT techniques

• Scan types

• Scan cells

• Scan designs

• Conclusions

Page 3: Introduction to Design for Testability - ida.liu.sezebpe83/teaching/test/lec6.pdf · Introduction to Design for Testability Mikael Olausson & Daniel Wiklund Electronic Devices, IFM

Introduction

• Costs of test?– Test pattern generation

– Fault simulation

– Time in ATE

– ...

• Lower cost by increasing testability!

Page 4: Introduction to Design for Testability - ida.liu.sezebpe83/teaching/test/lec6.pdf · Introduction to Design for Testability Mikael Olausson & Daniel Wiklund Electronic Devices, IFM

Testability

• Abstract measure of costs in testing

• Major factors in test generation cost– Controllability

– Observability

– Predictability

Page 5: Introduction to Design for Testability - ida.liu.sezebpe83/teaching/test/lec6.pdf · Introduction to Design for Testability Mikael Olausson & Daniel Wiklund Electronic Devices, IFM

General observations

• Sequential vs. combinational

• Control logic vs. data path logic

• Random logic vs. structured logic

• Asynchronous vs. synchronous

Page 6: Introduction to Design for Testability - ida.liu.sezebpe83/teaching/test/lec6.pdf · Introduction to Design for Testability Mikael Olausson & Daniel Wiklund Electronic Devices, IFM

Improving testability

• Two methods to improve testability– Redesign and/or resynthesis

– Additional hardware

• Test complexity vs. chip complexity

• Importance of local tests

• Testability of nodes

Page 7: Introduction to Design for Testability - ida.liu.sezebpe83/teaching/test/lec6.pdf · Introduction to Design for Testability Mikael Olausson & Daniel Wiklund Electronic Devices, IFM

• To what extent should we use DFT?– Area aspects?

– Time aspects?

– Fault coverage?

• How to test asynchronous circuits and howto make it easier?

Discussion

Page 8: Introduction to Design for Testability - ida.liu.sezebpe83/teaching/test/lec6.pdf · Introduction to Design for Testability Mikael Olausson & Daniel Wiklund Electronic Devices, IFM

Outline

• Introduction

• DFT techniques• Scan types

• Scan cells

• Scan designs

• Conclusions

Page 9: Introduction to Design for Testability - ida.liu.sezebpe83/teaching/test/lec6.pdf · Introduction to Design for Testability Mikael Olausson & Daniel Wiklund Electronic Devices, IFM

Ad hoc DFT

• Test points

• Initialization of sequential circuits

• One-shots, clocks, and oscillators

• Counters and shift registers

• Partitioning

• Redundancy

• Global feedback paths

Page 10: Introduction to Design for Testability - ida.liu.sezebpe83/teaching/test/lec6.pdf · Introduction to Design for Testability Mikael Olausson & Daniel Wiklund Electronic Devices, IFM

Discussion

• Drawbacks with these rules?

• More ad hoc rules for DFT?

• How about tri-state signals?

Page 11: Introduction to Design for Testability - ida.liu.sezebpe83/teaching/test/lec6.pdf · Introduction to Design for Testability Mikael Olausson & Daniel Wiklund Electronic Devices, IFM

Outline

• Introduction

• DFT techniques

• Scan types• Scan cells

• Scan designs

• Conclusions

Page 12: Introduction to Design for Testability - ida.liu.sezebpe83/teaching/test/lec6.pdf · Introduction to Design for Testability Mikael Olausson & Daniel Wiklund Electronic Devices, IFM

Scan types

• Simultaneous C/O

• Separate C/O

• Observability only

• Controllability only

C1 C2Mux

T

Page 13: Introduction to Design for Testability - ida.liu.sezebpe83/teaching/test/lec6.pdf · Introduction to Design for Testability Mikael Olausson & Daniel Wiklund Electronic Devices, IFM

Boundary scan

• Isolation of modules or chips

• Provide scan on I/O connections

• Standardized for chips– IEEE 1149.1 (JTAG)

Page 14: Introduction to Design for Testability - ida.liu.sezebpe83/teaching/test/lec6.pdf · Introduction to Design for Testability Mikael Olausson & Daniel Wiklund Electronic Devices, IFM

Scan-based designs

• Integrated serial scan

• Isolated serial scan

• Nonserial scan

Page 15: Introduction to Design for Testability - ida.liu.sezebpe83/teaching/test/lec6.pdf · Introduction to Design for Testability Mikael Olausson & Daniel Wiklund Electronic Devices, IFM

Question and discussion

• What is the difference between integratedand isolated scan?

• In what situations would nonserial scan beuseful?

Page 16: Introduction to Design for Testability - ida.liu.sezebpe83/teaching/test/lec6.pdf · Introduction to Design for Testability Mikael Olausson & Daniel Wiklund Electronic Devices, IFM

Outline

• Introduction

• DFT techniques

• Scan types

• Scan cells• Scan designs

• Conclusions

Page 17: Introduction to Design for Testability - ida.liu.sezebpe83/teaching/test/lec6.pdf · Introduction to Design for Testability Mikael Olausson & Daniel Wiklund Electronic Devices, IFM

Scan cells

• Memory type– Single or double latch

– Flip-flop

• Clocking– Single clock

– Multiple non-overlapping clocks

L1 L2

DSi

Clk

Q1

Q2

T

L1 L2

DSi

Clk1

Q1

Q2

T

Clk2

Page 18: Introduction to Design for Testability - ida.liu.sezebpe83/teaching/test/lec6.pdf · Introduction to Design for Testability Mikael Olausson & Daniel Wiklund Electronic Devices, IFM

Scan cell

• Shift operation– Separate shift clock

– Shift enable using system clock

• Random access– Polarity hold addressable latch

Page 19: Introduction to Design for Testability - ida.liu.sezebpe83/teaching/test/lec6.pdf · Introduction to Design for Testability Mikael Olausson & Daniel Wiklund Electronic Devices, IFM

Delay test cell

• Brakel et al 1992. U of Twente, NL

• Extended cell for at-speed testing– Scan path independent of system output

– Sense amplifier for hazard detection

• Modification for LSSD designs

• Large transistor overhead

Page 20: Introduction to Design for Testability - ida.liu.sezebpe83/teaching/test/lec6.pdf · Introduction to Design for Testability Mikael Olausson & Daniel Wiklund Electronic Devices, IFM

Cell structure

SA

L

L

L

sel

sel

sel

sel

sysin

scaninsysout

scanout

en´

rst

0

1

0

1

Page 21: Introduction to Design for Testability - ida.liu.sezebpe83/teaching/test/lec6.pdf · Introduction to Design for Testability Mikael Olausson & Daniel Wiklund Electronic Devices, IFM

Discussion

• Cell for nonserial scan in CMOS?

• Is it worth the overhead to be able to do at-speed testing?

Page 22: Introduction to Design for Testability - ida.liu.sezebpe83/teaching/test/lec6.pdf · Introduction to Design for Testability Mikael Olausson & Daniel Wiklund Electronic Devices, IFM

Outline

• Introduction

• DFT techniques

• Scan types

• Scan cells

• Scan designs• Conclusions

Page 23: Introduction to Design for Testability - ida.liu.sezebpe83/teaching/test/lec6.pdf · Introduction to Design for Testability Mikael Olausson & Daniel Wiklund Electronic Devices, IFM

Scan designs

• Scan path (1968)

• Shift register modification (1973)

• Scan/set (1977)

• Random-access scan (1980)

• Level sensitive scan design (LSSD, 1977)

• Virtual scan chains (2000)

Page 24: Introduction to Design for Testability - ida.liu.sezebpe83/teaching/test/lec6.pdf · Introduction to Design for Testability Mikael Olausson & Daniel Wiklund Electronic Devices, IFM

LSSD

• Full serial integrated scan architecture

• Three styles– Single latch

– Double latch design

– L2* single latch design

• Low gate overhead

• Commonly used today

Page 25: Introduction to Design for Testability - ida.liu.sezebpe83/teaching/test/lec6.pdf · Introduction to Design for Testability Mikael Olausson & Daniel Wiklund Electronic Devices, IFM

Virtual scan chains (VSC)

• Jas et al 2000. U of Texas / Motorola.

• Reduce the length of vectors– Combination of Scan and BIST

– No pin overhead, small area overhead

– Same external test method

• Hides internals for integrator

Page 26: Introduction to Design for Testability - ida.liu.sezebpe83/teaching/test/lec6.pdf · Introduction to Design for Testability Mikael Olausson & Daniel Wiklund Electronic Devices, IFM

VSC concept

Core

Scan chainSi So

Sclk

LFSR LFSRSC

Sel

MUX

MUX

MIS

R

Scan chain

Scan chain

Page 27: Introduction to Design for Testability - ida.liu.sezebpe83/teaching/test/lec6.pdf · Introduction to Design for Testability Mikael Olausson & Daniel Wiklund Electronic Devices, IFM

VSC

• Test cycles reduction– ISCAS 89 benchmarks

– Up to 70% with same ATPG

– Up to 50% using Compactest for normal scan

• Drawbacks– May get less coverage due to aliasing in MISR

– More complex than normal scan

Page 28: Introduction to Design for Testability - ida.liu.sezebpe83/teaching/test/lec6.pdf · Introduction to Design for Testability Mikael Olausson & Daniel Wiklund Electronic Devices, IFM

Outline

• Introduction

• DFT techniques

• Scan types

• Scan cells

• Scan designs

• Conclusions

Page 29: Introduction to Design for Testability - ida.liu.sezebpe83/teaching/test/lec6.pdf · Introduction to Design for Testability Mikael Olausson & Daniel Wiklund Electronic Devices, IFM

Conclusions

• Trade-off between pros and cons

• No formal rules - ad hoc method

• Internal scan for logic test

• Boundary scan for test of interconnects

• Scan is useful for at-speed test

• Techniques such as VSC can substantiallyreduce the test data

Page 30: Introduction to Design for Testability - ida.liu.sezebpe83/teaching/test/lec6.pdf · Introduction to Design for Testability Mikael Olausson & Daniel Wiklund Electronic Devices, IFM

Questions?

Page 31: Introduction to Design for Testability - ida.liu.sezebpe83/teaching/test/lec6.pdf · Introduction to Design for Testability Mikael Olausson & Daniel Wiklund Electronic Devices, IFM

References

• Brakel, Xing, and Kerkhoff. ”Scan cell design for enhanced delay faulttestability”. Proc of the fifth annual IEEE int’l ASIC conference andexhibition. IEEE 1992.

• Jas, Pouya, and Touba. ”Virtual scan chains: A means for reducingscan length in cores”. Proc of the 18th IEEE VLSI test symposium.IEEE 2000.