XC4000, XC4000A, XC4000H Logic Cell Array Families
2-22
Boundary Scan
Boundary Scan is becoming an attractive feature that
helps sophisticated systems manufacturers test their PC
boards more safely and more efficiently. The XC4000
family implements IEEE 1149.1-compatible BYPASS,
PRELOAD/SAMPLE and EXTEST Boundary-Scan instruc-
tions. When the Boundary-Scan configuration option is
selected, three normal user I/O pins become dedicated
inputs for these functions.
The “bed of nails” has been the traditional method of
testing electronic assemblies. This approach has become
less appropriate, due to closer pin spacing and more
sophisticated assembly methods like surface-mount tech-
nology and multi-layer boards. The IEEE Boundary Scan
standard 1149.1 was developed to facilitate board-level
testing of electronic assemblies. Design and test engi-
neers can imbed a standard test logic structure in their
electronic design. This structure is easily implemented
with the serial and/or parallel connections of a four-pin
interface on any Boundary-Scan-compatible IC. By exer-
cising these signals, the user can serially load commands
and data into these devices to control the driving of their
outputs and to examine their inputs. This is an improve-
ment over bed-of-nails testing. It avoids the need to over-
drive device outputs, and it reduces the user interface to
four pins. An optional fifth pin, a reset for the control logic,
is described in the standard but is not implemented in the
Xilinx part.
The dedicated on-chip logic implementing the IEEE 1149.1
functions includes a 16-state machine, an instruction reg-
ister and a number of data registers. A register operation
begins with a
capture
where a set of data is parallel loaded
into the designated register for shifting out. The next state
is
shift
, where captured data are shifted out while the
desired data are shifted in. A number of states are provided
for Wait operations. The last state of a register sequence
is the
update
where the shifted content of the register is
loaded into the appropriate instruction- or data-holding
register, either for instruction-register decode or for data-
register pin control.
The primary data register is the Boundary-Scan register.
For each IOB pin in the LCA device, it includes three bits
of shift register and three
update
latches for: in, out and 3-
state control. Non-IOB pins have appropriate partial bit
population for in or out only. Each Extest Capture captures
all available input pins.
The other standard data register is the single flip-flop
bypass
register. It resynchronizes data being passed
through a device that need not be involved in the current
scan operation. The LCA device provides two user nets
(BSCAN.SEL1 and BSCAN.SEL2) which are the decodes
of two user instructions. For these instructions, two corre-
sponding nets (BSCAN.TDO1 and BSCAN.TDO2) allow
user scan data to be shifted out on TDO. The data register
clock (BSCAN.DRCK) is available for control of test logic
which the user may wish to implement with CLBs. The
NAND of TCK and Run-test-idle is also provided
(BSCAN.IDLE).
The XC4000 Boundary Scan instruction set also includes
instructions to configure the device and read back the con-
figuration data.
Table 4. Boundary Scan Instruction
Bit Sequence
The bit sequence within each IOB is: in, out, 3-state.
From a cavity-up (XDE) view of the chip, starting in the
upper right chip corner, the Boundary-Scan data-register
bits have the following order.
Table 5. Boundary Scan Order
The data register also includes the following non-pin bits:
TDO.T, and TDO.I, which are always bits 0 and 1 of the
data register, respectively, and BSCANT.UPD which is
always the last bit of the data register. These three Bound-
ary-Scan bits are special-purpose Xilinx test signals. PRO-
GRAM, CCLK and DONE are not included in the Bound-
ary-Scan register. For more information regarding Bound-
ary Scan, refer to XAPP 017.001,
Boundary Scan in
XC4000 Devices
.
Instruction
I
2
I
1
I
0
0 0 0
0 0 1
0 1 0
0 1 1
1 0 0
1 0 1
1 1 0
1 1 1
Test
Selected
Extest
Sample/Preload
User 1
User 2
Readback
Configure
Reserved
Bypass
TDO
Source
DR
DR
TDO1
TDO2
Readback Data
DOUT
Bypass Reg
I/O Data
Source
DR
Pin/Logic
Pin/Logic
Pin/Logic
Pin/Logic
Disabled
Pin/Logic
X2679
Bit 0 ( TDO end)
Bit 1
Bit 2
TDO.T
TDO.O
Top-edge IOBs (Right to Left)
Left-edge IOBs (Top to Bottom)
MD1.T
MD1.O
MD1.I
MD0.I
MD2.I
Bottom-edge IOBs (Left to Right)
Right-edge IOBs (Bottom to Top)
B SCANT.UPD
(TDI end)
X6075
2-23
X1523
Figure 16. XC4000 Boundary Scan Logic. Includes three bits of Data Register per IOB, the IEEE 1149.1 Test Access Port
controller, and the Instruction Register with decodes.
INSTRUCTION REGISTER
0
1
IOB IOB IOB IOB IOB
IOB
IOB
IOB
IOB
IOB
IOB
IOB
IOB
IOB
IOB
IOB
IOB
IOB
TDI
TDO
BYPASS
REGISTER
M
U
X
TDI
TDO
INSTRUCTION REGISTER
IOB IOB IOB IOB IOB
IOB
IOB
IOB
IOB
IOB
IOB
IOB
IOB
IOB
IOB
IOB
IOB
IOB
IOB
M
U
X
UPDATE
DQ DQ
sd
LE
DQ DQ
sd
LE
DQ DQ
sd
LE
DQ
DQ
sd
LE
DQ DQ
sd
LE
DQ
DQ
sd
LE
DQ DQ
sd
LE
SHIFT /
CAPTURE
DATAOUT
CLOCK DATA
REGISTER
EXTEST
DATA IN
IOB.Q
IOB.T
IOB.I
IOB.Q
IOB.T
IOB.I
1
0
1
0
1
0
1
0
sd
1
0
1
0
0
1
1
0
1
0
1
0
1
0
1
0
1
0
BYPASS
REGISTER
IOB
IOB.O
XC4000, XC4000A, XC4000H Logic Cell Array Families
2-24
X1027
Interconnects
The XC4000 families use a hierarchy of interconnect
resources.
General purpose single-length and double-length
lines offer fast routing between adjacent blocks, and
highest flexibility for complex routes, but they incur a
delay every time they pass through a switch matrix.
Longlines run the width or height of the chip with
negligible delay variations. They are used for signal
distribution over long distances. Some Horizontal
Longlines can be driven by 3-state or open-drain
drivers, and can thus implement bidirectional buses
or wired-AND decoding.
Global Nets are optimized for the distribution of clock
and time-critical or high-fan-out control signal. Four
pad-driven Primary Global Nets offer shortest delay
and negligible skew. Four pad-driven Secondary
Global Nets have slightly longer delay and more
skew due to heavier loading.
Each CLB column has four dedicated Vertical Longlines,
each of these lines has access to a particular Primary
Global Net, or to any one of the Secondary Global Nets.
The Global Nets avoid clock skew and potential hold-time
3-State Buffers Implement a Multiplexer. The selection is accomplished by the buffer 3-state signal.
)
D
A
D
B
D
C
D
A
=D
B
• ( D
C
Z
D
D
D
E
D
F
+
D
D
D
E
+
F
)
• ( D
~5 k
~5 k
+5 V
+5 V
Active High T is Identical to
Active Low Output Enable.
T OE
D
A
A
D
B
B
D
C
C
D
N
N
D
A
A•+=D
B
B•+D
C
C•+ D
N
NZ…+
“KEEPER”
~100 k
X1006
X1007
Open Drain Buffers Implement a Wired-AND Function. When all the buffer
inputs are High the pull-up resistor(s) provide the High output.
Figure 18. TBUFs Driving Horizontal Longlines.
SECONDARY
GLOBAL NETS
PRIMARY
GLOBAL NETS
Figure 17. XC4000 Global Net Distribution. Four Lines per
Column; Eight Inputs in the Four Chip Corners.
problems. The user must specify these Global Nets for all
timing-sensitive global signal distribution.

XC4003-6PC84C

Mfr. #:
Manufacturer:
Xilinx
Description:
IC FPGA 61 I/O 84PLCC
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union