1 ee 587 soc design & test partha pande school of eecs washington state university...

22
1 EE 587 SoC Design & Test Partha Pande School of EECS Washington State University [email protected]

Upload: candice-short

Post on 17-Dec-2015

224 views

Category:

Documents


3 download

TRANSCRIPT

Page 1: 1 EE 587 SoC Design & Test Partha Pande School of EECS Washington State University pande@eecs.wsu.edu

1

EE 587SoC Design & Test

Partha PandeSchool of EECSWashington State [email protected]

Page 2: 1 EE 587 SoC Design & Test Partha Pande School of EECS Washington State University pande@eecs.wsu.edu

2

Built-In Self-TestingResponse Compaction

• Motivation and economics• Definitions• BIST response compaction (RC)• BILBO• Example• Summary

Page 3: 1 EE 587 SoC Design & Test Partha Pande School of EECS Washington State University pande@eecs.wsu.edu

3

Response Compaction

• Severe amounts of data in CUT response to LFSR patterns – example: Generate 5 million random patterns CUT has 200 outputs Leads to: 5 million x 200 = 1 billion bits response

• Uneconomical to store and check all of these responses on chip

• Responses must be compacted

Page 4: 1 EE 587 SoC Design & Test Partha Pande School of EECS Washington State University pande@eecs.wsu.edu

4

Definitions

• Aliasing – Due to information loss, signatures of good and some bad machines match

• Compaction – Drastically reduce # bits in original circuit response – lose information

• Compression – Reduce # bits in original circuit response – no information loss – fully invertible (can get back original response)

• Signature analysis – Compact good machine response into good machine signature. Actual signature generated during testing, and compared with good machine signature

• Transition Count Response Compaction – Count # transitions from 0 1 and 1 0 as a signature

Page 5: 1 EE 587 SoC Design & Test Partha Pande School of EECS Washington State University pande@eecs.wsu.edu

5

Transition Counting

Faulty machine response is shown above the good machine response

Page 6: 1 EE 587 SoC Design & Test Partha Pande School of EECS Washington State University pande@eecs.wsu.edu

6

Transition Counting Details

Transition count:

C (R) = (ri ri-1) for all m primary outputs

To maximize fault coverage: Make C (R0) – good machine transition count – as

large or as small as possible

i = 1

m

Page 7: 1 EE 587 SoC Design & Test Partha Pande School of EECS Washington State University pande@eecs.wsu.edu

7

Obtain a response sequence R for a given order of test vectors from a gold CUT or a simulator. Use a compaction function C to produce a vector or a set of vectors C(R). the number of bits in C(R) to be far fewer than the number in R. Store the compacted vectors on chip or off chip, and, during BIST, use the compaction function C to, compact the CUT’s actual responses R* to provide C(R* ). Finally, to determine the CUT’S status (fault-free or faulty), we compare C(R) and C(R *). We declare the CUT fault-free if these two values are identical.

Response CompactionResponse Compaction

Page 8: 1 EE 587 SoC Design & Test Partha Pande School of EECS Washington State University pande@eecs.wsu.edu

8

LFSR for Response Compaction

• Use cyclic redundancy check code (CRCC) generator (LFSR) for response compacter

• Treat data bits from circuit POs to be compacted as a decreasing order coefficient polynomial

• CRCC divides the PO polynomial by its characteristic polynomial Leaves remainder of division in LFSR Must initialize LFSR to seed value (usually 0) before testing

• After testing – compare signature in LFSR to known good machine signature

• Critical: Must compute good machine signature

Page 9: 1 EE 587 SoC Design & Test Partha Pande School of EECS Washington State University pande@eecs.wsu.edu

9

Example Modular LFSR Response Compacter

Page 10: 1 EE 587 SoC Design & Test Partha Pande School of EECS Washington State University pande@eecs.wsu.edu

10

Polynomial Division

• An LFSR modified to accept an external input, acts as a polynomial divider.

• It divides the input sequence, represented by a polynomial, by the characteristic polynomial g (x) of the LFSR.

• As this division proceeds bit by bit, the quotient sequence appears at he output of the LFSR and the remainder appears in the LFSR with every shift of the input sequence into the LFSR.

Page 11: 1 EE 587 SoC Design & Test Partha Pande School of EECS Washington State University pande@eecs.wsu.edu

11

Polynomial Division

Logic simulation: Remainder = 1 + x2 + x3

