R
XCR5064C: 64 Macrocell CPLD with Enhanced Clocking
DS044 (v1.1) February 10, 2000 www.xilinx.com 6
1-800-255-7778
JTAG Testing Capability
JTAG is the commonly-used acronym for the Boundary
Scan Test (BST) feature defined for integrated circuits by
IEEE Standard 1149.1. This s tandard defines input/output
pins, logic control f unctions, and commands which facilitate
both board and device level testing without the use of spe-
cialized test equipment. The Xilinx X CR5064C devices use
the JTAG interface for In-System Programming/Repro-
gramming. Although only a subset of the full JTAG com-
mand set is implemented (see Table 2), the devices are
fully capable of sitting in a JTAG scan chain.
The Xilinx XCR5064C’s JTAG interface includes a TAP P ort
defined by the IEEE 1149.1 JTAG Specification. As imple-
mented in the Xilinx XCR5064C, the TAP P ort includes four
of the five pins (refer to Table 3) described in the JTAG
specification: TCK, TMS, TDI, and TDO. The fifth signal
defined by the JTAG specification is TRST* (Test Reset).
TRST* is considered an optional signal, since it is not actu-
ally required to perform BS T or ISP. The Xilinx XCR5064C
sav es an I/O pin for general purpose use by not implement-
ing the optional TRST* signal in the JTAG interface.
Instead, the Xilinx XCR5064C supports the test reset func-
tionality through the use of its power up reset circuit, which
is included in al l Xilinx CPLDs. The pins associat ed with the
TAP Port should connect to an external pull-up resistor to
keep the JTAG signs from floating when they are not being
used.
In the Xilinx XCR5064C, the four mandatory JTAG pins
each require a unique, dedicated pin on the device. The
devices come from the factory with these I/O pins set to
perform JTAG functions, but through the software, the final
function of these pins can be controlled. If the end applica-
tion will require the device to be reprogrammed at some
future time with ISP, then the pins can be left as dedicated
JTAG functions, which means they are not available for use
as general purpose I/O pins. However, unlike competing
CPLDs, the Xilinx XCR5064C allow the macroc ells associ-
ated with these pins to be used as buried logic when the
JTAG/ISP function is enabled. This is the default state for
the software, and no action is required to leave these pins
enabled for the JTAG/ISP functions. If, however, JTAG/ISP
is not required in the end application, the software can
specify that this function be turned off and that these pins
be used as general pur pose I/O. Because the devices ini-
tially have the JTAG/ISP functions e nabled, the JEDEC file
can be downloaded into the device once, after which the
JTAG/ISP pins will become general purpose I/O. This fea-
ture is good for manufacturing because the devices can be
programmed during test and assembly of the end product
and yet still use all of the I/O pins after the pr ogramming is
done. It eliminat es the need for a costly, separate program-
ming step in the manufacturing process. Of course, if the
JTAG/ISP function is never required, this feature can be
turned off in the software and the device can be pro-
grammed with an industry-standard programmer, leaving
the pins availabl e f or I/O functions . Table 4 defines the ded-
icated pins used by the four mandatory JTAG signals for
each of the XCR5064C package types.
5-Volt, In-System Programming (ISP)
ISP is the ability to reconfigure the logic and functionality of
a device, printed circuit bo ard, or complete electronic sys-
tem before , during, and after its manufacture and shipment
to the end customer. ISP provides substantial benefits in
each of the following areas:
•Design
- Faster time-to -market
- Debug partitioning and simplified prototyping
- Printed circuit board reconfiguration during debug
- Better device and board level testing
•Manufacturing
- Multi-Functional hardware
- Reconfigurability f or Test
- Eliminates handling of “fine lead-pitch” components
for programming
- Reduced Inventory and manufacturing costs
- Improved quality and reliability
•Field Suppor t
- Easy remote upgrades and repair
- Support for field configuration, re-configuration, and
customization
The Xilinx XCR5064C allows for 5V, in-system program-
ming/reprogramming of its EEPROM cells via its JTAG
interface. An on-chip charge pump eliminates the need for
externally-provided supervoltages, so that the XCR5064C
may be easily programmed on th e circuit board using only
the 5-volt supply required by the device for normal opera-
tion. A set of low-le vel ISP basic commands implemented in
the XCR5064C enable this feature. The ISP commands
implemented in the Xilinx XCR5064C are specified in
Table 5. Please not e that an ENAB LE com mand must pre-
cede all ISP commands unless an ENABLE command has
already been given for a preceding ISP comm and.
xcr5064c.fm Page 6 Tuesday, February 15, 2000 3:51 PM