Académique Documents
Professionnel Documents
Culture Documents
Built In
Self Test
Self-Test
Jin Fu Li
Jin-Fu
Dept. of Electrical Engineering
National Central University
Jhongli, Taiwan
Outline
ROM BIST
RAM BIST
Serial BIST for RAMs
Processor
Processor-Based
Based RAM BIST
RAM BISTs in SOCs
References
Test Controller
Buffer
NOR/NAND
Decoder
(ROM Array)
Buffer
Outputs
O t t
EE, National Central University Jin-Fu Li 5
An Example of ROM BIST
Counter
ROM
Controller MISR
Go/No-Go Status
Normal I/Os
T t Controller
Test C t ll
Test Collar
C
RAM
Test Pattern
Generator
Go/No-Go
Comparator
Controller
Generate control signals to the test pattern
generator & the memory under test
Test pattern generator (TPG)
Generate the required test patterns and Read/Write
signals
g
Comparator
Evaluate the response
EE, National Central University Jin-Fu Li 8
ROM-Based RAM BIST
The features of ROM-based BIST scheme
The ROM stores test procedures for generating test
patterns
Self-test is executed by using BIST circuits controlled
by the microprogram ROM
A wide range of test capabilities due to ROM
programming
p g g flexibility
y
The BIST circuits consists of the following
functional blocks
Microprogram ROM to store the test procedure
Program counter which controls the microprogram
ROM
TPG
Comparator
EE, National Central University Jin-Fu Li 9
ROM-Based RAM BIST Architecture
Normal I/Os
E d
End Mi
Microprogram
Test Collar
ROM
RAM
TPG
Go/No-Go
Comparator
IF AC=MAX/0
ELSE DEC PC
INCREMENT AC
DECREMENT AC
EXCLUSIVE OR
INVERT/NORMAL
COMPARE/MASK
WRITE/READ
CLEAR
TEST END
EE, National Central University Jin-Fu Li 11
FSM-Based RAM BIST
Normal I/Os
E d
End
FSM
Test Collar
RAM
TPG
Go/No-Go
Comparator
R0 S1
NOT last address?
W1 S2
R1 S3
NOT last address?
W0 S4
R0 S5
NOT last address?
W1 S4
End S4
EE, National Central University Jin-Fu Li 13
Programmable RAM BIST
A example
An l off the
h programmable
bl RAM BIST
Normal I/Os
CMD
T
TPG
BSI
Test Collar
Con
TGO
& Compar
BSC RAM
C
ntroller
C
ENA
BRS
rator
DONE
BGO
CLK
BNS
Idle BRS=1
BSC=1
DONE=1 Shift
Shift_cmd
d
BSC=0
Get_cmd
Apply ENA=1
DONE=0
Idle ENA=0
ENA=1
Init DONE/GO
Null=1
Null=0
Ifetch
Exec
Dfetch
Error=1 Error=0
No-Go Compare
Row de
Ci Ci+1
ecoder
Column decoder
Latch Latch
Write
Read
BIST on
To next test input
From previous output or serial input
or serial input
Ii Oi Ii+1 Oi+1
EE, National Central University Jin-Fu Li 20
Serial Shift Operation
An example of serial shift operations for the
match element (R0W1)
Time Operation Serial Word Serial
in content out
0 X 0 0 0 0 X
1 R0 X 0 0 0 0 0
0
11 00 00 00 2 W1 1 1 0 0 0 0
3 R0 1 1 0 0 0 0
4 W1 1 1 1 0 0 0
5 R0 1 1 1 0 0 0
010 000 000 000
6 W1 1 1 1 1 0 0
7 R0 1 1 1 1 0 0
1
X
1 0
X
8 W1 1 1 1 1 1 0
Controller Timing
Counters
generator
SO SI
Control
lsb msb
Data out
Data in
Address C-1
Controller Timing
Counters
generator
g
SO SI
Add
Address R d/W it
Read/Write
SO SI Timing
g
C
Counters
t Controller generator
Address Read/Write
n
m wire
n
n
e
m wire
Normal I/Os
Processor
Test Collar
RAM
TPG
Go/No-Go
Comparator
ADDR_cpu
ADDR
ADDR_bist
DATAO
DATAO_sys
DATAO
DATAO_bist
Embedded On-chip Embedded
CPU
Clock_cpu
BIST core Mux_sel
bus Memory
Ctrl_bist control
Ctrl_cpu
RAL L
Lowest/highest
t/hi h t addr
dd ADDR_bist
Address
ADDR_cpu Address counter
RAH REA
decorder Up/down
RME RFLAG Read/Write
Control
RIR RED Controller
Match/unmatch
DATAI_bist
DATAI sys
DATAI_sys
Comparator
Data background
Register Function
RBG Store background data
RAL Store lowest address
RAH Store highest address
RME Store current March element
RIR Instruction register of BIST circuit
RFLAG Status register of BIST circuit
RED Erroneous response of defective cell
REA Address of defective cell
yes
Test program
Write FINISH to RFLAG
take over
EE, National Central University Jin-Fu Li 31
SOC Testing
A typical SOC chip
ADC FPGA
Flash Memoryy
Wrapper
CPU UDL
DSP
Sink
TAM
Source Test Access Mechanism (TAM)
DRAM
MPEG SRAM SRAM
DRAM
MPEG SRAM SRAM
ADC FPGA
Flash
Wrapper Memory
On chip Source/Sink
On-chip UDL
CPU DSP
1. Close to Core-under-test Sink Sink
2 Less TAM area
2. Source Source
1500 Wrapper
W 1500 Wrapper
W
User-Defined
Test Controller
W
WBR
W
WBR
Core
Functional Functional
data data
WBY
WSO
WSI WIR
WSC
ADC FPGA
Flash Memory
DRAM
SRAM SRAM SRAM
BIST
BIST
DRAM
MPEG SRAM SRAM
BIST BIST
ADC FPGA
Flash Memory
CPU UDL
DSP
DRAM
SRAM SRAM SRAM BIST
BIST MBI
MBI MBI
BIST
MBI
BIST
MPEG SRAM DRAM
SRAM
Bypass
yp Register
g
It is selected if the corresponding memory core is not
tested
Monitor Register
Monitor
o to the
t e error
e o flag
ag ((indicating
d cat g whether
et e a memory
e oy
fault is detected or not)
Status Register
Record the key status values, such as Fail output from
the BIST
TPG &
BIST Controller Comparator
BIST C ll
Collar BIST C
Collar
ll BIST C ll
Collar
S
Source: P
Prof.
f C.
C W
W. Wu,
W NTHU
T
TAP
Wrapper
Con
TAP
ntroller
P
BIST RAM
ATE
TAM
Wrapper
S
Source: A
Appello
ll DD., et. al.l ITC03
Processor
Wrapper
Control
P1500 Test Program
Instructions Unit
S
Source: A
Appello
ll DD., et. al.l ITC03
I t ti
Instruction M
Meaning
i
Current_address Add_Max
SET_ADD
Direction flag BACKWARD
Current_address Add_Min
RST_ADD
g FORWARD
Direction flag
Current_data DataBackGround[Dbg_index]
STORE_DBG
Dbg_index Dbg_index+1
INV_DBG Current_data NOT (Current_data)
WSI
WRCK W
WRSTN C
TAP controller
D
W W
Me
ShiftWR W R
emory
D
c
UpdateWR I Processor B
R R R
CaptureWR
W
SelectWIR B Test
Y Program CORE
WSO
Wrapper