CWWU Memory Testing
CWWU Memory Testing
Memories
Cheng-Wen Wu
Lab for Reliable Computing
Dept. Electrical Engineering
National Tsing Hua University
Outline
Introduction
RAM functional fault models and test
algorithms
RAM fault-coverage analysis
Cocktail-March for testing word-oriented
memories
Testing multi-port RAMs
Testing CAMs
Testing flash memories
mbist1.10
Cheng-Wen Wu, NT
Introduction
Memory testing is a more and more important issue
mbist1.10
Cheng-Wen Wu, NT
Marking
Final Test
mbist1.10
Laser Repair
Post-BI Test
Burn-In (BI)
Visual Inspection
QA Sample Test
Cheng-Wen Wu, NT
Packaging
Pre-BI Test
Shipping
Long-cycle testing
Burn-in: static & dynamic BI
Functional Test
Device characterization
Failure analysis
Fault modeling
Simple but effective (accurate & realistic?)
Test algorithm generation
Small number of test patterns (data backgrounds)
High fault coverage
Short test time
mbist1.10
Cheng-Wen Wu, NT
RAM Models
Behavior Level
Verilog/VHDL
Function Level
Verilog/VHDL/Block diagram
Normally not synthesizable
Circuit Level
Spice/Schematic
Layout Level
GDS-II/Geometry
Cheng-Wen Wu, NT
mbist1.10
Cheng-Wen Wu, NT
mbist1.10
Cheng-Wen Wu, NT
mbist1.10
Cheng-Wen Wu, NT
N
W BC E
S
mbist1.10
Cheng-Wen Wu, NT
10
(e.g., GALROW/GALCOL)
mbist1.10
Cheng-Wen Wu, NT
11
Leakage Fault
SRAM
Leakage Fault
mbist1.10
Cheng-Wen Wu, NT
12
10N
NlogN
1M
0.01s
0.1s
16M
0.16s
64M
1.5
0.2s
11s
3h
1.6s
3.9s
11m
33d
0.66s
6.6s
17s
1.5h
1.43y
256M
2.62s
26s
1.23m
12h
23y
1G
10.5s
1.8m
5.3m
4d
366y
4G
42s
7m
22.4m
32d
57c
16G
2.8m
28m
1.6h
255d
915c
mbist1.10
Cheng-Wen Wu, NT
13
mbist1.10
Cheng-Wen Wu, NT
14
mbist1.10
Cheng-Wen Wu, NT
15
1 0 1
0 1 0
1 0 1
mbist1.10
Cheng-Wen Wu, NT
16
1. Write background 0;
2. For BC = 0 to N-1
{ Complement BC;
For OC = 0 to N-1, OC != BC;
BC
Cheng-Wen Wu, NT
17
1
1
1
1
1
mbist1.10
Cheng-Wen Wu, NT
18
Complexity is 5NlogN
1. Write background 0;
2. For BC = 0 to N-1
{ Complement BC; dist = 1;
While dist <= mdist /* mdist < 0.5 col/row length
*/
6
{ Read cell @ dist north from BC;
1
Read cell @ dist east from BC;
9
4
5,10
Read cell @ dist south from BC;
3
Read cell @ dist west from BC;
Read BC; dist *= 2; }
8
Complement BC; }
3. Write background 1; repeat Step 2;
mbist1.10
Cheng-Wen Wu, NT
19
{ ( w0); ( r 0, w1, r1); ( r1, w0, r 0); ( r 0, w1, r1); ( r1, w0, r 0)}
Parametric (12NlogN): for Read access time
mbist1.10
Cheng-Wen Wu, NT
20
mbist1.10
Cheng-Wen Wu, NT
1
0
21
mbist1.10
Cheng-Wen Wu, NT
22
March Tests
Zero-One (MSCAN) { ( w0); ( r 0); ( w1); ( r1)}
Modified Algorithmic Test Sequence (MATS)
Thatte & Abraham 1979]
[Nair,
Cheng-Wen Wu, NT
23
March Tests
Marching 1/0 [Breuer & Friedman 1976]
For AF, SAF, and TF
mbist1.10
Cheng-Wen Wu, NT
24
March Tests
March X
Cheng-Wen Wu, NT
25
March Tests
Limitations
Solutions
mbist1.10
Cheng-Wen Wu, NT
26
mbist1.10
Cheng-Wen Wu, NT
27
00001111
complexity is 4*6N/8=3N
mbist1.10
Cheng-Wen Wu, NT
28
Cocktail-March Algorithms
Motivation:
Repeating the same algorithm for all logm+1
Approach:
Use multiple backgrounds in a single algorithm run
Merge and forge different algorithms and
Cheng-Wen Wu, NT
29
March-CW
Algorithm:
Result:
mbist1.10
Cheng-Wen Wu, NT
30
mbist1.10
Cheng-Wen Wu, NT
31
Testing NPSF
NPSF test approaches
Tiling
Multi-background march
Easy BIST implementation
5-cell neighborhood
B
E
S
N
W
B
S
Base cell: B
Deleted neighborhood cells: N, E, W, S
Neighborhood cells: and
mbist1.10
N
B
N, E, W, S
Cheng-Wen Wu, NT
32
NPSF Models
Static NPSF (SNPSF)
BC forced to a certain state due to a certain deleted
Assumptions:
Single NPSF
Address scramble table is available
Memory is bit-oriented
Word-oriented memory is tested as multiple bit-oriented ones
mbist1.10
Cheng-Wen Wu, NT
33
Test Strategy
Multi-Background March
To generate all neighborhood patterns
Solid BG
(FC < 30%)
Another BG
0 0 0
0 0 0
0 0 0
0 0 0
0 X 0
0 0 0
0 0 0
0 X 1
1 1 1
1 1 1
1 X 0
0 0 0
1 1 1
1 X 1
1 1 1
1 0 1
1 0 1
1 0 1
1 0 1
1 X 1
1 0 1
0 1 0
0 X 0
0 1 0
0 1 0
0 X 1
1 0 1
1 0 1
1 X 0
0 1 0
mbist1.10
Cheng-Wen Wu, NT
34
Testing PNPSF
March 17N:
( wa);
( wb, ra, wa);
( rb, wa);
(ra, wb);
( ra, ); wb
(rb, wa);
Alg1:
March Elements
(w0);
(w1, r1, w0);
(r0);
NWBES
00
00
Alg2:
(w1);
(r1);
11
11
Alg3:
Alg4:
(w0);
(w1);
(w1);
(w0);
(r1);
(r0);
11
11
00
00
Alg5:
(w0);
(w1);
(r1);
00
11
Alg6:
(w1);
(w0);
(r0);
00
11
mbist1.10
Cheng-Wen Wu, NT
35
00
01
10
11
00 01 10 11
0 0
0 0
0 0
0 0
BG.1
0
0
0
0
0
0
0
0
mbist1.10
00
01
10
11
00 01 10 11
0 0
1 1
0 0
1 1
BG.2
0
1
0
1
0
1
0
1
00
01
10
11
00 01 10 11
0 0
0 0
1 1
1 1
BG.3
Cheng-Wen Wu, NT
0
0
1
1
0
0
1
1
00
01
10
11
00 01 10 11
0 0
1 1
1 1
0 0
BG.4
0
1
1
0
0
1
1
0
36
Testing ANPSF
(w0) ;
(w1) ;
(w0) ;
( r0,w1,w0) ;
(r0)
( r1,w0,w1) ;
( r0,w1) ;
(r1)
( r1,w0) ;
(r0)
0 0 0
0
0
0 0
0
0
0 0 0
0
0 0
0
1 1 1
1
1
1 1
1
1
1 1 1
1
1 1
1
0
1 1
1
0
0 0
1
1
0 0
0
1
1 1
0
March 12N:
(wa);
(rb, wa);
mbist1.10
(ra, wb);
(ra)
Cheng-Wen Wu, NT
37
Time Complexity
00
01
10
11
00
01
10
11
00 01 10 11
0 0
0 0
0 0
0 0
0
0
0
0
0
0
0
0
00
01
10
11
00 01 10 11
0 1
1 0
0 1
1 0
0
1
0
1
1
0
1
0
00
01
10
11
00 01 10 11
0 0
1 1
0 0
1 1
0
1
0
1
0
1
0
1
00
01
10
11
00 01 10 11
0 1
0 1
0 1
0 1
BG.1
BG.2
BG.3
BG.4
00 01 10 11
0 0
0 0
0 0
0 0
00 01 10 11
0 0
1 1
0 0
1 1
00 01 10 11
0 1
0 1
0 1
0 1
00 01 10 11
0 1
1 0
0 1
1 0
1
1
1
1
1
1
1
1
BG.5
00
01
10
11
1
0
1
0
1
0
1
0
BG.6
00
01
10
11
BG.7
1
1
1
1
0
0
0
0
00
01
10
11
0
0
0
0
1
1
1
1
1
0
1
0
0
1
0
1
BG.8
12 N/BG X 8 BG = 96N
Detects all NPSFs
mbist1.10
Cheng-Wen Wu, NT
38
Multi-Port Memories
Popular architectures
k-port (k > 1)
n-read-1-write
FIFO
Port A
Address A
Data A
Control A
Storage
Address B
Port B
Data B
Control B
mbist1.10
Cheng-Wen Wu, NT
39
2-Port Topology
BL
WL
BL
Interport WL short
WL A
WL
WL
BL
BL
WL
WL
WL
WL
Interport BL short
A
BL
mbist1.10
BL
BL
BL
Cheng-Wen Wu, NT
40
Port A
Port B
Address 1
Address 2
Faulty
Cell 1
Address 1
Cell 1
Address 2
Cell 2
Address 3
Cell 3
Cell 2
mbist1.10
Cheng-Wen Wu, NT
41
Port B
Address
Address
Faulty
Cell
Cell
Address
Cell
Address
Cell
Address
Cell
Address
Cell
mbist1.10
Cheng-Wen Wu, NT
42
Address Scrambling
Logical Addr
Physical Addr
row
column
Address A
bit3
bit2
bit1
bit0
Data word A
3
mbist1.10
Cheng-Wen Wu, NT
43
N
W
B
S
mbist1.10
0/1
0/1
1/0
Cheng-Wen Wu, NT
44
TAGS-PS
March Test
Section 1
Port 1
Section 2
Multi-port
AF Test
Single-port
Test Algorithm
Section 3
Inter-port
Test
Port 2
Port m
(a)
Port 1
Single-port
Test Algorithm
Port 2
Multi-port
AF Test
Inter-port
MPF Test
Port m
(b)
mbist1.10
Cheng-Wen Wu, NT
45
Port 2
r0 w
- -
Section 1
r1w 0 r0 w 1r1 r1w 0r0
r0
r0 w
- -
- - -
- - -
Section 2
r1w 0
- -
- -
- -
r0 w
Section 2
r1w 0
- -
- -
r0 w
Section 3
r0 w 1 r1w
- 1
r1w
r 1r
N
r 0r
N
(a)
Port 1
Port 2
r0 w
r 1r
N
1
S
Section 1
r1w 0 r0 w 1r1 r1w 0r0
r0
r0 w
r 0r
- -
- - -
- - -
- 1
r1w
Section 3
(b)
mbist1.10
Cheng-Wen Wu, NT
46
0
S
Port 2
r0 w
r 1r
N
1
S
Section 1
r1w 0
- - r
r 0r
r0 w
- - r
r1w
Section 2
(c)
Port 1
Port 2
r0 w
r 1r
N
1
S
r1w
r 0r
N
0
S
- r0 w
- 1
Cheng-Wen Wu, NT
r1w
r
0
(d)
47
Port 2
r N1 r S0
r N0 r
r0 w
Port 3
r N1 r S0
r N0 r
r S1 r N 0
r S0 r N1 r 0 w
Port 4
r N1 r S0
r N0 r
r S1 r N 0
r S0 r N1 r N1 r S0
r0 w
r 1w
- -
- 1
r 1w
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
r 1w
r N 0 r S1 r 0 w
r 1w
Inter-port Test
mbist1.10
Cheng-Wen Wu, NT
48
M1
Port 1
Port 2
Port 3
Port 4
Port 5
Port 6
Port 7
M2
M3
w
r N0 r
r N0 r
0
N
mbist1.10
M4
w
M5
r N0
r N0 -
r N0
r N0 -
r N0
r N0 -
r N0
r N0 -
r N0
r N0
0
S
Cheng-Wen Wu, NT
M6
w
49
Cheng-Wen Wu, NT
50
Floating gate
Drain
Source
n+
n+
P-Si
mbist1.10
Cheng-Wen Wu, NT
D
G
S
51
Program(1 to 0): channel hot-electron (CHE) injection or FowlerNordheim (FN) electron tunneling
Erase (0 to 1): FN electron tunneling
By the entire chip or large blocks (flash erasure)
Different products have different program/erase mechanisms
Program
mbist1.10
Erase
Cheng-Wen Wu, NT
52
Split-gate
Select-gate
mbist1.10
Cheng-Wen Wu, NT
53
Channel FN Tunneling
Faster program
Slower program
operation (byte program operation (improved by
limited by power)
page program)
mbist1.10
Cheng-Wen Wu, NT
54
NOR-Array Structure
mbist1.10
Cheng-Wen Wu, NT
55
NAND-Array Structure
Select (drain)
WL 1
WL 2
WL 3
WL 4
WL 16
Select (source)
BL i
mbist1.10
Cheng-Wen Wu, NT
56
SL
WL0
BL1
BL2
SL
BL3
0V
0V
6V
Drain-Disturb on "Programmed Cell"
10V
10V
WL1
0V
0V
6V
Programming
10V
0V
0V
Gate-Disturb on "Erased Cell"
WL2
mbist1.10
Cheng-Wen Wu, NT
57
SL
BL1
BL2
SL
BL3
WL0
WL1
5V
0V
1V
Soft-Program on "Selected Cell"
WL2
mbist1.10
Cheng-Wen Wu, NT
58
BL0
SSL
BL1
3.3V
3.3V
3.3V
BL2
0V
10V
2.8V
WL 1
0V
18V
18V
Program '1'
Program '0'
2.8V
WL 2
GSL
mbist1.10
10V
0V
10V
2.8V
0V
Gate-Disturb on "Programmed Cell"
0V
0V
Cheng-Wen Wu, NT
59
BL1
Erase Disturbance
BL2
0.7V
5V
5V
BL0
SSL
5V
WL0
5V
5V
WL 0
21V
0V
21V
0V
21V
WL1
0V
0V
WL 1
21V
0V
21V
0V
21V
WL 2
21V
0V
21V
0V
21V
Vth=+2V
Floating
Floating
Vth=-3V
WL2
5V
5V
GSL
5V
5V
mbist1.10
SSL
BL2
BL1
soft-program
GSL
Cheng-Wen Wu, NT
Floating
Floating
60
Control Gate
Floating Gate
Source
D
Drain
Victim 10 (program)
V(L)
V(H)
V(H)
Substrate
V(L)
V(Gd)
mbist1.10
Cheng-Wen Wu, NT
61
Control Gate
Floating Gate
Source
Victim 01 (erase)
V(L)
Drain
V(H)
V(H)
Substrate
V(L)
B
V(Gd)
mbist1.10
Cheng-Wen Wu, NT
62
V(H)
V(L)
mbist1.10
Cheng-Wen Wu, NT
V(Gd)
63
2.Aggressor 10 (program)
Victim 01 (erase)
Control Gate
Floating Gate
Source
V(L)
Drain
V(H)
V(H)
Substrate
V(L)
B
V(Gd)
mbist1.10
Cheng-Wen Wu, NT
64
Control Gate
Floating Gate
Source
D
Drain
Substrate
mbist1.10
Soft-Program
During the read operation,
hot carriers can be injected
from the channel into the FG
even if at low gate voltages
Cheng-Wen Wu, NT
65
Cheng-Wen Wu, NT
66
mbist1.10
Cheng-Wen Wu, NT
67
Reliability Consideration
Reliability characteristics of floating-gate
ICs depend on
Circuit density, circuit design, and process
integrity
Memory array type and cell structure
Cheng-Wen Wu, NT
68
mbist1.10
Cheng-Wen Wu, NT
69
program/erase cycles
Built-in stress test circuit
mbist1.10
Cheng-Wen Wu, NT
70
Endurance test
The endurance test is the repeated data
mbist1.10
Cheng-Wen Wu, NT
71
Mass program
Weak erase
Leak (thin-oxide, bit-line, etc.)
Cell current; cell Vt
Margin
Etc.
mbist1.10
Cheng-Wen Wu, NT
72
Test Patterns
A RAM test pattern definition includes both the
data pattern and the address pattern
The time to read a pattern is the same as the time
to write a pattern
mbist1.10
Cheng-Wen Wu, NT
73
Testing GPDF
Flash
Program the first column
Read all cells except the first column
Flash
Program any column except the first
Read the first column
*Assume reading and programming are done column-wise
Source: Saluja, et al., Int. Conf. VLSI Design, 2000
mbist1.10
Cheng-Wen Wu, NT
74
Testing GEDF
Flash
Program all cells
Read all cells except the last column
Program any column except the last
Read the last column
*Assume reading and programming are done column-wise
Source: Saluja, et al., Int. Conf. VLSI Design, 2000
mbist1.10
Cheng-Wen Wu, NT
75
DCP
DCE
DD
EF
GF
SAF
50%
50%
50%
100%
100%
TF
12.5%
50%
50%
87.5%
62.5%
AF
40%
0%
0%
44.5%
40%
SOF
0%
0%
0%
12.5%
6.2%
CFst
25%
25%
25%
50%
50%
GPDF
33.3%
0%
0%
100%
33.3%
GEDF
0%
100%
75%
100%
100%
DEDF
0%
75%
100%
100%
100%
DPDF
0%
0%
0%
0%
0%
mbist1.10
Cheng-Wen Wu, NT
76
P.S.
TF : 100%
(131072 / 131072)
SOF : 100%
(65536 / 65536)
AF : 100%
(4294901760 / 4294901760)
CFst : 100%
(17179607040 / 17179607040)
GPD : 100%
(16711680 / 16711680)
Word Length = 1
GED : 100%
(16711680 / 16711680)
DPD : 100%
(16711680 / 16711680)
DED : 100%
(16711680 / 16711680)
RD : 100%
(65536 / 65536)
OE : 100%
(65536 / 65536)
mbist1.10
Cheng-Wen Wu, NT
77
F : Flash time
P : Program time
R : Read time
r : row number
c : column number
mbist1.10
EF
2(F) + (rc+2r+c-2)(P) +
(2rc+r+c-3)(R)
GF
2(F) + (rc+2r+c-1)(P) +
(2rc+c+r-2)(R)
FT
Cheng-Wen Wu, NT
78
2(F)+2rc(P)+6rc(R)+log(w)[2(F)+rc(P)+rc(R)]
solid background
standard background
testing time
testing time
mbist1.10
Cheng-Wen Wu, NT
79
4N
5N
6N
7N
8N
9N
10N
mbist1.10
Cheng-Wen Wu, NT
80
Cheng-Wen Wu, NT
81
mbist1.10
Cheng-Wen Wu, NT
82
Processor-based BIST
Programmable
Hardwired BIST
Fast
Compact
Interface
mbist1.10
Cheng-Wen Wu, NT
83
Pattern
Generator
Go/No-Go
RAM
Comparator
BIST Module
RAM Controller
mbist1.10
Cheng-Wen Wu, NT
84
Serial interface
One-bit read/write at a
time, but one pattern
Addr
per cycle
Slow
No diagnostics
SI
X Decoder
Y Decoder
SO
mbist1.10
Cheng-Wen Wu, NT
85
Syntest MBIST
Algorithms:
March C MOVI
March C++
Checkerboard
FSM
CE
OE
WEB
ADR Control
Data Generator
Analyzer
Finish
Source: Syntest
mbist1.10
Cheng-Wen Wu, NT
86
mbist1.10
Cheng-Wen Wu, NT
87
mbist1.10
Cheng-Wen Wu, NT
88
mbist1.10
Cheng-Wen Wu, NT
89
PMBIST Architecture
mbist1.10
Cheng-Wen Wu, NT
90
Microprogram
Hardwired
mbist1.10
Cheng-Wen Wu, NT
91
Controller
mbist1.10
Cheng-Wen Wu, NT
92
Sequencer
BIST
Controller
Combination Logic #0
Combination Logic #1
Row Address Counter
Column Address
Counter
Control Counter
State
eDRAM
eDRAM
control
signal
Flags
MCK
MCK
Comparator
mbist1.10
Cheng-Wen Wu, NT
93
etc.)
3.Data retention faults
3. RAM-Diagnosis Mode
4. RAM-BI Mode
mbist1.10
Cheng-Wen Wu, NT
94
mbist1.10
Cheng-Wen Wu, NT
95
mbist1.10
Cheng-Wen Wu, NT
96
Overhead
Mem size
0.3%
mbist1.10
Cheng-Wen Wu, NT
97
Processor
mbist1.10
Cheng-Wen Wu, NT
98
DATAI
bus
DATAO
bus
Control
bus
BOOT
ROM
Embedded
memory
CPU core
I/O port
mbist1.10
Cheng-Wen Wu, NT
99
M0:
M1:
mbist1.10
.org
LDX
LDA
0HFF00
#$$00
#$$55
STA
INX
CPX
BNE
LDX
0000,X
(W0)
#$$FF
M0
#$$00
(R0W1)
LDA
CMP
BNE
LDA
STA
INX
CPX
BNE
LDX
. . . .
0000,X
#$$55
ERROR
#$$AA
0000,X
(R0W1)
#$$FF
M1
#$$00
.
(R1W0)
(R1W0)
(R0)
read from memory
write data background to memory
Cheng-Wen Wu, NT
100
ABX
IMP
REL
LDA
LDX
STA
INX
CPX
BNE
2~4
CMP
mbist1.10
Cheng-Wen Wu, NT
101
ADDR
D A TA O _cpu
0
clock_cpu
B IST core
m ux_sel
ctrl_bist
1
ctrl_cpu
D A TA I_bist
D A TA I_sys
DI
em bedded
m em ory
control
D A TA I_cpu
control
on-chip bus
em bedded
C PU
A D D R _bist
D A TA O _bist
D A TA O
D A TA I
DO
B IST circuitry
m ux_sel= 0 in norm alm ode
m ux_sel= 1 in B IST m ode
mbist1.10
Cheng-Wen Wu, NT
I/O circuitry
102
Disadvantages
Some address space will be occupied by PPBIST
Area overhead
mbist1.10
Cheng-Wen Wu, NT
103
PPBIST Implementation
D A TA O _cpu
D A TA O _bist
R BG
A D D R _cpu
low est/highestaddress
RAL
address
decoder
RAH
R EA
RM E
R FLA G
R IR
R ED
address counter
up /dow n
controller
A D D R _bist
read /w rite
control
com parator
D A TA I_sys
data background
mbist1.10
Cheng-Wen Wu, NT
104
Function
RBG
RAL
RAH
RME
RIR
Instruction register
RFLAG
Status register
RED
REA
mbist1.10
Cheng-Wen Wu, NT
105
BIST core
(W0)
BIST core
(R0W1)
BIST core
(R1W0)
BIST core
(R0W1)
compare error?
BIST core
(R1W0)
yes
no
complete?
yes
write complete flag
mbist1.10
Cheng-Wen Wu, NT
BIST core
(R0)
no
106
mbist1.10
#$$55
0HFFE0
#$$00
0HFFE1
#$$00
0HFFE2
#$$FF
0HFFE3
#$$0F
0HFFE4
#$$00
0HFFE5
BIST
#$$01
END:
LDA
STA
JMP
#$$04
0HFFE6
FINISH
BIST:
LDA
STA
LDA
CMP
BEQ
CMP
BNE
RTS
#$$00
0HFFE6
0HFFE7
#$$01
ERROR
#$$FF
LOOP
ERROR: LDA
STA
JMP
#$$03
0HFFEA
FINISH
LOOP:
Cheng-Wen Wu, NT
107
PPBIST Example
Addresses of the registers in the BIST experiment
Register
Address
Register
Address
RBG
FFE0
RIR
FFE6
RAL
FFE1 ~ FFE2
RFLAG
FFE7
RAH
FFE3 ~ FFE4
RED
FFE8
RME
FFE5
REA
FFE9 ~ FFEA
M1
M2
M3
M4
M5
0H
1H
2H
3H
4H
5H
mbist1.10
Cheng-Wen Wu, NT
108
Experimental Results
Total test time in terms of clock cycles
The sum of all the March elements' test time plus
30 clock cycles
M1
M2
M3
M4
M5
1N
2N
2N
2N
2N
1N
mbist1.10
Cheng-Wen Wu, NT
109
Routing overhead
Short
Low
High
On-chip processor
Zero
Ours
Short
zero
mbist1.10
Very low
Cheng-Wen Wu, NT
110
mbist1.10
Cheng-Wen Wu, NT
111
BRAINS Outputs
Synthesizable BIST design
At-speed testing
Programmable March algorithms
Optional diagnosis support
BISD
Activation sequence
Test bench
Synthesis script
mbist1.10
Cheng-Wen Wu, NT
112
RAM/BIST
Description
Parser
Memory
Library
Compile
Engine
BIST
Template
mbist1.10
RTL
Synthesis
Netlist
Cell
Library
Cheng-Wen Wu, NT
113
Controller
MSO
MRD
MBO
Sequencer
TPG
Controls
Test Collar
MCK
MBS
MBC
MBR
MSI
Comparator
Address
D
Memory
Q
Normal
Access
mbist1.10
Cheng-Wen Wu, NT
114
Serial
data in
Memory
Command
Command
BIST
control
signals
Controller
Handshaking
Error
Serial
data out
Sequencer
Address
Test
Pattern
Generator
To
Memory
Error
mbist1.10
Cheng-Wen Wu, NT
115
Sequencer
Address Generator
Control
Module
Sequence Generator
go
Command Generator
error
info.
mbist1.10
address
Cheng-Wen Wu, NT
command
error
signature
116
BIST
done
BIST
done
BIST
apply
For SRAM
mbist1.10
Cheng-Wen Wu, NT
BIST
apply
For DRAM
117
mbist1.10
Cheng-Wen Wu, NT
118
mbist1.10
Cheng-Wen Wu, NT
119
I/O Specification
Four parameters
IO_type
IO_width
IO_latency
IO_packet_length
mbist1.10
Cheng-Wen Wu, NT
120
I/O Specification
IO_latency: port latency
mbist1.10
Cheng-Wen Wu, NT
121
I/O Modeling
IO_packet_length: #bits packed within a clock
cycle for the port
mbist1.10
Cheng-Wen Wu, NT
122
Command Specification
Specifies the memorys instructions
mbist1.10
Cheng-Wen Wu, NT
123
Task Specification
Specifies a complete memory operation
A task can be a single command or a sequence
of commands.
mbist1.10
Cheng-Wen Wu, NT
124
mbist1.10
Cheng-Wen Wu, NT
125
AC Parameter Specification
Specifies input and output delays
Specified parameters will be inserted into the
synthesis script.
mbist1.10
Cheng-Wen Wu, NT
126
Cheng-Wen Wu, NT
127
Sequence Generation
For each March element, the compiler generates
the command sequence according to the read
task, write task, and minimum delay between the
two tasks
For example:
Cheng-Wen Wu, NT
128
mbist1.10
Cheng-Wen Wu, NT
129
Diagnosis Support
The BIST circuit scans out the error information
(element, address, signature, and polarity) during
the diagnosis mode.
Assume address 20h stuck-at 64h:
mbist1.10
Cheng-Wen Wu, NT
130
Ram Core A
Test pattern
generator
Ram Core B
Test pattern
generator
Ram Core C
sequencer
controller
sequencer
mbist1.10
Cheng-Wen Wu, NT
131
Experimental Results
The Built-In Memory List
DRAM
EDO DRAM
SDRAM
DDR SDRAM
SRAM
Single-Port Synchronous SRAM
Single-Port Asynchronous SRAM
Two-Port Synchronous Register File
Dual-Port Synchronous SRAM
Micron ZBT SRAM
Cheng-Wen Wu, NT
132
Experimental Results
mbist1.10
Cheng-Wen Wu, NT
133
Experimental Results
Four single-port SRAM BIST circuits share the same controller and
sequencer.
Size of the SRAM core: 8K x 16
Original
BIST area for single-port
SRAM: 1438 (gates)
Total area = 1438 * 4 =
5752 (gates)
mbist1.10
Shared
gate count: 3350
Cheng-Wen Wu, NT
134
Experimental Results
8K x 16 single-port synchronous SRAM (0.25um)
Area:
mbist1.10
Cheng-Wen Wu, NT
135
Experimental Results
2K x 32 two-port register file (0.25um)
Die size: 1130.74 x 936.34 um2
BIST area: 77.88 x 620 um2
Area overhead: 4.5%
mbist1.10
Cheng-Wen Wu, NT
136
Why diagnostics?
Yield improvement
mbist1.10
Cheng-Wen Wu, NT
137
mbist1.10
Cheng-Wen Wu, NT
138
mbist1.10
Cheng-Wen Wu, NT
139
Test Mode
In Test Mode it runs a fixed algorithm for
production test and repair
mbist1.10
Cheng-Wen Wu, NT
140
EOP format:
mbist1.10
Cheng-Wen Wu, NT
141
mbist1.10
Cheng-Wen Wu, NT
142
mbist1.10
Tester/BIST Output
Cheng-Wen Wu, NT
143
March Dictionary
March 11N
E0
E1 E2
mbist1.10
E3
E4 E5
E6 E7
Cheng-Wen Wu, NT
E8 E9
E10
144
Error Map
mbist1.10
Cheng-Wen Wu, NT
145
MECA System
mbist1.10
Cheng-Wen Wu, NT
146
Error Analyzer
Tester/BIST data log
Fault analysis
Fault maps
mbist1.10
Cheng-Wen Wu, NT
147
Fault Analysis
Derive analysis equations from the fault dictionary
mbist1.10
Cheng-Wen Wu, NT
148
user-specified
Generation options reduced to read-insertions
mbist1.10
Cheng-Wen Wu, NT
149
Diagnostic Resolution
Diagnostic resolution
# of distinguishable faults
Diagnostic resolution
# of detectable faults
mbist1.10
Cheng-Wen Wu, NT
150
Experimental Results
Proposed diagnosis framework has been
applied to commercial embedded SRAMs
Results for a 16Kx8 embedded SRAM
(FS80A020) are shown
Tester log from Credence SC212 is examined
Address remapping (logical to physical) is
applied
mbist1.10
Cheng-Wen Wu, NT
151
mbist1.10
Cheng-Wen Wu, NT
152
Fault Bitmaps
Idempotent Coupling Fault
mbist1.10
Cheng-Wen Wu, NT
Stuck-at 0
153
Fabrication
Material, process, equipment, etc.
Design
Device, circuit, etc.
Redundancy and repair
On-line
Off-line
mbist1.10
Cheng-Wen Wu, NT
154
BISD
BIRA
BISR
mbist1.10
Cheng-Wen Wu, NT
155
Analyzer
MUX
RAM
BIST
mbist1.10
Cheng-Wen Wu, NT
Spare Elements
Redundancy
156
RAM Redundancy
1-D: spare rows (or columns) only
SRAM
Algorithm: Must-Repair
mbist1.10
Cheng-Wen Wu, NT
157
Redundancy Architectures
mbist1.10
Cheng-Wen Wu, NT
158
mbist1.10
Cheng-Wen Wu, NT
159
mbist1.10
Cheng-Wen Wu, NT
160
Definitions
Faulty line: row or column with at least one faulty
cell.
A faulty line is covered if all faulty cells in the line
are repaired by spare rows and/or columns.
A faulty cell not sharing any row or column with
any other faulty cell is an orthogonal faulty cell.
r: number of (available) spare rows
c: number of (available) spare columns
F: number of faulty cells in a block
F:number of orthogonal faulty cells in a block
mbist1.10
Cheng-Wen Wu, NT
161
mbist1.10
Cheng-Wen Wu, NT
162
Repair-Most (RM)
Run
mbist1.10
Cheng-Wen Wu, NT
163
r=2; c=4
mbist1.10
Cheng-Wen Wu, NT
164
Repair-Most based
Improved heuristics
Early termination rules
Concurrent BIST and BIRA
No separate Must-Repair phase
mbist1.10
Cheng-Wen Wu, NT
165
LRM Algorithm
Activated by BIST whenever a faulty cell is
detected.
Fault Collection (FC)
Collects faulty-cell addresses.
Constructs local bitmap.
Counts row and column errors.
mbist1.10
Cheng-Wen Wu, NT
166
LRM: FC and SA
mbist1.10
Cheng-Wen Wu, NT
167
LRM Example
(5,2)
mbist1.10
(5,4),(5,6),(5,7)
Cheng-Wen Wu, NT
(7,3)
168
mbist1.10
Cheng-Wen Wu, NT
169
mbist1.10
Cheng-Wen Wu, NT
170
LO Example
mbist1.10
Cheng-Wen Wu, NT
171
mbist1.10
Cheng-Wen Wu, NT
172
ESP Example
mbist1.10
Cheng-Wen Wu, NT
173
mbist1.10
Cheng-Wen Wu, NT
174
mbist1.10
Cheng-Wen Wu, NT
175
mbist1.10
Cheng-Wen Wu, NT
176
mbist1.10
Cheng-Wen Wu, NT
177
mbist1.10
Cheng-Wen Wu, NT
178
Area Overhead
mbist1.10
Cheng-Wen Wu, NT
179
mbist1.10
Cheng-Wen Wu, NT
180