0 1 0 1 0 0 0 1

0 x0 + 1 x1 + 0 x2 + 1 x3 + 0 x4 + 0 x5 + 0 x6 + 1 x7

InputsInitial State

10001010

X0

010001111

X1

001000010

X2

000100001

X3

000010101

X4

000001010

. .......

LogicSimulation:

Page 12: 1 EE 587 SoC Design & Test Partha Pande School of EECS Washington State University pande@eecs.wsu.edu

12

Symbolic Polynomial Division

x2

x7

x7

+ 1

+ x5

x5

x5

+ x3

+ x3

+ x3

x3

+ x2

+ x2

+ x2

+ x

+ x

+ x + 1

+ 1

x5 + x3 + x + 1

remainder

Remainder matches that from logic simulationof the response compacter!

Page 13: 1 EE 587 SoC Design & Test Partha Pande School of EECS Washington State University pande@eecs.wsu.edu

13

Multiple-Input Signature Register (MISR)

• Problem with ordinary LFSR response compacter: Too much hardware if one of these is put on each primary

output (PO)• Solution: MISR – compacts all outputs into one LFSR

Works because LFSR is linear – obeys superposition principle Superimpose all responses in one LFSR – final remainder is

XOR sum of remainders of polynomial divisions of each PO by the characteristic polynomial

Page 14: 1 EE 587 SoC Design & Test Partha Pande School of EECS Washington State University pande@eecs.wsu.edu

14

MISR Matrix Equation

• di (t) – output response on POi at time t

X0 (t + 1)

X1 (t + 1)...

Xn-3 (t + 1)

Xn-2 (t + 1)

Xn-1 (t + 1)

10...00

h1

00...001

……

………

00...10

hn-2

00...01

hn-1

X0 (t)

X1 (t)...

Xn-3 (t)

Xn-2 (t)

Xn-1 (t)

=

d0 (t)

d1 (t)...

dn-3 (t)

dn-2 (t)

dn-1 (t)

+

Page 15: 1 EE 587 SoC Design & Test Partha Pande School of EECS Washington State University pande@eecs.wsu.edu

15

Modular MISR Example

X0 (t + 1)

X1 (t + 1)

X2 (t + 1)

001

010

110

=X0 (t)

X1 (t)

X2 (t)

d0 (t)

d1 (t)

d2 (t)

+

Page 16: 1 EE 587 SoC Design & Test Partha Pande School of EECS Washington State University pande@eecs.wsu.edu

16

Built-in Logic Block Observer (BILBO)

• Combined functionality of D flip-flop, pattern generator, response compacter, & scan chain

Reset all FFs to 0 by scanning in zeros

Page 17: 1 EE 587 SoC Design & Test Partha Pande School of EECS Washington State University pande@eecs.wsu.edu

17

Example BILBO Usage

• SI – Scan In

• SO – Scan Out

• Characteristic polynomial: 1 + x + … + xn

• CUTs A and C: BILBO1 is MISR, BILBO2 is LFSR

• CUT B: BILBO1 is LFSR, BILBO2 is MISR

Page 18: 1 EE 587 SoC Design & Test Partha Pande School of EECS Washington State University pande@eecs.wsu.edu

18

BILBO Serial Scan Mode

• B1 B2 = “00”

• Dark lines show enabled data paths

Page 19: 1 EE 587 SoC Design & Test Partha Pande School of EECS Washington State University pande@eecs.wsu.edu

19

BILBO LFSR Pattern Generator Mode

• B1 B2 = “01”

Page 20: 1 EE 587 SoC Design & Test Partha Pande School of EECS Washington State University pande@eecs.wsu.edu

20

BILBO in D FF (Normal) Mode

• B1 B2 = “10”

Page 21: 1 EE 587 SoC Design & Test Partha Pande School of EECS Washington State University pande@eecs.wsu.edu

21

BILBO in MISR Mode

• B1 B2 = “11”

Page 22: 1 EE 587 SoC Design & Test Partha Pande School of EECS Washington State University pande@eecs.wsu.edu

22

Summary

• LFSR pattern generator and MISR response compacter – preferred BIST methods

• BIST has overheads: test controller, extra circuit delay, Input MUX, pattern generator, response compacter, DFT to initialize circuit & test the test hardware

• BIST benefits: Drastic ATE cost reduction Field test capability Faster diagnosis during system test Less effort to design testing process Shorter test application times