M 05 BIST0504
M 05 BIST0504
M 05 BIST0504
Cheng-Wen Wu 吳誠文
CPU DSP
Bus/IO SRAM
ROM
DRAM Flash
Address
Delay ROM
Data
D0 D1
… Dn
I0 I1 In
D0 D1 … Dn
•Area is in um2
•BIST logic can be shared
BIST RAM
Controller
Comparator
Go/No-Go
BIST Module
RAM Controller
X Decoder
• One BIST for many Memory Cell Array
RAMs (cascaded)
• One-bit read/write at a
time, but one pattern
(word) per cycle Addr Y Decoder
• Slow SI Transparent Serial Data-MUX SO
• No diagnostics c
c
D Q
Source: Nadeau-Dostie et al., IEEE D&T, Apr. 1990
Control Block
Timing
Counters Generator
BIST on
S0 S1
msb
Mission Control Read/Write
mode
interface { Data out
Data in
Address
1sb
c-1
Clock
Ratio of Test
RAM Total BIST BIST to
Chip Configuration Bits Circuits Chip Area Time
D Q D Q
Combination Logic #0
D Q D Q
Combination Logic #1
Idle& Wait
BIST_EN=high
SEQ_EN=low
All outputs and
flags are in
precharged
state
NON_EDO NON_EDO
Self
A B EDO_ROW EDO_ROW EDO_ROW
Refresh
WD RDWD'
Done &
Change
Command
PMBIST
2. RAM-BIST Mode
1.Functional faults
3. RAM-Diagnosis Mode
4. RAM-BI Mode
Overhead
Mem size
0.3%
Processor
m05bist5.04 Cheng-Wen Wu, NTHU 38
On-Chip Processor-Based RAM BIST
• BIST program is stored in boot ROM during
design phase, and memory BIST is done by
executing BIST program
Address DATAI DATAO Control
bus bus bus bus
BOOT
ROM
Embedded
memory
CPU core
I/O port
DATAO_cpu DATAO
0
ADDR_bist DI
on-chip bus
1
DATAO_bist
embedded clock_cpu
BIST core embedded
CPU mux_sel
ctrl_bist
memory
control
1
ctrl_cpu control
0
BIST circuitry
mux_sel = 0 in normal mode I/O circuitry
mux_sel = 1 in BIST mode
Ref: ASP-DAC01
DATAO_cpu
DATAO_bist
RBG
lowest / highest address
RAL ADDR_bist
ADDR_cpu address counter
address RAH REA
decoder
up / down read / write
RME RFLAG
control
RIR RED controller
match / unmatch
DATAI_bist DATAI_sys
comparator
data background
BIST core BIST core BIST core BIST core BIST core BIST core
Ï(W0) Ï(R0W1) Ï(R1W0) Ð(R0W1) Ð(R1W0) Ï(R0)
R e g is te r A d d re s s R e g is te r A d d re s s
R BG FFE0 R IR FFE6
R AL FFE1 ~ FFE2 R FLAG FFE7
R AH FFE3 ~ FFE4 R ED FFE8
R ME FFE5 R EA FFE9 ~ FFEA
0H 1H 2H 3H 4H 5H
M0 M1 M2 M3 M4 M5
1N 2N 2N 2N 2N 1N
RTL
Compile
RAM/BIST Engine
Synthesis Netlist
Description
Parser
BIST Cell
Template Library
MCK
MBS
MBC Controller Sequencer TPG
MBR
Controls
MSI
Test Collar
MSO
Address
MRD
Comparator
MBO Memory
D
Normal
Access
M emory
Comm and Comm and
To
BIST Hand- Test M emory
control Controller shaking Sequencer Address Pattern
signals Generator
Error Error
BIST
idle
BIST
idle
BIST BIST
done active
BIST BIST
done apply
BIST
apply
BIST
Controller Sequencer TPG RAM
Test pattern
Ram Core A
generator
sequencer
Test pattern
generator Ram Core B
controller
Test pattern
sequencer Ram Core C
generator
Source: ATS’01
m05bist5.04 Cheng-Wen Wu, NTHU 80
BRAINS GUI
Original Shared
BIST area for single-port Gate count: 3350
SRAM: 1438 (gates)
Total area = 1438 * 4 =
5752 (gates)
Source: Genesys
m05bist5.04 Cheng-Wen Wu, NTHU 89
Conclusions
• BIST is considered the best solution for testing
embedded memories
− Low cost
− Effective and efficient
• Further improvement can be expected to extend
the scope of RAM BIST:
− Timing/delay faults and disturb faults
− BISD and BISR
− CAM BIST and flash BIST
− BIST/BISD/BISR compiler
− Wafer-level BI and test
∗ Known good die