15-Chapter 10 BSCAN 1500 PDF
15-Chapter 10 BSCAN 1500 PDF
15-Chapter 10 BSCAN 1500 PDF
VLSIEE141
Test Principles and Architectures
Outline
Introduction
Digital
VLSIEE141
Test Principles and Architectures
Boundary Scan
Original
Mid-1980: JETAG
1988: JTAG
1990: First boundary scan standard 1149.1
VLSIEE141
Test Principles and Architectures
Main target
Status
Std. 1149.1-2001
Discontinue
Std. 1149.4-1999
Std. 1149.5-1995
(not endorsed by
IEEE since 2003)
Std. 1149.6-2003
VLSIEE141
Test Principles and Architectures
RAM
RAM
ROM
GLUE LOGIC
PLL
DAC
BUS &
INTERCONNECT
DSP
CPU
IP 1
ASIC 1
IP 2
ASIC
2
RAM
DSP
ALU
ASIC
ROM
ASIC
5
VLSIEE141
Test Principles and Architectures
concepts
Overall test architecture & operations
Hardware components
Instruction register & instruction set
Boundary scan description language
On-chip test support
Board/system-level control architectures
6
VLSIEE141
Test Principles and Architectures
Internal
Logic
VLSIEE141
Test Principles and Architectures
Boundary-scan chain
Serial
Data in
Serial
Data out
Internal
Logic
Internal
Logic
Internal
Logic
Internal
Logic
System interconnect
8
VLSIEE141
Test Principles and Architectures
Boundary-Scan Register
(consists of boundary
Scan cells)
1
Internal Registers
Miscellaneous Register
1
Instruction Register
TAP
Controller
1
VLSIEE141
Test Principles and Architectures
Basic Operations
1. Instruction sent (serially) through TDI into
instruction register.
2. Selected test circuitry configured to respond to
the instruction.
3. Test pattern shifted into selected data register
and applied to logic to be tested
4. Test response captured into some data register
5. Captured response shifted out; new test pattern
shifted in simultaneously
6. Steps 3-5 repeated until all test patterns are
applied.
11
VLSIEE141
Test Principles and Architectures
T
A
P
M
U
X
0M
U 1D
1 X
EN
T
A
P
C
3
ClockDR, ShiftDR, UpdateDR
Reset*
ClockIR, ShiftIR, UpdateIR
IR decode
Instruction Register
Select
TCK
Enable
12
VLSIEE141
Test Principles and Architectures
Data registers
Boundary scan register: consists of boundary
scan cells
Bypass register: a one-bit register used to pass
test signal from a chip when it is not involved in
current test operation
Device-ID register: for the loading of product
information (manufacturer, part number, version
number, etc.)
Other user-specified data registers (scan chains,
LFSR for BIST, etc.)
13
VLSIEE141
Test Principles and Architectures
Operation modes
VLSIEE141
Test Principles and Architectures
TAP Controller
A
15
VLSIEE141
Test Principles and Architectures
16
VLSIEE141
Test Principles and Architectures
control signals to
Reset BS circuitry
Load instructions into instruction register
Perform test capture operation
Perform test update operation
Shift test data in and out
17
VLSIEE141
Test Principles and Architectures
VLSIEE141
Test Principles and Architectures
Instruction Set
BYPASS
Bypass data through a chip
SAMPLE
Sample (capture) test data into BSR
PRELOAD
Shift-in test data and update BSR
EXTEST
Test interconnection between chips of board
Optional
INTEST, RUNBIST, CLAMP, IDCODE, USERCODE,
HIGH-Z, etc.
VLSIEE141
Test Principles and Architectures
19
20
VLSIEE141
Test Principles and Architectures
21
VLSIEE141
Test Principles and Architectures
Input
M
U
X
PRELOAD
R1
R2
TDI
M Output
U
X
Internal
Logic
R1
R2
TDO
22
VLSIEE141
Test Principles and Architectures
(Chip1)
Internal
Logic
TDI
Registers
TAP controller
Internal
Logic
TDO TDI
Registers
TDO
TAP controller
23
VLSIEE141
Test Principles and Architectures
(Chip1)
Capture-DR (Chip2)
24
VLSIEE141
Test Principles and Architectures
(Chip2)
Internal
Logic
TDI
Registers
TAP controller
Internal
Logic
TDO TDI
Registers
TDO
TAP controller
25
VLSIEE141
Test Principles and Architectures
26
VLSIEE141
Test Principles and Architectures
27
VLSIEE141
Test Principles and Architectures
Internal
Logic
TDI
Registers
TDO
TAP controller
28
VLSIEE141
Test Principles and Architectures
Internal
Logic
TDI
Registers
TDO
TAP controller
29
VLSIEE141
Test Principles and Architectures
VLSIEE141
Test Principles and Architectures
Features of BSDL
Describes
VLSIEE141
Test Principles and Architectures
32
VLSIEE141
Test Principles and Architectures
Bus master
TDI
TDO
TMS
TCK
VLSIEE141
Test Principles and Architectures
TDI
TCK
TMS
TDO
#1
TDI
TCK
TMS
TDO
#2
TDI
TCK
TMS
TDO
#N
33
Bus master
TDI
TDO
TMS1
TMS2
TDI
TCK
TMS
TDO
#1
TDI
TCK
TMS
TDO
#2
TDI
TCK
TMS
TDO
#N
TMSN
TCK
VLSIEE141
Test Principles and Architectures
34
architecture
35
VLSIEE141
Test Principles and Architectures
architecture
Multi-Drop
Device
Multi-Drop
Device
Multi-Drop
Device
Bus master
TDI
TMS
TCK
TDO
Test Bus
36
VLSIEE141
Test Principles and Architectures
architecture
37
VLSIEE141
Test Principles and Architectures
test receiver
Digital driver logic
Digital receiver logic
Test access port for 1149.6
38
VLSIEE141
Test Principles and Architectures
Rationale
Advanced
Coupling
39
VLSIEE141
Test Principles and Architectures
TX
RX
VT
Update-DR
VH
TX
VL
VH
RX
VL
Capture-DR
VLSIEE141
Test Principles and Architectures
40
TX
RX
41
VLSIEE141
Test Principles and Architectures
42
VLSIEE141
Test Principles and Architectures
Shift out
Data
0
1
1
Mode
AC Test Signal
Insertion, per driver
AC Mode
Shift in
ShiftDR
UpdateDR
ClockDR
Train/Pulse
D Q
RTI State
TCK
AC Test Signal
(distributed to all AC
drivers)
Mode
AC Mode Train/Pulse
1149.1 Bypass
1149.1 Extest
Extest_Pulse
Extest_Train
43
VLSIEE141
Test Principles and Architectures
Shift Out
Shift In
Boundary
Register
Cell
TCK
1
0
ShiftDR
EXTEST_PULSE
or
EXTEST_TRAIN
Selected
Pad
RF
Capture
FF
ClockDR
Update
FF
UpdateDR
TAP State
Capture-DR
Shift_DR
Init_Memory
Clock_DR
EXTEST_PULSE, EXTEST_TRAIN:
TCK
TAP State
TMS
VHyst
Exit*-DR
Update_DR
Latch Q
Init_Memory
AC
Set
D Hyst
DC
Test
Receiver
EXTEST:
CF
Mem
Clear
VT
VHyst
Init_Memory
(common to all
test receivers)
SET
CLR
D
D
LG
EXTEST_TRAIN
EXTEST_PULSE
TMS
Exit1-DR
Exit2-DR
TCK
NOTE: The generated clock (Init_Memory) shown is suitable for rising edge-sensitive behavior only.
VLSIEE141
Test Principles and Architectures
44
Update-xR
Run-Test/Idle
Select-DR Capture-DR
AC Test Signal
Update Point
AC Pin Driver
Capture Point
Data
Inverted Data
Data
45
VLSIEE141
Test Principles and Architectures
test problems
Overall architecture
Wrapper components and functions
Instruction set
Core test language
Core test supporting and system test
configurations
Hierarchical test control and plug & play
46
VLSIEE141
Test Principles and Architectures
IP protection/test reuse
Need core test standard/documentation
47
VLSIEE141
Test Principles and Architectures
VLSIEE141
Test Principles and Architectures
49
VLSIEE141
Test Principles and Architectures
Optional W rapper
Parallel Port (W PP)
W PC
W rapper
Parallel Input
W rapper
Parallel Output
W PI
W PO
Core
W SI
W rapper
Serial Input
Required W rapper
Serial Port (W SP)
W rapper
W SO
W rapper
Serial Output
W SC
W rapper
Serial Control
50
VLSIEE141
Test Principles and Architectures
51
VLSIEE141
Test Principles and Architectures
Wrapper Components
VLSIEE141
Test Principles and Architectures
52
VLSIEE141
Test Principles and Architectures
54
VLSIEE141
Test Principles and Architectures
WBC
VLSIEE141
Test Principles and Architectures
56
VLSIEE141
Test Principles and Architectures
Storage
element
Data
path
Decision
point
Data paths
from a source
57
VLSIEE141
Test Principles and Architectures
58
VLSIEE141
Test Principles and Architectures
WIR Circuitry
{SelectWIR,
WRCK,
WRSTN,
CaptureWR,
ShiftWR,
UpdateWR}
Core_Cntrl
WDR_Cntrl
CDR_Cntrl
DR_Select[n:0]
WBR_Cntrl
WBY_Cntrl
WSO
CDR k
DR_Select[n:0]
WDR k
DR_WSO
WSI
WBY
59
VLSIEE141
Test Principles and Architectures
WRCK
D1
XFER
MODE
CFI
CAPT
CFO
CTO
D2
IO_FACE
WRCK
60
VLSIEE141
Test Principles and Architectures
WS_BYPASS Instruction
61
VLSIEE141
Test Principles and Architectures
WS_EXTEST Instruction
62
VLSIEE141
Test Principles and Architectures
WP_EXTEXT Instruction
63
VLSIEE141
Test Principles and Architectures
WS_SAFE Instruction
Disabled
FI
Safe
States
W
B
R
Core FO
FI
FO
W
B
R
Safe
States
Bypass
WSI
WSO
WIR
WSC
64
VLSIEE141
Test Principles and Architectures
WS_PRELOAD Instruction
65
VLSIEE141
Test Principles and Architectures
WP_PRELOAD Instruction
66
VLSIEE141
Test Principles and Architectures
WS_CLAMP Instruction
67
VLSIEE141
Test Principles and Architectures
WS_INTEST Instruction
68
VLSIEE141
Test Principles and Architectures
WS_INTEST_SCAN Instruction
69
VLSIEE141
Test Principles and Architectures
70
VLSIEE141
Test Principles and Architectures
71
VLSIEE141
Test Principles and Architectures
72
VLSIEE141
Test Principles and Architectures
73
VLSIEE141
Test Principles and Architectures
74
VLSIEE141
Test Principles and Architectures
75
VLSIEE141
Test Principles and Architectures
76
VLSIEE141
Test Principles and Architectures
77
VLSIEE141
Test Principles and Architectures
78
VLSIEE141
Test Principles and Architectures
79
VLSIEE141
Test Principles and Architectures
80
VLSIEE141
Test Principles and Architectures
1500
Board-level
Core-based
No
Yes
Mandatory: TDI, TDO, Mandatory: WSI, WSO, 6 WSC
TMS, TCK
Optional: TransferDR, WPP,
AUXCKn(s)
Optional: TRST
Yes
No
No
Yes
Yes
No
EXTEST, BYPASS, WS_EXTEST, WS_BYPASS,
SAMPLE, PRELOAD one Wx_INTEST,
WS_PRELOAD (cond. required)
81
VLSIEE141
Test Principles and Architectures