Tap Controller - Xilinx Virtex-4 Configuration User Manual

Fpga
Hide thumbs Also See for Virtex-4:
Table of Contents

Advertisement

R

TAP Controller

Figure 3-2
scanned into the various registers. The state of the TMS pin at the rising edge of TCK
determines the sequence of state transitions. There are two main sequences, one for
shifting data into the data register and the other for shifting an instruction into the
instruction register.
A transition between the states only occurs on the rising edge of TCK, and each state has a
different name. The two vertical columns with seven states each represent the Instruction
Path and the Datapath. The data registers operate in the states whose names end with
"DR," and the instruction register operates in the states whose names end in "IR." The states
are otherwise identical.
The operation of each state is described below.
Test-Logic-Reset:
All test logic is disabled in this controller state, enabling the normal operation of the IC.
The TAP controller state machine is designed so that regardless of the initial state of the
controller, the Test-Logic-Reset state can be entered by holding TMS High and pulsing
TCK five times. Consequently, the Test Reset (TRST) pin is optional.
Run-Test-Idle:
In this controller state, the test logic in the IC is active only if certain instructions are
present. For example, if an instruction activates the self test, then it is executed when the
controller enters this state. The test logic in the IC is idle otherwise.
Select-DR-Scan:
This controller state controls whether to enter the Datapath or the Select-IR-Scan state.
Select-IR-Scan:
This controller state controls whether or not to enter the Instruction Path. The controller
can return to the Test-Logic-Reset state otherwise.
Capture-IR:
In this controller state, the shift register bank in the Instruction Register parallel loads a
pattern of fixed values on the rising edge of TCK. The last two significant bits must always
be 01.
Shift-IR:
In this controller state, the instruction register gets connected between TDI and TDO, and
the captured pattern gets shifted on each rising edge of TCK. The instruction available on
the TDI pin is also shifted in to the instruction register. If the Shift-IR state is entered after
a Pause-IR state is used, then the first bit shifted is always 0. This does not occur if the
Pause-IR state is not used prior to a Shift-IR state, which is not fully compliant with the
JTAG 1149.1 specification.
Exit1-IR:
This controller state controls whether to enter the Pause-IR state or Update-IR state.
Pause-IR:
This state allows the shifting of the instruction register to be temporarily halted.
Exit2-DR:
This controller state controls whether to enter either the Shift-IR state or Update-IR state.
Update-IR:
In this controller state, the instruction in the instruction register is latched to the latch bank
of the Instruction Register on every falling edge of TCK. This instruction becomes the
current instruction after it is latched.
Virtex-4 FPGA Configuration User Guide
UG071 (v1.12) June 2, 2017
Boundary-Scan for Virtex-4 Devices Using IEEE Standard 1149.1
diagrams a 16-state finite state machine. The four TAP pins control how data is
www.xilinx.com
59

Advertisement

Table of Contents
loading

Table of Contents