beautypg.com

Instruction register, Nstruction, Egister – Rainbow Electronics DS26504 User Manual

Page 106

background image

DS26504 T1/E1/J1/64KCC BITS Element

106 of 128

17.1 Instruction Register

The instruction register contains a shift register as well as a latched parallel output and is 3 bits in length.
When the TAP controller enters the Shift-IR state, the instruction shift register is connected between
JTDI and JTDO. While in the Shift-IR state, a rising edge on JTCLK with JTMS LOW shifts the data one
stage toward the serial output at JTDO. A rising edge on JTCLK in the Exit1-IR state or the Exit2-IR
state with JTMS HIGH moves the controller to the Update-IR state. The falling edge of that same JTCLK
will latch the data in the instruction shift register to the instruction parallel output.

Table 17-1. Instruction Codes for IEEE 1149.1 Architecture

INSTRUCTION SELECTED

REGISTER INSTRUCTION

CODES

SAMPLE/PRELOAD Boundary

Scan

010

BYPASS Bypass

111

EXTEST Boundary

Scan

000

CLAMP Bypass 011

HIGHZ Bypass 100

IDCODE Device

Identification

001



SAMPLE/PRELOAD
This is a mandatory instruction for the IEEE 1149.1 specification that supports two functions. The digital
I/Os of the device can be sampled at the boundary scan register without interfering with the normal
operation of the device by using the Capture-DR state. SAMPLE/PRELOAD also allows the device to
shift data into the boundary scan register via JTDI using the Shift-DR state.

BYPASS
When the BYPASS instruction is latched into the parallel instruction register, JTDI connects to JTDO
through the one-bit bypass test register. This allows data to pass from JTDI to JTDO not affecting the
device’s normal operation.

EXTEST

This allows testing of all interconnections to the device. When the EXTEST instruction is latched in the
instruction register, the following actions occur. Once enabled via the Update-IR state, the parallel
outputs of all digital output pins are driven. The boundary scan register is connected between JTDI and
JTDO. The Capture-DR samples all digital inputs into the boundary scan register.

CLAMP

All digital outputs of the device will output data from the boundary scan parallel output while connecting
the bypass register between JTDI and JTDO. The outputs will not change during the CLAMP instruction.

HIGHZ

All digital outputs of the device will be placed in a high-impedance state. The BYPASS register is
connected between JTDI and JTDO.