Title: Flash Memory Fault Modeling and Test Algorithm Development
1Flash Memory Fault Modeling and Test Algorithm
Development
- Adviser Prof. Cheng-Wen Wu ??? ??Student
Jen-Chieh Yeh ??? - May 06, 2004
LAB for Reliable Computing Department of
Electrical EngineeringNational Tsing Hua
University Hsinchu, Taiwan 30013
2Outline
- Introduction
- Flash Memory Overview
- Flash Memory Testing Issues
- Flash Disturb Fault Modeling
- Flash Test Algorithm Development
- Built-In Self-Test (BIST) Design
- Experimental Results
- Conclusions
3Semiconductor Memory Market
?Forecast of Web Feet Inc.
4Introduction
- Flash memories are becoming widely used in many
applications - High density, Low power, On-line update,
Non-volatile - Embedded Flash cores thus play an important role
in the System-on-Chip (SoC) environment
MP3 player
MD
DSC
Cell-phone
5Flash Memory Applications
NAND
SSD
USB Drive
Serial Access
MCP
DSC
PDA
NOR
MP3
G3 Phone
Cell Phone
DVD STB
Industrial Controls
Random Access
PC BISO
Low Density
High Density
Note MCP NOR or NAND based Flash devices
including RAM in a Multi Chip Package
6Two Major Architectures of Flash
NOR (Code Flash) NAND (Data Flash)
Low DensityHigher Cost/BitFaster Random AccessNot ScalableSupplier Differences Higher DensityLower Cost/BitFaster Sequential AccessScalableSingle Standard
B
?Forecast of Web Feet Inc.
7NAND and NOR Architectures
Bit-line
Word-line
Source line
NAND
NOR
8Read Operation
Vgt0
ID
0
1
GND
GND
Vread
ID(1)
?VT
GND
Decoder
SA
ID(0)
VT_Erase
VT_Program
VGS
Vread
0 or 1
9Write Mechanism
Program Operation (µs)
Erase Operation (m s)
Vwlgtgt0
Vwlltlt0
GND
Vsgt0
Vblgt0
Vblgt0
Vbodygt0
Channel Hot Electron (CHE)injection in the
floating gate atthe drain side
Fowler-Nordheim (FN) electron tunneling current
throughthe tunnel oxide from the floatinggate
to the silicon surface
? Erasure is usually performed over a complete
block or chip, and hence the name Flash?
Different process technologies and even
manufactures may differ in their choice of the
program/erase mechanism
10Flash Memory Testing Issues
- Reliability issues
- Disturbances inadvertent change of the cell
content due to reading or programming another
cell - Over-erasing overstressed cell after erase,
leading to unreliable program operation - Endurance capability of maintaining the stored
information within specified operation count - Retention capability of maintaining the stored
information within specified time limit - Long program/erase time
- Difficult test access for embedded Flash memory
- ATE price is high, and grows rapidly
11Growth of Embedded Flash Memory
Embedded Flash Memory Shipments(Worldwide,
Millions)
600
500
400
300
200
100
2000
2001
0
2002
2003
2004
2005
?Forecast of CISG (Cahners In-Stat Group)
12Approaches
- Reasonable fault models for reliability-related
defects - Efficient test algorithms to reduce test time and
increase fault coverage - Built-in self-test (BIST) circuit for embedded
Flash memories - Replace or reduce the requirement of ATE
- Built-in self-test and built-in self-repair will
be essential to test embedded Flash memories and
to maintain production throughput and yield.
Quoted ITRS 2003
13Contribution to Flash Memory Testing
Study of Flash Memories
Flash Disturb Fault Modeling
Fault SimulatorRAMSES-FT
Test Algorithm Development
Test Algorithm Generation by Simulation TAGS
Proposed First Built-In Self-Test Design for Flash
Complete Experimental Results
14Fault Modeling
- Fault model is defined faulty cell behavior
- Fault model makes analysis possible
- Fault model makes effectiveness testing
- Fault model limits the scope of test pattern
Defects in Layout
Defects in Transistor
Faulty Cell Behavior
Fault Model
15Flash Memory Specific Faults
- IEEE Standard 1005, Definitions and
Characterization of Floating Gate Semiconductor
Arrays, defines the disturbance conditions - Flash memory functional fault models
- Word-line Program Disturbance (WPD)
- Word-line Erase Disturbance (WED)
- Bit-line Program Disturbance (BPD)
- Bit-line Erase Disturbance (BED)
- Over Erasing (OE)
- Read Disturbance (RD)
ProgramDisturb Fault
Erase Disturb Fault
Read Disturb Fault
16Program Disturb Faults
- Word-line Program Disturbance (WPD)
- A cell transits from 1 to 0 when another in the
same word-line is being programmed (1 to 0) - Word-line Erase Disturbance (WED)
- A cell transits from 0 to 1 when another in the
same word-line is being programmed (1 to 0) - Bit-line Program Disturbance (BPD)
- A cell transits from 1 to 0 when another in the
same bit-line is being programmed (1 to 0) - Bit-line Erase Disturbance (BED)
- A cell transits from 0 to 1 when another in the
same bit-line is being programmed (1 to 0)
17Word-line Program Disturbance
Conditions 1.Victim cell initial value is a
logic 1 2.Aggressor 1?0 (program) Victim
1?0 (program)
G
Control Gate
S
D
Floating Gate
V(H)
V(L)
Source
Drain
V(H)
Substrate
V(L)
B
V(Gd)
18Word-line Erase Disturbance
Conditions 1.Victim cell initial value is a
logic 0 2.Aggressor 1?0 (program) Victim
0?1 (erase)
G
Control Gate
S
D
Floating Gate
V(H)
V(L)
Source
Drain
V(H)
Substrate
V(L)
B
V(Gd)
19Bit-line Erase Disturbance
Conditions 1.Victim cell initial value is a
logic 0 2.Aggressor 1?0 (program) Victim
0?1 (erase)
G
Control Gate
S
D
Floating Gate
V(H)
V(L)
Source
Drain
V(H)
Substrate
V(L)
B
V(Gd)
20Bit-line Program Disturbance
Conditions 1.Victim cell initial value is a
logic 1 2.Aggressor 1?0 (program) Victim
1?0 (program)
V(H)
During programming, erased cells on
unselected rows on a bit-line that is being
programmed may have a fairly deep depletion
region formed under them Electrons entering this
depletion region can be accelerated by the
electric field and injected over the oxide
potential barrier to adjacent floating gates
V(H)
V(L)
V(Gd)
21Read Disturbance and Over Erase
- RD
- A cell transits from 0 to 1 during the read
cycles - Relationship with read count (n)
- ltRn0, 1gt
- In here, we assumed n 1
- OE
- The threshold voltage of a cell is low enough to
turn the cell into a depletion-mode transistor - Cell can not be programmed correctly
- Reading a cell on the same bit line induces a
leakage current, resulting in an erroneous read
22Conventional RAM Faults
- Several conventional RAM fault models are also
considered useful for testing Flash memory - Stuck-At Fault (SAF)
- Cell or line sticks at 0 or 1
- Transition Fault (TF)
- Cell fails to transit from 0 to 1 or 1 to 0
- Stuck-Open Fault (SOF)
- Cell not accessible due to broken line
- State Coupling Fault (CFst)
- Coupled cell is forced to 0 or 1 if coupling cell
is in given state - Address-Decoder Fault (AF)
- A functional fault in the address decoder
23Test Algorithm Development
- for the sake of fault coverage (FC)
- March algorithm often applies test to the SRAM
and DRAM - Ex ?(w0) ?(r0,w1,r1) bit-oriented
- Ex 0000 ?(wa) ?(ra) ?(wb) ?(rb)
word-oriented
Fault Model
Test Algorithm
Built-In Self-Test
Built-In Self-Repair
Tester
0
0 0
0 0
0
0 0
0 0
0 0
0 1
0 0
1 1
0 1
1 1
1 1
1 1
24Bit-oriented Flash Memory Test
- Conventional March tests can not detect all Flash
specific faults - No (w1) operation in Flash technology
- Proposed March Flash Test (March-FT)
- (f ) Ý(r1,p0,r0) (r0) (f ) ß(r1,p0,r0)
(r0) - Regular, easier to generate, covering more
functional faults and do not rely on the array
geometry or layout topology
Notation Operations
f Erase
p0 Program
r1 or r0 Read 1 or 0
Notation Address Sequence
Ý Ascending
ß Descending
Ascending or Descending
25Word-oriented Flash Memory Test
- Word-oriented memory may have intra-word faults
- Add simple test with multiple standard
backgrounds to cover intra-word faults - (f ) (pa,ra) (f ) (pb,rb)
- Number of backgrounds is log2(m)1
- m word width
- 1 solid background
- Example (m 4)
- 0000 (f ) Ý(rb,pa,ra) (ra) (f )
ß(rb,pa,ra) (ra) 0011 (f )
(pa,ra) (f ) (pb,rb) 0101 (f )
(pa,ra) (f ) (pb,rb)
0000 is solid background
0011 0101 are standard backgrounds
26Flash Memory Fault Simulator
- RAMSES-FT
- Detect all base fault disturb fault
- Used scaling technique
- Support word-oriented Flash
- Support physic-address for disturb fault
27March-FT Simulation Result
- (f) ?(r1,p0,r0) ?(r0) (f) ?(r1,p0,r0) ?(r0)
This Flash memory is NOR type (STACK gate) Memory size(N) 65536 Test length 2(chip erase time) 131072(word program time) 393216(word read time) Test length time 7.207173 sec This Flash memory is NOR type (STACK gate) Memory size(N) 65536 Test length 2(chip erase time) 131072(word program time) 393216(word read time) Test length time 7.207173 sec This Flash memory is NOR type (STACK gate) Memory size(N) 65536 Test length 2(chip erase time) 131072(word program time) 393216(word read time) Test length time 7.207173 sec
SAF 100 (131072 / 131072) P.S.
TF 100 (131072 / 131072) Flash Type NOR
SOF 100 (65536 / 65536) Gate Type Stack
AF 100 (4294901760 / 4294901760) Row Number 256
CFst 100 (17179607040 / 17179607040) Col Number 256
WPD 100 (16711680 / 16711680) Word Length 1
WED 100 (16711680 / 16711680) Chip erase time 3 sec
BPD 100 (16711680 / 16711680) Word program time 9u sec
BED 100 (16711680 / 16711680) Word read time 70n sec
RD 100 (65536 / 65536)
OE 100 (65536 / 65536)
28Simulation Results
- Bit-oriented Flash memory tests simulation
result(128Kbits Flash memory)
Flash March VTS2001 WPD100 WED100 BPD100 BED100 OE100 RD0
Flash March VTS2001 SAF100 TF100 SOF50 AF100 CFst75
Flash March VTS2001 Test Complexity2F 2NP 4NR Test Complexity2F 2NP 4NR Test Complexity2F 2NP 4NR Test Complexity2F 2NP 4NR Test Time2.503 sec Test Time2.503 sec
March-FT(proposed) WPD100 WED100 BPD100 BED100 OE100 RD100
March-FT(proposed) SAF100 TF100 SOF100 AF100 CFst100
March-FT(proposed) Test Complexity2F 2NP 6NR Test Complexity2F 2NP 6NR Test Complexity2F 2NP 6NR Test Complexity2F 2NP 6NR Test Time2.516 sec Test Time2.516 sec
Assumption F190ms, P8us, R50ns, and N128K
29Simulation Results (cont.)
- Word-oriented Flash memory tests simulation
result(128Kx4bits Flash memory, word width 4)
March FT (Onlysolid background) WPD100 WED100 WPD100 WED100 WED100 OE100 OE100 RD100 RD100 SAF100
March FT (Onlysolid background) TF100 SOF100 AF intra0 AF intra0 AF inter100 AF inter100 CFst intra50 CFst intra50 CFst inter100 CFst inter100
March FT (Onlysolid background) Test Complexity2F 2NP 6NR Test Complexity2F 2NP 6NR Test Complexity2F 2NP 6NR Test Complexity2F 2NP 6NR Test Complexity2F 2NP 6NR Test Time 2.516 sec Test Time 2.516 sec Test Time 2.516 sec Test Time 2.516 sec Test Time 2.516 sec
March FT(With standard backgrounds) WPD100 WED100 BPD100 BED100 BED100 OE100 OE100 RD100 RD100 SAF100
March FT(With standard backgrounds) TF100 SOF100 AF intra100 AF intra100 AF inter100 AF inter100 CFst intra100 CFst intra100 CFst inter100 CFst inter100
March FT(With standard backgrounds) Test Complexity6F 6NP 10NR Test Complexity6F 6NP 10NR Test Complexity6F 6NP 10NR Test Complexity6F 6NP 10NR Test Complexity6F 6NP 10NR Test Time7.497 sec Test Time7.497 sec Test Time7.497 sec Test Time7.497 sec Test Time7.497 sec
Assumption F190ms, P8us, R50ns, and N128K
30Test Algorithm Generation by Simulation
T(N) March-like Tests
2N 3N 4N 5N 6N 7N 8N 9N 10N (f) ?(r1) (f) ?(p0) ?(r0) (f) ?(r1,p0) ?(r0) (f) ?(r1,p0,r0) ?(r0) (f) ?(r1,p0,r0) ?(r0,p0) (f) ?(r0) ?(r1,p0,r0) ?(r0,p0) (f) ?(r1,p0) (f) ?(r1,p0,r0) ?(r0) (f) ?(r1,p0) ?(r0) (f) ?(r1,p0,r0) ?(r0) (f) ?(r1,p0,r0) ?(r0) (f) ?(r1,p0,r0) ?(r0)
31TAGS Results
32BIST Advantages
- Functional test (Go / No go)
- Tester functional easily (Few Logic I/O)
- Test throughput increased (Pin Count Reduction)
- Test program simply (Engineer Mode)
- System-on-Chip (SoC) testing easily
Normal Mode Signal
Flash core
Go/NoGo
BIST
BNS
MUX
BMS
CLK
33Built-In Self-Test Design
- Flash memory BIST block diagram
BSI BIST serial input BSO BIST serial output
BMS BIST mode selectBRS BIST reset
BNS BIST/Normal select BCE BIST commend
endCLK System clock
34Case I
- A typical 4Mbits (512K x 8) embedded Flash memory
core with BIST circuitry
35Case II
- A commodity 1Mbits (128K x 8) Flash memory chip
with BIST circuitry
36Experimental Results
Embedded Flash Core Commodity Flash Chip
Memory Size 512K bytes 128K bytes
Mass Erase Time 200ms 190ms
Byte Program Time 20us 8us
Erase Penalty 2.5ms 1us
Program Penalty 21us 1us
Scrambling Type Data Address
Built-In Test Algorithm March FT(Only solid background) March FT(With standard backgrounds)
Hardware Overhead 3.2 2.28
Testing Time 44.612 sec 13sec
37Conclusions
- Bit-oriented and word-oriented Flash memory tests
are proposed - Implemented the BIST circuit for the embedded
Flash memory core and commodity Flash memory chip - A Flash memory simulator has been developed to
facilitate the analysis and generation of the
tests - Developed March-like test methodology that can be
used and reused for various Flash memories - Our future work is to support more Flash memory
types and other realistic fault models, and to
develop a diagnosis and repair methodology for
Flash memories
38Thank you for your attention!