Professional Documents
Culture Documents
C C C C
C C C C
W R W R W R W R
W R W R W R RxW
) 1 , 1 ( ) 1 , 0 ( ; ) 0 , 0 ( ) 0 , 1 (
) 1 , 1 ( ) 1 , 0 ( ; ) 0 , 0 ( ) 0 (
c
22 Jin-Fu Li EE, National Central University
C C C C
W R W R W R W R ) 0 , 0 ( ) 0 , 0 ( ; ) 0 , 0 ( ) 0 , 1 (
Serial BIST Architecture
BIST GO Done
Controller
Timing
generator
SO SI
Counters
Control
Data out
Data in
msb lsb
Multiplexer Multiplexer Multiplexer
Data in
Address
C-1
Multiplexer Multiplexer Multiplexer
C C
RAM (Wwords of C bits)
Address Data in Data out Control
23 Jin-Fu Li EE, National Central University
Sharing BIST in Daisy-Chain Style
BIST GO Done
Controller
Timing
generator
SO SI
Counters
g
SO SI
R d/W it Add Read/Write Address
Test Collar Test Collar Test Collar
RAM1 RAM2 RAM3
Test Collar Test Collar Test Collar
Serial Interface
SI SO
Serial Interface
SI SO
Serial Interface
SI SO
24 Jin-Fu Li EE, National Central University
Sharing BIST in Parallel Style
BIST
GO
Done
DeMux
Timing
SO SI
C t
Controller
g
generator
Counters
Read/Write Address
Test Collar Test Collar Test Collar
RAM1 RAM2 RAM3
Test Collar Test Collar Test Collar
Serial Interface
SI SO
Serial Interface
SI SO
Serial Interface
SI SO
25 Jin-Fu Li EE, National Central University
BIST Using Data Decoding/Encoding
n
m wire
n
n
m wire e
26 Jin-Fu Li EE, National Central University
Processor-Based RAM BIST
Normal I/Os Normal I/Os
T
e
s
t
Processor
RAM
C
o
l
l
a
r
TPG
Go/No-Go
Comparator
27 Jin-Fu Li EE, National Central University
NTHU Processor-Programmable BIST
ADDR
ADDR_cpu
DATAO
ADDR_bist
Embedded On-chip Embedded
BIST core
DATAO
DATAO_sys
Clock_cpu
DATAO_bist
Mux_sel
CPU bus Memory
BIST core
control
Ctrl_cpu
Ctrl_bist
DATAI DATAI_sys
DATAI_bist
DATAI_cpu
Source: Prof. C. W. Wu, NTHU
28 Jin-Fu Li EE, National Central University
NTHU Processor-Programmable BIST
BIST core
R
BG
DATAO_cpu
L t/hi h t dd
DATAO_bist
Address
decorder
R
AL
R
AH
R
EA
Address
counter
ADDR_cpu
Lowest/highest addr
ADDR_bist
Up/down
R
ME
R
IR
R
FLAG
R
ED
Controller
Read/Write
Control
Up/down
DATAI_bist
DATAI sys
Match/unmatch
Comparator
Data background
DATAI_sys
29 Jin-Fu Li EE, National Central University
Source: Prof. C. W. Wu, NTHU
NTHU Processor-Programmable BIST
Data registers
Register Function
R
BG
Store background data
R
AL
R
AH
Store lowest address
Store highest address
R
ME
R
IR
Store current March element
Instruction register of BIST circuit
R
FLAG
R
ED
Status register of BIST circuit
Erroneous response of defective cell
R
EA
Address of defective cell
30 Jin-Fu Li EE, National Central University
Source: Prof. C. W. Wu, NTHU
NTHU Processor-Programmable BIST
Source: Prof. C. W. Wu, NTHU
BIST procedure
Test programwrite data background to R
BG
Test program write data background to R
BG
Test program write lowest/highest address to R
AL
/R
AH
Performed by
test program
Test program write March instructions to R
ME
Test program write START to R
IR
(Wa) (Ra,Wa) (Ra,Wa) (Ra,Wa) (Ra,Wa) (Ra)
Compare
Data error
Write ERROR to R
FLAG
Write error response to R
ED
Write faulty addr to R
EA
Performed by
BIST circuit
yes
No
March element
complete
yes
No
31 Jin-Fu Li EE, National Central University
Write FINISH to R
FLAG
Test program
take over
SOC Testing
A typical SOC chip
FPGA
Flash Memory
ADC
Wrapper
DSP
CPU
y
UDL
Sink
Wrapper
Source
Sink
Test Access Mechanism (TAM)
TAM
MPEG SRAM SRAM
DRAM
Source: Y. Zorian, et al.-ITC98
32 Jin-Fu Li EE, National Central University
SOC Test Access
FPGA
Flash
Memory
UDL
ADC
Wrapper
Off-chip Source/Sink
1. Pins determine bandwidth
DSP
CPU
UDL
Source
Sink
TAM
TAM
2. More TAM area
3. Requires expensive ATE
MPEG
SRAM SRAM
DRAM
FPGA
Flash
Memory
ADC
Wrapper
On chip Source/Sink
DSP
CPU
Memory
UDL
Sink
Wrapper
Sink
On-chip Source/Sink
1. Close to Core-under-test
2 Less TAMarea
MPEG
SRAM SRAM
DRAM
Source
Source
2. Less TAM area
3. BIST IP area
4. Requires lightweight ATE
33 Jin-Fu Li EE, National Central University
Source: Y. Zorian and E.J . Marinissen
1500 Scalable Test Architecture
User Defined Parallel TAM Source
Sink
1500 W
TAM-out TAM-in
1500 W
TAM-out TAM-in
Core1
1500 Wrapper
CoreN
1500 Wrapper
Fin
Fout
Fin Fout
Core1
WIR
CoreN
WIR
WSI
WSI WSO WSO
WIR WIR
WSI
WSI WSO WSO
WIP
User-Defined
Test Controller
34 Jin-Fu Li EE, National Central University
1500 Test Wrapper
WW
Test stimuli
Test response
WPI
WPO
Core
W
B
R
W
B
R
Functional
data
Functional
data
WBY
data
data
WIR
WSO
WSI
WSC
35 Jin-Fu Li EE, National Central University
Memories in SOCs
FPGA ADC
DSP
CPU
Flash Memory
UDL DSP
CPU
UDL
SRAM
DRAM
SRAM SRAM
BIST
BIST
MPEG SRAM SRAM
DRAM
BIST BIST
BIST d N BIST
36 Jin-Fu Li EE, National Central University
BIST-ready memory cores Non-BIST memory cores
RAM BIST in SOCs
Memory cores in an SOC can be categorized
into two types in term of testability
BIST-ready memory cores
Non-BIST memory cores
An SOC can contain tens or even hundreds of
memory cores e o y co es
Although a BIST usually have only about 8
controlling pins
The total BIST controlling pins is huge if each BIST-
ready memory cores has its own BIST controlling pins
The BIST controlling pins should be shared
One solution is using memory BIST interface
37 Jin-Fu Li EE, National Central University
g y
Sharing BIST Controlling Pins
FPGA ADC
DSP
CPU
Flash Memory
UDL
DSP
DRAM
SRAM
SRAM SRAM
BIST
BIST
MBI
MBI
MBI
MPEG
SRAM
SRAM
DRAM
BIST
BIST
MBI
MBI
SRAM
38 Jin-Fu Li EE, National Central University
Memory BIST Interface (MBI)
39 Jin-Fu Li EE, National Central University
Memory BIST Interface (MBI)
Instruction Register
Store the instructions
RUN_BIST, RUN_DIAGN, EXPORT_STATUS, TAM_CONTROL
Bypass Register yp g
It is selected if the corresponding memory core is not
tested
Monitor Register
Monitor the error flag (indicating whether a memory o to t e e o ag ( d cat g et e a e o y
fault is detected or not)
Status Register Status Register
Record the key status values, such as Fail output from
the BIST
40 Jin-Fu Li EE, National Central University
Testing Multiple Memories with MBI
Using RUN_BIST instruction, we can test multiple
memory cores concurrently memory cores concurrently
When one or more BIST circuits detect faults, the primary
MSO_N will be high after N-K clock cycles if the concurrent
output of the (K+1) through the N memory cores are fault free
41 Jin-Fu Li EE, National Central University
output of the (K+1) through the N memory cores are fault free
Sharing BIST Hardware
BIST controlling signals
BIST Controller
TPG &
Comparator
BIST C ll BIST C ll BIST C ll
RAM 1
BIST Collar
RAM N
BIST Collar
RAM 2
BIST Collar
42 Jin-Fu Li EE, National Central University
RAM BIST Compiler
S P f C W W NTHU
43 Jin-Fu Li EE, National Central University
Source: Prof. C. W. Wu, NTHU
1500-Compilant BIST
T
RAM
W
r
a
T
A
P
C
o
n
T
A
P
RAM
BIST
p
p
e
r
n
t
r
o
l
l
e
r
P
44 Jin-Fu Li EE, National Central University
Programmable BISD for RAMs in SOCs
General test architecture
ATE ATE
TAP controller
SOC
TAM
Processor + Test Program Memory
Wrapper
TAM
Embedded Memory Core
S A ll D l ITC03
45 Jin-Fu Li EE, National Central University
Source: Appello D., et. al. ITC03
Programmable BISD for RAMs in SOCs
Test Processor
Processor
Control
Unit
Wrapper
P1500
Instructions
Test Program
Memory
Adapter
P1500
Output Data
Address Bus
Data Bus
Control Signals
S A ll D l ITC03
g
46 Jin-Fu Li EE, National Central University
Source: Appello D., et. al. ITC03
Programmable BISD for RAMs in SOCs
Control Unit
Manage the test programexecution Manage the test program execution
Include an Instruction Register (IR) and
ProgramCounter (PC) Program Counter (PC)
The control unit allows the correct update of
some registers located in Memory Adapter some registers located in Memory Adapter
This part simplifies the processor reuse in
different applications without the need for any different applications without the need for any
re-design
47 Jin-Fu Li EE, National Central University
Programmable BISD for RAMs in SOCs
Memory Adapter
Control Address registers (Current address) g ( _ )
Control Memory registers
Current_data
R i d d t Received_data
Control Test registers
Dbg index, Step, Direction flag, and Timer registers g_ , p, g, g
Result registers
Status, Error, and Result registers
Some constant value registers
Add_Max, Add_Min, DataBackGround, Dbg_max
48 Jin-Fu Li EE, National Central University
Programmable BISD for RAMs in SOCs
Processor instruction set
I t ti M i Instruction Meaning
SET_ADD
Current_address Add_Max
Direction flag BACKWARD Direction flag BACKWARD
RST_ADD
Current_address Add_Min
Direction flag FORWARD g
STORE_DBG
Current_data DataBackGround[Dbg_index]
Dbg_index Dbg_index+1
INV_DBG Current_data NOT (Current_data)
READ Current data Memory[Current address] READ Current_data Memory[Current_address]
WRITE Memory[Current_address] Current_data
49 Jin-Fu Li EE, National Central University
Source: Appello D., et. al. ITC03
Programmable BISD for RAMs in SOCs
Wrapper
WSI
T
A
P
c
W
W
W
C
D
R
W
M
e
WRCK
WRSTN
ShiftWR c
o
n
t
r
o
l
l
e
r
W
I
R
W
B
D
R
R
B
R
e
m
o
r
y
Processor
Test
UpdateWR
CaptureWR
SelectWIR
B
Y
Test
Program
SelectWIR
WSO
CORE
Wrapper
50 Jin-Fu Li EE, National Central University
Source: Appello D., et. al. ITC03
Summary
ROM BIST has been presented p
ROM-based and FSM-based RAM BIST have
been introduced been introduced
Serial BIST methodology for embedded
i h l t d memories has also presented
BIST approaches for testing multiple RAMs in an pp g p
SOC have also been addressed
51 Jin-Fu Li EE, National Central University
References
[1] A. K. Sharma,Semiconductor memories technology, testing, and
li bilit IEEE P 1997 reliability, IEEE Press, 1997.
[2] B. Nadeau-Dostie, A. Silburt, and V. K. Agarwal,Serial interfacing for
embedded-memory testing, IEEE D&T, pp.52-63, apr. 1990.
[3] C. W. Wu,VLSI testing & design for testability II: Memory built-in self-
test, http://larc.ee.nthu.edu.tw/~cww/
[4]C.-H. Tsai and C.-W. Wu, ``Processor-programmable memory BIST for [4]C. H. Tsai and C. W. Wu, Processor programmable memory BIST for
bus-connected embedded memories'', in Proc. Asia and South Pacific
Design Automation Conf. (ASP-DAC), Yokohama, Jan. 2001, pp. 325-330
[5]C -W Wang C -F Wu J -F Li C -W Wu T Teng K Chiu and H -P Lin ``A [5]C. W. Wang, C. F. Wu, J. F. Li, C. W. Wu, T. Teng, K. Chiu, and H. P. Lin, A
built-in self-test and self-diagnosis scheme for embedded SRAM'', in Proc.
9th IEEE Asian Test Symp. (ATS),Taipei, Dec. 2000, pp. 45-50
[6]D Appello F Corno M Giovinetto M Rebaudengo and M S ReordaA [6]D. Appello, F. Corno, M. Giovinetto, M. Rebaudengo, and M. S. Reorda, A
P1500 compliant BIST-Based approach ro embedded RAM diagnosis,
pp.97-102, MTDT, 2001.
[7]J F Li H J H J B Ch C P S C W W C Ch S I Ch C Y [7]J. F. Li, H. J. Huang, J. B. Chen, C. P. Su, C. W. Wu, C. Cheng, S. I. Chen, C. Y.
Hwang, and H. P. Lin,A hierarchical test methodology for systems on chip,
IEEE Micro, pp. 69-81, Sep./Oct., 2002.
f
52 Jin-Fu Li EE, National Central University
[8]S. Mourad and Y. Zorian,Principles of Testing Electronic Systems, John
Wiley & Sons, 2000.