Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
In this chapter...
Overview, 5-2
InterconnectPlus, 5-18
Boundary-Scan Guide
06/2003
5-1
NOTE
Overview
Boundary-Scan Guide
5-2
Introduction To
Testing Device
Chains
u2
u1
TAP
TDI
TDO
TDI
TAP
u6
TDO
TMS
TCK
TDI
TAP
u7
u4
u3
TDO
TDI
TAP
TDO
u5
Boundary-Scan Guide
5-3
Boundary-Scan Guide
5-4
Figure 5-2
u1
u2
u3
TDO
TDI
TCK
TMS
TRST
Device
Instruction
Register Length
Boundary
Register Length
u1
6 bits
24 cells
u2
6 bits
24 cells
u3
10 bits
30 cells
Boundary-Scan Guide
Table 5-1
5-5
Table 5-1
Device
Instruction
Register Length
Boundary
Register Length
Register
length for
entire chain
22 bits
78 cells
Table 5-2
Device
Extest Instruction
Bypass Instruction
u1
000000
111111
u2
000000
111111
u3
0000000000
1111111111
Concatenated Instructions
0000000000000000000000
1111111111111111111111
Boundary-Scan Guide
5-6
Figure 5-3
TDI
BYPASS
u2
BYPASS
u3
TDO
TCK
TMS
TRST
From this you can see that the length of the Instruction
Register for the chain is fixed: the sum of the length of
all the Instruction Registers in the chain. However, the
length of the chain's active Data Register is dependent
upon the current instructions for each device in the
chain: the sum of the length of the active Data Registers
in the chain. This, in turn, affects the length of the data
bits that must be shifted for a given set of tests.
InterconnectPlus software keeps track of these changes
as you develop your chain test. The information in the
Boundary-Scan Guide
5-7
Boundary-Scan Guide
5-8
Figure 5-4
u4
u5
u2
u1
TD1
Boundary-Scan Guide
u6
TDO
5-9
Figure 5-5
Figure 5-6
Boundary-Scan Guide
5-10
Boundary-Scan Guide
Figure 5-7
5-11
Figure 5-8
Boundary-Scan Guide
5-12
Figure 5-9
u1
TDI
TCK
u2
u3
TDO
TCK1
TMS1
TRST
TMS
TCK2
TMS2
Boundary-Scan Guide
5-13
Figure 5-10
Logical chain that will be treated as two chains. (A candidate for chain override.)
TDO_TDI
TDI
U1
TCK
TDO
U2
TCK1
A
TCK2
TMS1
TMS
TMS2
Boundary-Scan Guide
TDO TDO
TCK TCK2
TMS TMS2
DEVICES
u2;
5-14
Edited chain
Boundary-Scan Guide
name>
TMS TMS
! TMS <node
name>
DEVICES
devices in the chain
u1, u2;
nearest TDI
! now name
! first device
! last device
NOTE
For more information about using GP relays, refer
to the Cards in the Testhead documentation, and
Development3.
5-15
Figure 5-11
C ha in 1
u2
u1
u2
u1
TDI
TDI
u3
u4
u3
TDO
u4
TDO
Boundary-Scan Guide
5-16
Figure 5-12
Connecting a jumper to make a longer chain around non-compliant devices is not recommended
u10
u11
TDI
N.C.
u13
u20
u21
TDO
Boundary-Scan Guide
5-17
Table 5-3
InterconnectPlus
Chain Testing
InterconnectPlus software's chain testing comprises
powered shorts, TAP integrity, interconnect, buswire,
connect tests, and the ability to do Silicon Nails1 testing.
Through the use of the IEEE 1149.1-1990 required
instruction set, many manufacturing faults can be
detected and diagnosed. This is accomplished by
employing the EXTEST function for the detection of
faults in the interconnections of both bussed and
non-bussed devices, whether or not testhead access is
provided.
Sequence
Table 5-3
Type
Method
Boundary-Scan
Automatic
Boundary-Scan
Automatic
Interconnect Test
Boundary-Scan
Automatic
Buswire Test
Boundary-Scan
Automatic
Connect Test
Boundary-Scan
Automatic
Conventional
Automatic
Boundary-Scan
Interactive
Boundary-Scan
Interactive
Sequence
Type
Method
Shorts Tests
Conventional
Automatic
Conventional
Automatic
Boundary-Scan Guide
5-18
Boundary-Scan Guide
5-19
Boundary-Scan Guide
5-20
Boundary-Scan Guide
5-21
Figure 5-13
Boundary-Scan Guide
5-22
Figure 5-14
Powered shorts Ttest checks for shorts between unnailed boundary-scan nodes and any other nailed node
VCC
IN_17
IN_18
VCC
1
u3
24
U3_3
U3_2
*Potential Short
*Potential Short
9
10
12
1
24
22
u4
23
*Potential Short
8
u5
11
13
*Potential Short
Boundary-Scan Guide
5-23
Boundary-Scan Guide
5-24
Figure 5-15
u1
u2
TDI
u4
u3
TDO
Boundary-Scan Guide
5-25
Boundary-Scan Guide
Interconnect Test
Remember that this test is created automatically, and in
most cases will work without debug. The information in
this section is provided for background. Interconnect
test allows you to test the circuitry that connects one
boundary-scan device to another. Interconnect test
primarily looks for shorts, then most opens. (A buswire
test might be necessary to detect opens missed by
interconnect test.) Only the connections between
devices in the same boundary-scan chain can be
verified.
5-26
Boundary-Scan Guide
5-27
Figure 5-16
Interconnect Test checks connections between two or more boundary-scan devices connected in a chain
u1
u2
TDI
Nodes Tested in
Interconnect
u4
u3
TDO
Boundary-Scan Guide
Table 5-4
A
5-28
Boundary-Scan Guide
5-29
Figure 5-17
u1
u2
0 1 0 1 0
B
C
0 1 0 1 1
TDI
u3
u4
B
D
0 1 1 0 1
TDO
Frame
1 2 3 4 5
Boundary-Scan Guide
5-30
Boundary-Scan Guide
5-31
u1
u2
12
13
TDI
C o nt ro l C el l
u3
u4
10
TDO
Con tro l Ce ll
Boundary-Scan Guide
cell. For this example, let's say that the software looks
for and finds a driver for u1.13. It finds the only one
available and designates it as the driver for that node.
5-32
Boundary-Scan Guide
NOTE
The exception to this is a TAP-only device, which
is always in BYPASS during testing.
When the devices pass through UPDATE-IR, the driver
cells drive the SAMPLE/PRELOAD data bits to the
receive cells. As the devices pass through CAPTURE-DR,
the receive cells capture the data, and subsequently shift
it out. When these bits are being shifted out, new bits are
shifted in. Subsequent passes through UPDATE-DR drive
new bits to the receive cells, which are then shifted out
for examination. Data shifted out should correspond to
the signatures for each node.
Safe bits (described in the BSDL file) are shifted in for
the last frame to flush the Boundary Register and shift
the final signature bits out.
The safe bits specified in the BSDL file provide the
value that the device's designer prefers to have loaded
into the associated cell's UPDATE flip-flop when
software might otherwise randomly choose a value. For
more information and examples of safe bits, refer to
chapter 2 in this documentation.
5-33
NOTE
The examples that follow are simplified to
provide a basic understanding of how the software
detects faults during test. The actual diagnosis is
more complex and is explained later in this
chapter.
Boundary-Scan Guide
5-34
Figure 5-18
u1
B
C
u3
u2
0
0
u4
Boundary-Scan Guide
5-35
Figure 5-19
u1
B
C
1 A
0
0
0
u2
TDI
u3
B
D
0
0
0
u4
TDO
Boundary-Scan Guide
5-36
Figure 5-20
u1
B
C
0
0
0
Open
1 A
u2
TDI
u3
B
D
A 0
0
0
1 A
u4
TDO
Boundary-Scan Guide
5-37
Table 5-5
Frames
Node
Power Bits
Eliminates Aliasing
to Ground or VCC
Counting Bits
Primarily Distinguishes one
Node From Another
Boundary-Scan Guide
Complement Bits
Reduces Incidence of Aliasing
Between Active Nodes
5-38
Figure 5-21
.Interconnect Test uses signatures to check for shorts and opens. In this example, a short is detected
Expe cte d
S i g n a t u re s
Cap t ure d
S i g n a t u re s
0 1 0
0 0 1
0 1 1
0 1 1
u1
B
C
u2
TDI
u3
u4
D
TDO
Boundary-Scan Guide
5-39
11
12
13
u2
T DI
Con trol Ce ll
u3
8
9
10
u4
TDO
C o nt ro l C ell
Buswire Test
Remember that this test is created automatically, and in
Agilent Technologies 2002, 2003
Boundary-Scan Guide
5-40
u1
TDI
u3
u4
T DO
Boundary-Scan Guide
5-41
Boundary-Scan Guide
5-42
Figure 5-24
A
OFF
ON
ON
ON
OFF
U nd ete ct ed F a ilures
Un de t ec te d F a ilu res
Co n tro l C el l t o O t he r F a n Dr iv e rs
C
ON
ON
U nd et e ct ed F a il ure s
Drivers Ganged For Increasing Current
Boundary-Scan Guide
5-43
Device.Pin
Node
Bit Pattern
u1.10
01
ZZ
u3.10
ZZ
01
u1.9
01
ZZ
u3.9
ZZ
01
Boundary-Scan Guide
5-44
Figure 5-25
10
u1 9
8
B
C
TDI
TDO
Boundary-Scan Guide
5-45
Device.Pin
Node
Bit Pattern
u1.10
01
ZZ
ZZ
u3.10
ZZ
01
ZZ
u1.9
01
ZZ
ZZ
u5.5
ZZ
01
ZZ
u3.9
ZZ
ZZ
01
Boundary-Scan Guide
5-46
Figure 5-26
TDI
TDO
Connect Test
Remember that this test is created automatically, and in
most cases will work without debug. The information in
this section is provided for background.
InterconnectPlus connect test allows you to test for
Agilent Technologies 2002, 2003
Boundary-Scan Guide
5-47
(uY) until all devices have been tested. All other devices
in the chain are placed in BYPASS. One connect test is
generated for each device in the boundary-scan chain
Figure 5-27
TDI
TDO
Boundary-Scan Guide
5-48
NOTE
If an upstream device that is in BYPASS has
outputs that affect the DUT, IPG will generate the
required disabling methods to eliminate conflicts
Note that the nodes tested by a connect test would not
have been tested by interconnect test if they were not
part of the interconnect circuitry.
Connect test employs the Parallel Toggle macro.
Complimentary patterns are captured, shifted, and
compared to check for opens. A test is created for each
boundary-scan device that:
Boundary-Scan Guide
5-49
NOTE
NOTE
Boundary-Scan Guide
5-50
Figure 5-28
TDI
De vic es N o t Con ne ct ed
in a Chain
Ph y s i c a l P ro b e
TDO
D evi ce s Con nec t ed i n a C h a i n
(A ll C o nne c t Tes t Nod es Mu st h av e Pro b es
Boundary-Scan Guide
5-51
Boundary-Scan Guide
5-52
Generating Tests
For Boundary-Scan
Chains
Boundary-Scan Guide
5-53
Figure 5-29
board
Compiler
"board.o"
"board_xy.o"
TOPOLOGY
IPG
Creates 5 ITL Source Files
P o w e re d S h o r t s Te s t
(1 per chain)
uX_uY_ps
I n t e rc o n n e c t Te s t
(1 per chain)
uX_uY
B u s w i re Te s t
(1 per chain)
uX_uY_bus
C o n n e c t Te s t
(1 per device connected
to real nails)
uX_connect
S i l i c o n N a i l Te s t
(parallel test)
uX
MSPD -serializer
creates 4 VCL source files
I n t e r c o n n e c t Te s t
u X _ u Y. v c l
and
u X _ u Y. v c l . x
B u s w i re Te s t
uX_uY_bus.vcl
and
uX_uY_bus.vcl.x
C o n n e c t Te s t
uX_connect.vcl
and
uX_uY_connect.vcl
S e r i a l i z e d Te s t
uX_sn.vcl
and
uX.vcl.x
C o n n e c t Te s t
(executable)
uX_connect.r
or
uX_connect.o
S i l i c o n N a i l Te s t
uX_sn.o
(executable)
or
uX.r
Compiler
P o w e r e d S h o r t s Te s t
(executable)
uX_uY_ps.r
or
u X _ u Y. o
I n t e rc o n n e c t Te s t
(executable)
u X _ u Y. r
or
u X _ Y. o
B u s w i r e Te s t
(executable)
uX_uY_bus.r
or
uX_uY_bus.o
TESTHEAD
Boundary-Scan Guide
Results Analysis
5-54
NOTE
ITL source files contain references to BSDL files.
These files must have been compiled (creating .o
objects) in advance of compiling the ITL files.
IPG generates four preliminary test structures: powered
shorts, interconnect, buswire, and connect. IPG
generates one interconnect test for each chain, one
buswire test for each chain, one powered shorts test for
each chain, and one connect test for each device in the
chain connected to physical probes. The names assigned
to each test type by IPG are:
Boundary-Scan Guide
connect test:
<device>_connect, where <device> is the name of
one device in the chain. For example: u3_connect
5-55
Figure 5-30
Use the library paths form to tell IPG where to find the BSDL files
Boundary-Scan Guide
5-56
Boundary-Scan Guide
5-57
Figure 5-31
Boundary-Scan Guide
5-58
Boundary-Scan Guide
5-59
Boundary-Scan Guide
5-60
Boundary-Scan Guide
NOTE
Figure 5-32
Boundary-Scan Guide
5-62
Figure 5-33
Boundary-Scan Guide
5-63
Boundary-Scan Guide
5-64
Boundary-Scan Guide
5-65
Figure 5-34
TDI
TDO
Internal*
Output
Control
TDI
TCK
TDO
TMS
Output* Control
Boundary-Scan Guide
5-66
NOTE
Boundary-Scan Guide
5-67
Boundary-Scan Guide
5-68
Figure 5-35
TDI
TDO
Boundary-Scan Guide
5-69
Figure 5-36
Boundary-scan devices set in BYPASS and needing disabling must use standard device disabling methods
EXTEST
BYPASS
TDI
BYPASS
BYPASS
TDO
-bidirectional pins
Boundary-Scan Guide
5-70
connect "u44"
chain "u57_u44"
tdi "TDI"
tdo "TDO"
tms "TMS"
tck "TCK"
trst "TRST"
devices
"u44",
"users/scan_brd/digital/74bct8374",
"FK_PACKAGE", no
end devices
end chain
nodes
fixed high "+5V" test "u44.7"
node "u44-8" hybrid test "u44.8"
Boundary-Scan Guide
end nodes
end connect
5-71
Boundary-Scan Disables On
When a connect test is executed, only one device is
tested at a time. If other devices in the chain have bussed
pins that need to be disabled in order to test a pin of the
selected device, the bussed devices will be issued the
HIGHZ instruction, instead of the BYPASS instruction,
to allow testing of the bussed pins.
If the HIGHZ instruction is not available for a device
that needs to be disabled, the device will be issued the
CLAMP instruction during the connect test, if it is
available. If the CLAMP instruction is not available, the
device will be issued the EXTEST instruction, and its
Boundary-Scan Guide
5-72
Adds a new ITL file with the suffix _dis for each
chain
Boundary-Scan Guide
5-73
Boundary-Scan Guide
5-74
Figure 5-37
Boundary-scan disabling may leave a devices internal logic in an undefined state and prevent the conventional
disabling of non-boundary-scan pins
Int
er
un nal lo
def gi
ine c
d
Non-boundary-scan pin
(non-compliant)
Non-boundary-scan pin
(non-compliant)
IR
TAP
CONTROLLER
Boundary-Scan Guide
5-75
Boundary-Scan Guide
5-76
Figure 5-38
Test-Logic-Reset
0
0
Run-Test/Idle
Select-DR-Scan
0
Boundary-scan
disabling places
the component
in this state
0
1
Capture-DR
Capture-IR
Shift-DR
Shift-IR
Exit1-DR
Pause-DR
Pause-IR
1
0
Exit2-IR
1
1
Update-DR
Boundary-Scan Guide
Exit2-DR
Data
Exit1-IR
Select-DR-Scan
Update-IR
0
Instruction
5-77
pause statement. You can view them when you edit the
test program. Example 5-3 shows a sample message.
Sample message
Boundary-Scan Guide
5-78
Boundary-Scan Guide
5-79
Figure 5-39
Vcc
TCK
Oscillator
Vcc
GP
TCK
AND
TCK should be held at a logic low level.
It can also be held at a logic high level
if all boundary-scan devices support a
stable state when TCK stops at 1.
GP
Boundary-Scan Guide
5-80
Figure 5-40
TDI
TDO
TDI
TDO
TMS
TCK
TMS
TCK
TMS1
TDO
TCK
TMS2
TCK
TDI
TMS
TDO
Boundary-Scan Guide
TCK
TDI
TMS
TDO
the field set to Off and IPG would use the entire chain
rather than local TDI/TDO nodes.
The only entry that you would be concerned with in this
form (with respect to boundary-scan testing) is the
Boundary-Scan Overdrive field. The default setting is
Off. If you turn this setting On, IPG will use the local
TDI and TDO nodes for each device to be overdriven
provided probes exist on these nodes.
5-81
NOTE
When you set the Boundary-Scan Disable field
On, the Boundary-Scan Overdrive option is
automatically set to Off. See Using
Boundary-Scan Disabling on page 5-71 for more
information.
Refer to Tools2 for more information about this form.
Boundary-Scan Linker/MUX
Boundary-Scan Linker/MUX devices can create testing
difficulties. For example, these devices may appear in
chains in up to five places. They appear as the device
itself, and also as pad bits in up to four places. These
pad bits are internal to the device but appear in the chain
as well. This causes a one bit delay per pad in the chain
causing the test to fail. The solution is to combine these
pad bits into the proper places in the chain.
Figure 5-41 shows a device linking simple chains A, B,
and C. Pad bits are inserted in the linked chain and are
actually resident in the 74ACT8997 device. These pad
bits appear in a normal 1149.1 form at the end of the
chain.
Boundary-Scan Guide
5-82
Figure 5-41
A1
TDI
A2
Ai
PAD
BIT
B1
B2
Bj
C1
C2
Ck
PAD
BIT
PAD
BIT
Boundary-Scan Guide
8997
TDO
TDI 1TDI
TDO 1TDO
TCK 1TCK
TMS 1TMS
DEVICES
1u1, 1u2, 1u3, 1u4;
2u1_2u4
TDI 2TDI
TDO 2TDO
TCK 2TCK
TMS 2TMS
5-83
DEVICES
2u1, 2u2, 2u3, 2u4;
linker_linker
TDI TDI-LINKER
TDO TDO-LINKER
TCK TCK-LINKER
TMS TMS-LINKER
DEVICES
Example 5-4
linker;
END;
The system runs tpg creating ITL files for the chain.
These ITL files have a chain description section looking
like Example 5-5.
Example 5-5
Chain description
chain "1u1_linker"
tdi "TDI_LINKER" channel;hybrid
tdo "TDO_LINKER" channel;hybrid
Boundary-Scan Guide
5-84
no
no
no
no
no
no
no
no
no
You then edit in the pad bits and optionally, the pointer
to the PCF fragment needed to configure the
linker/MUX chip.
Example 5-6
chain "1u1_1u4"
tdi "TDI_LINKER" channel;hybrid
tdo "TDO_LINKER" channel;hybrid
tms "TMS_LINKER" channel;hybrid
tck "TCK_LINKER" channel;hybrid
devices
pad
"1u1", "custom/74bct8374", "DW_PACKAGE",
"1u2", "custom/74bct8374", "DW_PACKAGE",
"1u3", "custom/74bct8374", "DW_PACKAGE",
"1u4", "custom/74bct8374", "DW_PACKAGE",
pad
"2u1", "custom/74bct8374", "DW_PACKAGE",
Boundary-Scan Guide
no
no
no
no
no
5-85
EXAMPLE 1:
You have just translated data from Computer Aided
Design (CAD) and now have a board file. The
Boundary-Scan section of the testability report tells you
that three Boundary-Scan chains exist on the board
when you thought there was one. You discover a TI
74ACT8997 chip and two subchains on the board. You
decide to test the board with the chains and the linker all
grafted together. This means that you will need to turn
on the Global Boundary-Scan Chain Override.
The list object function generates a new board file with
the chain structure described at the very end. You edit
the file as shown in the preceding section to perform the
graft. The program generation process continues until
the ITL files for Boundary-Scan are created by IPG. You
edit the ITL files to add in the pad bits and a pointer to
the PCF fragment, called, for example, linker_setup
under the digital directory. You next create a text file
under the digital directory called linker_setup
containing a PCF block utilizing the scan PCF order for
the TAP pins. This causes the linker to configure itself
to control two subchains linked as one, per the
Boundary-Scan Guide
no
no
no
no
5-86
Boundary-Scan Guide
5-87
Example 5-7
--------------------------interconnect "mux_2u1_2u8"
chain "2u1_2u8"
tdi "2MTDI" channel;hybrid
tdo "2MTDO" channel;hybrid
tms "2MTMS" channel;hybrid
tck "2MTCK" channel;hybrid
trst "2MTRST" channel;hybrid
devices
pad
"2u1", "custom/74bct8374",
"2u2", "custom/74bct8374",
"2u3", "custom/74bct8374",
"2u4", "custom/74bct8374",
"2u8", "custom/74act8997",
end devices
insert "digital/2u8_setup"
end chain
"DW_PACKAGE",
"DW_PACKAGE",
"DW_PACKAGE",
"DW_PACKAGE",
"DW", no
no
no
no
no
disables
node "2IN_26" channel;hybrid default "1"
node "2IN_28" channel;hybrid default "1"
pcf order is nodes "2IN_26","2IN_28"
unit "disable"
pcf
"11"
end pcf
end unit
end disables
nodes
Boundary-Scan Guide
5-88
Boundary-Scan Guide
5-89
Boundary-Scan Guide
5-90
Example 5-8
--------------------------! Begin insertion
"01ZX1"
"11ZX1"!Select-DR-Scan
"01ZX1"
"11ZX1"!Select-IR-Scan
"00ZX1"
"10ZX1"!Capture-IR
"00ZX1"
"10ZX1"!Shift-IR
end pcf
message "IEEE Std 1149.1-1990 Integrity Failure"
message " Device 2U8 has failed,"
message " suspect device or these pins:"
message " (tck) 15"
message " (tms) 14"
message " (tdi) 16"
message " (tdo) 13"
message " (trst) 26"
pcf
use pcf order Scan
"000H1"!0+0
"100X1"
"001L1"!1
"101X1"
! Loading device 2U8 with instruction SCANSEL(01111110).
"000L1"!2+0
"100X1"
"001X1"!1
"101X1"
"001L1"!2
"101X1"
"001L1"!3
Boundary-Scan Guide
5-91
"101X1"
"001L1"!4
"101X1"
"001X1"!5
"101X1"
"001L1"!6
"101X1"
"010H1"!7
"110X1"!Exit1-IR
"01ZX1"
"11ZX1"!Update-IR
end pcf
message ""
pcf
use pcf order Scan
"01ZX1"
"11ZX1"!Select-DR-Scan
"00ZX1"
"10ZX1"!Capture-DR
"00ZX1"
"10ZX1"!Shift-DR
! Loading device 2U8 register SELECTR[8] (for SCANSEL).
end pcf
message "IEEE Std 1149.1-1990 Integrity Failure"
message " Device 2U8 has failed,"
message " suspect device or these pins:"
message " (tck) 15"
message " (tms) 14"
message " (tdi) 16"
message " (tdo) 13"
message " (trst) 26"
pcf
use pcf order Scan
"001X1"!0+0
"101X1"
"001X1"!1
Boundary-Scan Guide
5-92
"101X1"
"000X1"!2
"100X1"
"000X1"!3
"100X1"
"000X1"!4
"100X1"
"000X1"!5
"100X1"
"000X1"!6
"100X1"
"010X1"!7
"110X1"!Exit1-DR
"01ZX1"
"11ZX1"!Update-DR
end pcf
message ""
pcf
use pcf order Scan
"00ZX1"
"10ZX1"!Run-Test/Idle
! End of insert
---------------------------
Boundary-Scan Guide
5-93
Boundary-Scan Guide
5-94
Example 5-9
--------------------------< source deleted >
!
!
!
!
!
!
!
!
Device
--------Pad Bit
2U1
2U2
2U3
2U4
2U8
Entity
-----------
Package
-----------
BSDL File
-----------------
TTL74BCT8374
TTL74BCT8374
TTL74BCT8374
TTL74BCT8374
SN74ACT8997T
DW_PACKAGE
DW_PACKAGE
DW_PACKAGE
DW_PACKAGE
DW
custom/74bct8374
custom/74bct8374
custom/74bct8374
custom/74bct8374
custom/74act8997
TMS,
TDI,
TDO,
TRST
Boundary-Scan Guide
5-95
Boundary-Scan Guide
5-96
Boundary-Scan Guide
5-97
"101X1"
"001X1"!5
"101X1"
"001L1"!6
"101X1"
"010H1"!7
"110X1"!Exit1-IR
"01ZX1"
"11ZX1"!Update-IR
end pcf
message ""
pcf
use pcf order Scan
"01ZX1"
"11ZX1"!Select-DR-Scan
"00ZX1"
"10ZX1"!Capture-DR
"00ZX1"
"10ZX1"!Shift-DR
! Loading device 2U8 register SELECTR[8] (for SCANSEL).
end pcf
message "IEEE Std 1149.1-1990 Integrity Failure"
message " Device 2U8 has failed,"
message " suspect device or these pins:"
message " (tck) 15"
message " (tms) 14"
message " (tdi) 16"
message " (tdo) 13"
message " (trst) 26"
pcf
use pcf order Scan
"001X1"!0+0
"101X1"
"001X1"!1
"101X1"
"000X1"!2
Boundary-Scan Guide
5-98
"100X1"
"000X1"!3
"100X1"
"000X1"!4
"100X1"
"000X1"!5
"100X1"
"000X1"!6
"100X1"
"010X1"!7
"110X1"!Exit1-DR
"01ZX1"
"11ZX1"!Update-DR
end pcf
message ""
pcf
use pcf order Scan
"00ZX1"
"10ZX1"!Run-Test/Idle
! End of insert
!
! End of PCF from file digital/2u8_setup,
! 56 vectors inserted.
!
"01ZX1"
"11ZX1"!Select-DR-Scan
"01ZX1"
"11ZX1"!Select-IR-Scan
"00ZX1"
"10ZX1"!Capture-IR
"00ZX1"
"10ZX1"!Shift-IR
end pcf
message "IEEE Std 1149.1-1990 Integrity Failure"
message " Device 2U8 has failed,"
message " suspect device or these pins:"
Boundary-Scan Guide
5-99
Boundary-Scan Guide
5-100
"001L1"!7
"101X1"
! Loading device 2U4 with instruction BYPASS(11111111).
"001L1"!10+0
"101X1"
"001L1"!1
"101X1"
"001L1"!2
"101X1"
"001L1"!3
"101X1"
"001L1"!4
"101X1"
"001H1"!5
"101X1"
end pcf
message "IEEE Std 1149.1-1990 Integrity Failure"
message " Device 2U3 has failed,"
message " suspect device or these pins:"
message " (tck) 13"
message " (tms) 12"
message " (tdi) 14"
message " (tdo) 11"
pcf
use pcf order Scan
"001H1"!6
"101X1"! Vector 125
"001L1"!7
"101X1"
! Loading device 2U3 with instruction BYPASS(11111111).
"001L1"!18+0
"101X1"
"001L1"!1
"101X1"
"001L1"!2
"101X1"
Boundary-Scan Guide
5-101
"001L1"!3
"101X1"
"001L1"!4
"101X1"
"001H1"!5
"101X1"
end pcf
message "IEEE Std 1149.1-1990 Integrity Failure"
message " Device 2U2 has failed,"
message " suspect device or these pins:"
message " (tck) 13"
message " (tms) 12"
message " (tdi) 14"
message " (tdo) 11"
pcf
use pcf order Scan
"001H1"!6
"101X1"
"001L1"!7
"101X1"
! Loading device 2U2 with instruction BYPASS(11111111).
"001L1"!26+0
"101X1"
"001L1"!1
"101X1"
"001L1"!2
"101X1"
"001L1"!3 Vector 150
"101X1"
"001L1"!4
"101X1"
"001H1"!5
"101X1"
end pcf
message "IEEE Std 1149.1-1990 Integrity Failure"
message " Device 2U1 has failed,"
Boundary-Scan Guide
5-102
Boundary-Scan Guide
5-103
Boundary-Scan Guide
5-104
Figure 5-42
U3_3
U3_2
Partial Node
Digital
Boundary-Scan Guide
5-105
Boundary-Scan Guide
5-106
NOTE
For automatically generated boundary-scan tests,
the software writes the power cycling procedure
for you. Reset sequence procedures (particular to
each board) and procedures for manually
generated tests must be added to the testplan
manually.
Boundary-Scan Guide
5-107
ipg/raw
<file name>"
-t
u1_u4_tr
ipg/raw";
wait
Note that you must append the string _tr to the name of
the interconnect test to acquire the testability report for
that test. The information for the test u1_u4 is tagged in
the ipg/raw file as u1_u4_tr.
You can also direct the output to a file and then load or
print that file to view the information. To output the
testability report for u1_u4 in a file named
u1_u4_details, you would enter (on one line):
Boundary-Scan Guide
5-108
Boundary-Scan Guide
5-109
!NODE U3_3
NO_PROBE; ! BSdvr:1 BSrcv:1 dig:1 nondig:0
!NODE U3_2
NO_PROBE; ! BSdvr:1 BSrcv:1 dig:1 nondig:0
!NODE IN_18
NO_PROBE; ! BSdvr:0 BSrcv:2 dig:0 nondig:1
!NODE IN_04
NO_PROBE; ! BSdvr:0 BSrcv:1 dig:0 nondig:1
!NODE OUT_04
NO_PROBE; ! BSdvr:1 BSrcv:0 dig:0 nondig:0
!NODE OUT_05
NO_PROBE; ! BSdvr:1 BSrcv:0 dig:0 nondig:0
!NODE OUT_06
NO_PROBE; ! BSdvr:1 BSrcv:0 dig:0 nondig:0
!NODE IN_03
NO_PROBE; ! BSdvr:0 BSrcv:1 dig:0 nondig:1
!NODE IN_12
NO_PROBE; ! BSdvr:0 BSrcv:1 dig:0 nondig:0
!NODE IN_11
NO_PROBE; ! BSdvr:0 BSrcv:1 dig:0 nondig:0
!NODE IN_10
NO_PROBE; ! BSdvr:0 BSrcv:1 dig:0 nondig:0
!NODE IN_09
NO_PROBE; ! BSdvr:0 BSrcv:1 dig:0 nondig:0
!NODE IN_08
NO_PROBE; ! BSdvr:0 BSrcv:1 dig:0 nondig:0
!NODE IN_07
NO_PROBE; ! BSdvr:0 BSrcv:1 dig:0 nondig:0
!NODE IN_06
NO_PROBE; ! BSdvr:0 BSrcv:1 dig:0 nondig:0
Category 3 Nodes (Have no probes, and probes are not needed)
These nodes have the resources for Boundary-Scan Interconnect
testing and no other device pins exist that would require probes.
They have already had probes removed.
NODE U3_4
! BSdvr:1 BSrcv:1 dig:0 nondig:0
NODE U1_U3_9
! BSdvr:2 BSrcv:2 dig:0 nondig:0
NODE U1_U3_8
! BSdvr:2 BSrcv:2 dig:0 nondig:0
NODE U1_U3_7
! BSdvr:2 BSrcv:2 dig:0 nondig:0
NODE U1_5
! BSdvr:1 BSrcv:2 dig:0 nondig:0
NODE U1_4
! BSdvr:1 BSrcv:1 dig:0 nondig:0
NODE U1_3
! BSdvr:1 BSrcv:1 dig:0 nondig:0
NODE U1_2
! BSdvr:1 BSrcv:1 dig:0 nondig:0
Category 4 Nodes (Have no probes, and probes should be added)
These nodes might not have the resources for Boundary-Scan Interconnect
testing, or, other device pins exist on them that might require probes
to support their test. Adding probes will allow them to be tested.
Not adding probes will reduce fault coverage or cause the need for
additional user-written tests.
NODE U4_10
! BSdvr:1 BSrcv:0 dig:1 nondig:0
NODE U4_9
! BSdvr:1 BSrcv:0 dig:1 nondig:0
NODE U4_8
! BSdvr:1 BSrcv:0 dig:1 nondig:0
Boundary-Scan Guide
5-110
NODE U4_7
! BSdvr:1 BSrcv:0 dig:1 nondig:0
NODE U4_5
! BSdvr:1 BSrcv:0 dig:1 nondig:0
NODE U4_4
! BSdvr:1 BSrcv:0 dig:1 nondig:0
NODE U7_6
! BSdvr:0 BSrcv:1 dig:1 nondig:0
NODE U7_5
! BSdvr:0 BSrcv:1 dig:1 nondig:0
NODE U2_10
! BSdvr:1 BSrcv:0 dig:1 nondig:0
NODE U2_9
! BSdvr:1 BSrcv:0 dig:1 nondig:0
NODE U2_8
! BSdvr:1 BSrcv:0 dig:1 nondig:0
NODE U2_7
! BSdvr:1 BSrcv:0 dig:1 nondig:0
NODE U2_5
! BSdvr:1 BSrcv:0 dig:1 nondig:0
NODE U6_3
! BSdvr:0 BSrcv:1 dig:1 nondig:0
Category 5 Nodes (Have no probes, and probes should be added)
These nodes are capable of being shorted to Boundary-Scan nodes that
cannot be tested by the Powered Shorts algorithm for lack of
accessibility. These nodes are typically ordinary digital/analog
nodes, though some nodes here might also appear in category 4. Adding
probes will allow Powered Shorts testing. If probes are not added, then
coverage will be reduced or these shorts must be tested with some other
user-written test.
NODE U3_TDO
NODE U1_TDO
Boundary-Scan Guide
5-111
Results Analysis
Routine
the testhead
the board's topology
the test information object
Diagnostics
In connect test, physical test probes on output pins are
used to capture data that is immediately analyzed by the
software for pass or fail.
Boundary-Scan Guide
5-112
Table 5-8
Boundary-Scan Guide
5-113
Boundary-Scan Guide
5-114
Boundary-Scan Guide
U1_3 -- pins:
u1.3 u2.22
----------------------------------
5-115
Boundary-Scan Guide
Boundary-Scan Guide
5-117
SWITCH 1.2
Boundary-Scan Guide
SWITCH 1.3
-----------------------------Thu Jan 09 17:50:06 1992
-----------------------------INTERCONNECT FAILURE DETECTED
FOR TEST digital/u1_u4
Node U1_5 is stuck;
suspect open on u1.5
However, these pins should
also be checked for a short
to power or ground:
u1.5 u2.20 u4.20
------------------------------
SWITCH 1.4
-----------------------------Thu Jan 09 17:50:06 1992
-----------------------------INTERCONNECT FAILURE DETECTED
FOR TEST DIGITAL/u1_u4
Failing Vector #: 26
IEEE Std 1149.1-1990
Integrity Failure
Device U1 has failed,
suspect device or these
5-118
pins:
(tck) 13
(tms) 12
(tdi) 14
(tdo) 11
------------------------------
SWITCH 1.5
-----------------------------Thu Jan 09 17:50:06 1992
-----------------------------INTERCONNECT FAILURE DETECTED
FOR TEST digital/u1_u4
Pin is stuck; check for open
on u2.20
connected to node U1_5.
------------------------------
Boundary-Scan Guide
5-119
Debugging
Boundary-Scan
Tests
Boundary-Scan Guide
5-120
Figure 5-43
Boundary-Scan debug
Test Needs to be
Debugged
Yes
Verified BSDL
No
Do We Trust
1149.1
Compliance?
Yes
No
Perform
Verification
of BSDL
Perform
a Chain Debug
Test
Pass
Board
Debug
Fail
NOTE
Boundary-Scan Guide
5-121
Boundary-Scan Guide
5-122
NOTE
When executed, a Chain Debug test DOES NOT
perform a TAP integrity test. One reason for
debugging chains is that you already know there is
an integrity problem and you are trying to get
additional debug information.
If the expected length of the instruction registers is
different than what the BSDL files for the ICs described,
you will get a failure ticket saying the measured length
was too long or short. It cannot identify which device
has the incorrect length because 1149.1 cannot
individually access the instruction registers within a
chain. If two devices are incorrect with one device one
bit too long and the other device one bit too short, then
the instruction length test will pass. If you have concern
for the accuracy of the BSDL descriptions of your
devices, you may want to partition the chains into
shorter segments (provided you have access to TDI and
TDO pins within the chain). This division will help
remove confusion.
The second check a Chain Debug test makes after
measuring the instruction registers is to iteratively
measure the boundary register of each IC. The IC to be
tested is placed in SAMPLE while all others in the chain
are placed in BYPASS. The IC in SAMPLE has its
boundary register measured. Each IC is tested
successively until one is found that does not match its
Boundary-Scan Guide
5-123
NOTE
/user1/scan_brd/digital/u4_connect.vcl
Boundary-Scan Guide
compile
digital/<device_name>_connect.vcl;debug
Boundary-Scan Guide
5-125
Boundary-Scan Guide
5-126
Boundary-Scan Guide
5-127
Silicon Nails
Automation
Boundary-Scan Guide
5-128
Figure 5-44
Add SN keyword
to board file
Compile
board
Generate tests
using IPG
ITL File
4
Silicon Nails
Automation
Compile
tests
5
Tests
Step
Information Resources
Chapter 1 of the Data Formats manual, The Board File. See especially the Pin
Library section.
Boundary-Scan Guide
5-129
Information Resources
The Test and Fixture Development manual, especially the section titled Compile
the Board and X-Y Data Files. NOTE: You can do this step using Board
Consultant, BT-Basic, or the command line.
5 Compile tests.
Boundary-Scan Guide
NOTE
If a physical nail is present, a Silicon Nails test
will not allow you the option to use a silicon nail
in place of the nail.
You should be fully aware of the potential problems
when exercising this option (see Pros of Using Silicon
Nails and Cons of Using Silicon Nails on page 5-154).
If node access is a real problem, the best candidates for
node removal are nodes on which all components are
boundary-scan. If conventional components co-exist on
a node, a physical probe is recommended. For analog
5-130
Boundary-Scan Guide
5-131
Figure 5-45
Boundary register cells that replace physical probes are called silicon nails
"Silicon Nails"
Drivers
Boundary-Scan Guide
DUT
Receivers
5-132
Boundary-Scan Guide
5-133
Figure 5-46
Bypass Mode
TDI
Extest Mode
Q
R
Extest Mode
S
T
TDO
Boundary-Scan Guide
5-134
NOTE
If from one vector to the next, only bits on nailed
nodes change, serialization may be skipped,
resulting in a shorter test. This scenario is
represented by J, K, L and M in Figure 5-46.
If the DUT is not a relatively simple device (for
example, a microprocessor), the Silicon Nails test
strategy is not recommended. One reason may be that
too many vectors would be needed to test the device.
Another case in which Silicon Nails testing may not be
optimal is when testing dynamic devices. When a
dynamic device receives vectors too slowly, the device
may not retain its internal memory status and tests will
appear to fail.
Boundary-Scan Guide
5-135
In this example:
u6 is the test name
498 is the vector number of the serialized test
4 is the vector number of ITL vectors
cell 11 is the failing Boundary-Scan cell
u1.15 is the B-Scan pin with cell 11 on pin 15
U6_3 is the node connected to pins u1.15 and u6_3.
Boundary-Scan Guide
5-136
u6 HAS FAILED
SILICON NAIL FAILURE DETECTED FOR TEST
Failing Vector #: 522 (message follows)
Silicon Nail Test failed nailed output:
Vector 3 of pre-serialized test.
----------------------------------------Opens on Output or Bidir Pins
U6.6
-----------------------------------------
Figure 5-47
B
U6
11
3
U6_3
6
In this example:
On device U6, the nailed output pin, 6, has failed.
U1
B-Scan
Boundary-Scan Guide
5-137
Disabling information
pcf ordering
Test Vectors
NOTE
Boundary-Scan Guide
5-138
DIR_1 to pins 1
OE_1_bar to pins 2
A1_1
to pins 3
A1_0
to pins 4
B1_1
to pins 5
B1_0
to pins 6
Boundary-Scan Guide
5-139
bidirectionals "NB1_1"
pcf order statements
pcf order is nodes
pcf order is nodes
pcf order is nodes
pcf order is nodes
pcf order is nodes
pcf order is nodes
"NDIR_1"
"NOE_1_bar"
"NA1_1"
"NA1_0"
"NB1_1"
"NB1_0"
unit "TEST_ALL_A2B"
pcf
"0010HL" ! see order above
"1001LH"
end pcf
end unit
end nodes
NOTE
In Example 5-13 on page 5-139, the pcf order is
the same as the order of the assign statements in
the library file.
Boundary-Scan Guide
5-140
OE_1_bar to pins 2
DIR_1 to pins 1
assign
assign
A1_0
A1_1
to pins 4
to pins 3
assign
assign
B1_0
B1_1
to pins 6
to pins 5
Boundary-Scan Guide
5-141
bidirectionals "NA1_1"
bidirectionals "NB1_0"
bidirectionals "NB1_1"
! the pcf order is the same as the assign statements in the library file.
pcf
pcf
pcf
pcf
pcf
pcf
order
order
order
order
order
order
is
is
is
is
is
is
nodes
nodes
nodes
nodes
nodes
nodes
"NOE_1_bar"
"NDIR_1"
"NA1_0"
"NA1_1"
"NB1_0"
"NB1_1"
! the pcf vectors match the pcf vectors in the library source
unit "TEST_ALL_A2B"
pcf
"0001LH" ! see order above
"0110HL"
end pcf
end unit
end nodes
NOTE
In Example 5-14 on page 5-141, the values in the
pcf statements are the same as in the two sources.
Adding Vectors to a Silicon Nails Test
Before Silicon Nails tests were automated, a test
developer would debug an in-circuit digital test (with
vectors removed by IPG) by editing the test source file
Boundary-Scan Guide
5-142
NOTE
If the ITL file were modified like the digital
source file, you would have a Silicon Nails test
that has no useful information for testing that
device.
Boundary-Scan Guide
5-143
+5V
1 VCC
GND 2
U1
A 7
U3
U1-7
bs005
4 In2
B 8
VCC OE 6
In1
lb005
U1-8
TDO 6
TDI
TMS
3
TCK
4
+5V
1 VCC
1K
bs001
Output 5
U3-5
5
U1-TDO
GND 2
U2
7 A
Gnd
2
U1-TDI
U3-6
TDI
TDO 6
TMS
3
TCK
4
U2-TDO
U1-TCK
U1-TMS
Boundary-Scan Guide
5-144
Boundary-Scan Guide
5-145
Boundary-Scan Guide
5-146
Boundary-Scan Guide
5-147
Ins, Enable
Out
Boundary-Scan Guide
5-148
set Ins
to "01"
set Out
to "0"
set Enable to "0"
end vector
vector V3
set Ins
to "10"
set Out
to "0"
set Enable to "0"
end vector
vector V4
set Ins
to "11"
set Out
to "0"
set Enable to "0"
end vector
unit
!IPG: Pin 6 is not
!*IPG* execute V1
!IPG: Pin 6 is not
!*IPG* execute V2
!IPG: Pin 6 is not
!*IPG* execute V3
!IPG: Pin 6 is not
!*IPG* execute V4
execute V1
execute V2
execute V3
execute V4
end unit
!
accessible.
accessible.
accessible.
accessible.
End of Test
Boundary-Scan Guide
5-149
Boundary-Scan Guide
5-150
Example 5-19
! IPG: rev 04.00u2 Wed Mar 28 16:51:44 2001
silicon nail "u3"
!IPG: User may add option statements here if needed.
family "TTL"
chain "u1_u2"
tdi "U1-TDI"
tdo "U2-TDO"
tms "U1-TMS"
tck "U1-TCK"
devices
"u1", "custom_lib/bs005", "DIP", no
"u2", "custom_lib/bs001", "DIP", no
end devices
end chain
Boundary-Scan Guide
5-151
!vector
!vector
!vector
!vector
1
2
3
4
"V1"
"V2"
"V3"
"V4"
end nodes
end silicon nail
Boundary-Scan Guide
NOTE
There is no source generation in the integrate
phase of the process in IPG. There is no additional
coverage information generated for these devices.
Writing a Silicon Nails Cluster Test
Clusters are tested just as they are during standard
functional testing, except that one or more physical
probes are eliminated. Figure 5-48 illustrates this
function. For more information about cluster testing,
refer to Digital Theory & Testing on page 1-1.
5-152
Figure 5-48
TD1
TDO
If you know that you will add Silicon Nails tests to your
board test, you should run IPG Test Consultant in
interactive mode. When you reach the Generate Tests
Using IPG step of this process, select Do and Stop. Then,
open a BT-BASIC window and write the ITL source file
for your test. Remember that you must include all
disabling and node information. Syntax and an example
Silicon Nails ITL source code are shown later in
InterconnectPlus Test Language (ITL) on page 5-158.
Boundary-Scan Guide
When you have written and compiled the test, you can
manually add pertinent test information to your testplan
by editing the testorder file. (Enter test scan for your
Silicon Nails test. No special syntax is required.) The
test file must be saved in your board's digital directory.
After you have edited the testorder file, close the
BT-BASIC window and return to IPG Test Consultant.
Continue with the Generate testplan step. The resources
5-153
Boundary-Scan Guide
5-154
Figure 5-49
Pin 1
Pin 2
Pin 3
Boundary-Scan Guide
5-155
2 Then, set the data to (for example) all 0s and set the
receiver loads to pull the outputs up to 1s.
Boundary-Scan Guide
5-156
Figure 5-50
Pin State
Vector 1:
Boundary-Scan Guide
(Silicon Node)
(Silicon Node)
(Nailed Node)
(Silicon Node)
(Silicon Node)
(Nailed Node)
Vector 2:
5-157
InterconnectPlus
Test Language (ITL)
NOTE
NOTE
Example 5-20
tdi
tdo
tms
tck
trst
node
test
chain
Boundary-Scan Guide
devices
disables
nodes
end chain
end devices
end disables
end nodes
connect
fixed
silicon node
silicon nail
buswire
5-158
end pcf
bidirectional
pcf order is nodes
checkerboard (ITL)
The checkerboard statement alters the connect test
pattern set to be an alternating pattern to reduce ground
bounce and perhaps catch certain other faults
buswire (ITL)
connect (ITL)
custom (ITL)
chain (ITL)
The chain statement marks the start of a chain block.
The parameter following the chain statement tells you
which boundary-scan chain on the board (or which
target device for connect test) will be tested. The chain
block contains the description of the boundary-scan
control signals, and provides the path names for the
software to retrieve the BSDL files for each device in
the chain.
Boundary-Scan Guide
debug (ITL)
The debug statement declares the test type to be one to
debug the boundary scan chain. Normally, this is just
used in test development and not in production.
5-159
devices (ITL)
disables (ITL)
The disables statement (optional) marks the start of an
optional disables block. You can enter disable
information if you know about disable needs for your
test. (This information might not be needed to develop
your device test.) You do not need to specify disable
information for devices that can use boundary-scan
disabling.
Boundary-Scan Guide
5-160
fixed (ITL)
The fixed statement is used within a nodes block to
declare fixed nodes. The fixed statement includes the
state of the node (high or low); if the state cannot be
determined, the statement is commented and the state is
specified as unknown. You need to edit the file to change
Boundary-Scan Guide
interconnect (ITL)
The interconnect statement declares the test type to be
an interconnection test of the devices in the chain. This
test only uses the TAP nodes, and disables, and ignores
nailed access to the interconnect nodes under test.
node (ITL)
The node statement is used within a nodes or disables
block to identify the node to be tested or disabled. The
node statement can be followed by a card list that tells
the system which type of resource to use to perform the
test or disable task.
5-161
nodes (ITL)
The nodes statement marks the beginning of a nodes
block. This block can be empty, but it must be present in
every ITL source file (even if it is empty) to satisfy the
syntactic requirements of the parser.
For powered shorts tests, this block identifies the
adjacency of the 100-percent boundary-scan node
(silicon node) to the nailed nodes of any other type. You
should notice in the ITL file for a powered shorts test
that a silicon node entry is followed by one or more
node entries.
For more detail on this syntax statement see nodes
(ITL) of the Syntax Reference documentation.
Boundary-Scan Guide
5-162
tck (ITL)
test (ITL)
tdi (ITL)
tdo (ITL)
The tdo statement identifies the test data out node of the
boundary-scan chain. A name is assigned to this node
using the tdo statement.
tms (ITL)
Boundary-Scan Guide
5-163
trst (ITL)
The trst statement identifies the test reset node of the
boundary-scan chain (if one exists). A name is assigned
to this node using the trst statement.
For more detail on this syntax statement see trst (ITL)
of the Syntax Reference documentation.
Boundary-Scan Guide
5-164
Boundary-Scan Guide
5-165
Example 5-21
<test type> <chain/device description>! marks the start of a test block
<test type> can be:powered shorts
interconnect
buswire
connect
silicon nail
custom
<chain/device description> is a <string expression>
chain <chain description> ! marks the start of a chain block
tdi <signal description> <card list>
tdo <signal description> <card list>
tms <signal description> <card list>
tck <signal description> <card list>
trst <signal description> <card list>
<signal description> is a <string expression>
<card list> can be:channel! "," indicates equal card preference
hybrid ! ";" indicates first choice preferred
channel, hybrid! over second, but second may be
hybrid; channel! used.
devices
<device description>,<BSDL pathname>,<package name>, <compliance problem>
<device description>,<BSDL pathname>,<package name>, <compliance problem>
<device description>,<BSDL pathname>,<package name>, <compliance problem>
. . .
<device description> is a <string expression>
<BSDL pathname> is a <string expression>
<package name> is a <string expression>
<compliance problem> can be: yes or no
end devices
end chain
! marks the end of a chain block
disables
! marks the start of a disables block
node <node name> <card list>default <state>
<node name> is a <string expression>
<state> can be: 0, 1, k, t
pcf order is nodes <node name>, <node name>,...<node name>
unit <unit name>
! marks the start of a unit block
<unit name> is a <string expression>
pcf
! marks the start of a pcf block
<drive vector>
<drive vector> is a <string expression>
Boundary-Scan Guide
5-166
end pcf
! marks the end of a pcf block
end unit
! marks the end of a unit block
end disables
! marks the end of a disables block
driver limit <integer>
! used with powered shorts test only
nodes
! marks the start of a nodes block
node <node name> test <device.pin>, <device.pin>,...<device.pin>
node <node name> <card list> test <device.pin>, <device.pin>,...<device.pin>
silicon node <node name> test <device.pin>, <device.pin>,...<device.pin>
silicon node <node name> <card list> test <device.pin>,...<device.pin>
<device.pin> is a <string expression>
inputs <node name>, <node name>,...<node name>
outputs <node name>, <node name>,...<node name>
bidirectionals <node name>, <node name>,...<node name>
pcf order is nodes <node name>, <node name>,...<node name>
<node name> is a <string expression>
unit <unit name>
pcf
<drive vector>
end pcf
end unit
end nodes
! marks the end of a nodes block
end <test type>
! marks the end of a test block
Boundary-Scan Guide
5-167
Example 5-22
powered shorts "u1_u4_ps"
chain "u1_u4"
tdi "TDI"
tdo "TDO"
tms "TMS"
tck "TCK"
devices
"u1", "custom/74bct8374", "DW_PACKAGE", no
"u2", "custom/74bct8374", "DW_PACKAGE", no
"u3", "custom/74bct8374", "DW_PACKAGE", no
"u4", "custom/74bct8374", "DW_PACKAGE", no
end devices
end chain
disables
node "IN_26" hybrid default "1"
node "IN_28" hybrid default "1"
pcf order is nodes "IN_26","IN_28"
unit "disable"
pcf
"11"
end pcf
end unit
end disables
nodes
silicon node "U1_2" test "u1.2","u2.23"
node "IN_05" test "u1.1" ! (100 mils from u1.2)
node "IN_04" test "u2.24" ! (100 mils from u2.23)
silicon node "U1_3" test "u1.3","u2.22"
silicon node "U1_4" test "u1.4","u2.21"
silicon node "U1_5" test "u1.5","u2.20","u4.20"
silicon node "U1_U3_7" test "u1.7","u2.19","u3.7","u4.19"
silicon node "U1_U3_8" test "u1.8","u2.17","u3.8","u4.17"
silicon node "U1_U3_9" test "u1.9","u2.16","u3.9","u4.16"
Boundary-Scan Guide
5-168
Boundary-Scan Guide
5-169
Example 5-23
interconnect"u1_u4"
chain "u1_u4"
tdi "TDI"
tdo "TDO"
tms "TMS"
tck "TCK"
devices
"u1", "../demo_original/custom/74bct8374", "DW_PACKAGE", no
"u2", "../demo_original/custom/74bct8374", "DW_PACKAGE", no
"u3", "../demo_original/custom/74bct8374", "DW_PACKAGE", no
"u4", "../demo_original/custom/74bct8374", "DW_PACKAGE", no
end devices
end chain
disables
node "IN_26"
hybrid
node "IN_28"
hybrid
pcf order is nodes "IN_26","IN_28"
unit "disable"
pcf
"11"
end pcf
end unit
end disables
nodes
silicon node "U1_2" test "u1.2","u2.23"
silicon node "U1_3" test "u1.3","u2.22"
silicon node "U1_4" test "u1.4","u2.21"
silicon node "U1_5" test "u1.5","u2.20","u4.20"
silicon node "U1_U3_7" test "u1.7","u2.19","u3.7","u4.19"
silicon node "U1_U3_8" test "u1.8","u2.17","u3.8","u4.17"
silicon node "U1_U3_9" test "u1.9","u2.16","u3.9","u4.16"
silicon node "U1_U3_10" test "u1.10","u2.15","u3.10","u4.15"
silicon node "U3_2" test "u3.2","u4.23"
Boundary-Scan Guide
5-170
The following ITL source file is for one connect test, u2,
of the u1_u4 chain. Connect test ITL source files for the
Boundary-Scan Guide
5-171
Example 5-25
connect "u2"
chain "u1_u4"
tdi "TDI"
tdo "TDO"
tms "TMS"
tck "TCK"
devices
"u1", "../demo_original/custom/74bct8374",
"u2", "../demo_original/custom/74bct8374",
"u3", "../demo_original/custom/74bct8374",
"u4", "../demo_original/custom/74bct8374",
end devices
end chain
nodes
node "IN_04" hybrid test "u2.24"
node "IN_05" hybrid test "u2.1"
node "OUT_04" hybrid test "u2.4"
node "OUT_05" hybrid test "u2.3"
node "OUT_06" hybrid test "u2.2"
end nodes
!IPG: Inaccessible nodes
!IPG: node "U2_5"
!IPG: node "U2_7"
!IPG: node "U2_8"
!IPG: node "U2_9"
!IPG: node "U2_10"
!IPG: node "U1_U3_10"
!IPG: node "U1_U3_9"
!IPG: node "U1_U3_8"
!IPG: node "U1_U3_7"
!IPG: node "U1_5"
!IPG: node "U1_4"
!IPG: node "U1_3"
Boundary-Scan Guide
"DW_PACKAGE",
"DW_PACKAGE",
"DW_PACKAGE",
"DW_PACKAGE",
no
no
no
no
5-172
Boundary-Scan Guide
5-173
Boundary-Scan Guide
5-174
Boundary-Scan Guide
5-175
VCL/ITL Pass-Thru
Statements
set terminators
warning
on failure report
disable device
conditioned device
vector cycle
receive delay
set load
set ref
Boundary-Scan Guide
5-176
Boundary-Scan Guide
5-177
Boundary-Scan Guide
5-178
Boundary-Scan Guide
5-179
Boundary-Scan Guide
5-180
Boundary-Scan Guide
5-181
pcf order Parallel is TCK, TMS, TDI, TDO , N000, N001, N002, N003
!Column-to-Node Map, Nodes 1 to 8
!TTTTIIOO!
!CMDDNNUU!
!KSIO__TT!
!
11__!
!
7801!
!
90!
!
!
unit "Connect Test" ! Vector 1
pcf
use pcf order Parallel
"01ZXZZXX"
use pcf order Scan
"11ZX"
. . .
"00ZX"
"10ZX"!Shift-IR
end pcf
message "IEEE Std 1149.1-1990 Integrity Failure"
message " Device U4 has failed,"
. . .
compress
frame 0 1
pcf
use pcf order Parallel
"00ZXZZXX"!0+0
use pcf order Scan
"10ZX"
"00ZX"!1
"10ZX"
"00ZX"!2
. . .
"101X"
"01ZL"!17
"11ZX"!Exit1-DR
Boundary-Scan Guide
5-182
end pcf
end frame
end compress
message " "
! example of a null message
. . .
! End of Connect Test for device U4
use pcf order Scan
"01ZX"
"11ZX"!Select-IR-Scan
use pcf order Parallel
"01ZXZZXX"
use pcf order Scan
"11ZX"!Test-Logic-Reset
end pcf
end unit ! Connect Test Vector 330
! Vectors with TDI High:
32,
6.4 microseconds
! Vectors with TDI Low:
40,
8.0 microseconds
! Total Vectors :
330, 66.0 microseconds
! Connect Test Dictionary
! Frame Size 18
! FrCell DevCell Dev.Pin Node
Signature
!
16 16
U4.24
IN_17
'LHXX'
!
17 17
U4.1
IN_18
'LHXX'
Boundary-Scan Guide
5-183
Summary: Sample
Test Generation
Session
Boundary-Scan Guide
get "init_demo"
NOTE
To protect the integrity of the files needed to run
sample programming sessions, do not work within
the demo_original directory.
Keep the BT-BASIC window in your workspace for
later use.
3 Remember that InterconnectPlus is an option for the
3070 Series II of board test systems. For this product
to function, you must add the statement
enable advanced boundary scan
5-184
Boundary-Scan Guide
/3070/standard/tutorial/bscan/demo_circuit
5-185
NOTE
You can also select the Maximize option if you
wish to view the entire form.
Click Final Compile/Verify in the flowchart. A new list
will appear at the bottom of the flowchart. Click
Compile board File. Click OK when the Confirm
Message window appears. Repeat these steps for the
board_xy file. Then click Save Board Files in the list
at the bottom of the flowchart.
Select File > Exit to leave Board Consultant.
6 Follow the standard test generation procedures for
developing a board test using IPG Test Consultant.
In the IPG Test Consultant interface, change to the
working directory:
/3070/standard/tutorial/bscan/demo_circuit
Boundary-Scan Guide
5-186
Sample
Boundary-Scan
Device Chain
Boundary-Scan Guide
5-187