English
Language : 

EP2A15 Datasheet, PDF (63/99 Pages) Altera Corporation – Programmable Logic Device Family
IEEE Std.
1149.1 (JTAG)
Boundary-Scan
Support
APEX II Programmable Logic Device Family Data Sheet
All APEX II devices provide JTAG BST circuitry that complies with the
IEEE Std. 1149.1-1990 specification. JTAG boundary-scan testing can be
performed before or after configuration, but not during configuration.
APEX II devices can also use the JTAG port for configuration with the
Quartus II software or with hardware using either JamTM Standard Test
and Programming Language (STAPL) Files (.jam) or Jam Byte-Code Files
(.jbc). Finally, APEX II devices use the JTAG port to monitor the logic
operation of the device with the SignalTap embedded logic analyzer.
APEX II devices support the JTAG instructions shown in Table 16.
Table 16. APEX II JTAG Instructions
JTAG Instruction
Description
SAMPLE/PRELOAD Allows a snapshot of signals at the device pins to be captured and examined during
normal device operation, and permits an initial data pattern to be output at the device pins.
Also used by the SignalTap embedded logic analyzer.
EXTEST (1)
Allows the external circuitry and board-level interconnections to be tested by forcing a test
pattern at the output pins and capturing test results at the input pins.
BYPASS
Places the 1-bit bypass register between the TDI and TDO pins, which allows the BST data
to pass synchronously through selected devices to adjacent devices during normal device
operation.
USERCODE
Selects the 32-bit USERCODE register and places it between the TDI and TDO pins,
allowing the USERCODE to be serially shifted out of TDO.
IDCODE
Selects the IDCODE register and places it between TDI and TDO, allowing the IDCODE
to be serially shifted out of TDO.
HIGHZ (1)
Places the 1-bit bypass register between the TDI and TDO pins, which allows the BST data
to pass synchronously through selected devices to adjacent devices during normal device
operation, while tri-stating all of the I/O pins.
CLAMP (1)
Places the 1-bit bypass register between the TDI and TDO pins, which allows the BST data
to pass synchronously through selected devices to adjacent devices during normal device
operation while holding I/O pins to a state defined by the data in the boundary-scan
register.
ICR instructions
Used when configuring an APEX II device via the JTAG port with a MasterBlasterTM or
ByteBlasterMVTM download cable, or when using a Jam File or Jam Byte-Code File via an
embedded processor.
SignalTap
instructions
Monitors internal device operation with the SignalTap embedded logic analyzer.
Note to Table 16:
(1) Bus hold and weak pull-up features override the high-impedance state of HIGHZ, CLAMP, and EXTEST.
The APEX II device instruction register length is 10 bits. The APEX II
device USERCODE register length is 32 bits. Tables 17 and 18 show the
boundary-scan register length and device IDCODE information for
APEX II devices.
Altera Corporation
63