CY7C1347C/GVT71128DA36
CY7C1327C/GVT71256DA18
8
IEEE 11 49.1 Serial Boundar y Scan (JTAG)
Overview
This device incorporates a serial boundary scan access por t
(TAP). This p ort is des igned t o opera te in a mann er c onsist ent
with IEEE Standard 1149.1-1990 (commonly referred to as
JTAG) , but does not implement all of the f unct ions req uired f or
IEEE 1149.1 compliance. Certain functions have been modi-
fied or eliminated because their implementation places extra
delays in the critical speed path of the device. Nevertheless,
the device suppor ts the standard TAP controller architecture
(the TAP controll er is the state machine that cont rols the TAPs
operation) and can be expected to function in a manner that
does not con flict wi th th e operat ion of de vic es with IEEE Stan-
dard 1149.1 compliant TAPs. The TAP operates using
LVTTL/LVCMOS logi c level signaling.
Disabling t he JTAG Feature
It is poss ib le t o use t his device wit hout using the JTA G f eat ure.
To disable the TAP controller without interfering with normal
oper at ion of the de v ice, TCK sh ould be t ied LO W ( VSS) to pr e-
v ent cloc king th e de vic e. TDI and TMS are int ernally pulled u p
and may be unconnected. They may alternately be pulled up
to VCC through a resistor. TDO should be left unconnected.
Upon power-up the dev ice will come up in a reset state wh ich
wil l not int erfere with the operation of the device.
Test Access Port (TAP)
TCK - Test Clock (INPUT)
Clocks all TAP events. All inputs are captured on the rising
edge of TCK and all outpu ts propagate from the f alling edge of
TCK.
TMS - Test Mode Select (INPUT)
The TMS input is sampled on the rising edge of TCK. This is
the command input for the TAP controller state machine. It i s
all owab le to leave this pin unconnected if t he TAP is not used.
The pin i s pulled up internally, resulting in a logic HIGH level.
TDI - Test Data In (INPUT)
The TDI i nput is sampled on the rising edge of TCK. Thi s is th e
input side of the serial regi sters place d betw een TDI and TDO .
The register placed between TDI and TDO is determined by
the state of t he TAP controll er state machi ne and the instruc-
tion that is currently loaded in the TAP instruction register (refer
to Figure 1, TAP Controller State Diagram). It is allowable to
leave this pin unconnected if it is not used in an application.
The pin is pulled up internally, resulting in a logic HIGH level.
TDI is connected to the most significant bit (MSB) of any reg-
ister. (See Figure 2.)
TDO - Test Dat a Out (OUTPUT)
The TDO output pi n is used to s eria ll y clock data-out from th e
registers. The output that is active depending on the st ate of
the TAP state ma chine (refer to Figure 1, TAP Controll er State
Diagram). Output changes in response to the falling edge of
TCK. This is the output side of the serial registers placed be-
tween TDI and TDO. TDO is connected to the least significant
bit (LSB) of any register. (See Figure 2.)
P erfor ming a TAP Res et
The TAP circuitry does not have a reset pin (TRST, which is
optional in the IEEE 1149.1 specification). A RESET can be
performed for the TAP controll er by forcing TM S HIGH (VCC)
for five ris ing ed ges of TCK and pre-loads the instruction reg -
ister with t he IDCODE command. This type of reset does not
affect the operation of the system logic. The reset affects test
logic only.
At power-up, the TAP is reset internally to ensure that TDO is
in a High-Z state.
Test Access Port (TAP) Registers
Overview
The various TAP registers are selected (one at a tim e) v ia t he
sequences of ones and z e ros in put to th e TMS pin as t he TCK
is st robed. Each of the TAPs registers ar e serial shift registers
that capture serial input data on the rising edge of TCK and
push seri al dat a o ut on s ubseq uent falling edge of TCK. W hen
a register is selected, it is connected between the TDI and
TDO pins.
Instr ucti on Register
The instru ction register holds the inst ructions that are ex ecut-
ed by the TAP controller when it is moved int o the run t est/idle
or the various data register states. The instructi ons are three
bits long. The register can be loaded when it is placed between
the TDI and TDO pins. The parallel outputs of the instruction
regis ter are a utomat icall y prel oaded with the IDCODE instruc-
tion upon po wer-u p or whenever the control ler is placed in t he
test-logic reset state. When the TAP controller is in the Cap-
ture- IR state , the t wo least significant bits of the seria l instruc-
tion register are loaded with a binary “01” pattern to allow for
fault isolation of the boar d-le vel serial test d ata path.
Bypass Register
The bypass register is a single-bit register that can be placed
between TDI and TDO. It all ows serial test data to be passed
through the device TAP to another device in the scan chain
with minimum delay. The bypass register is set LOW (VSS)
when the BYPASS instruct ion is e xecuted.
Boundary Scan Regist er
The Boundary scan regist er is connected to all the input and
bidirectional I/O pin s (not cou nting th e TAP pins) on the de vic e.
This also includes a number of NC pins that are reser ved for
futur e needs . Th ere are a total of 70 bi ts for x36 de vi ce and 51
bits f or x18 devic e. The bounda ry scan re giste r, under the con -
trol of the TAP controller, is loaded with the contents of the
device I /O ri ng when the controller is in Capture-DR state and
then is placed between the TDI and TDO pins when the con-
troller is moved to Shift-DR state. The EXTEST, SAMPLE/
PRELOAD and SAMPLE-Z instructions can be used to cap-
ture the contents of the I/O ring.
The Boundary Scan Order table describes the order in which
the bit s are connect ed. The first column def ines the bi t’s posi -
tion in the boundary scan register. The MSB of the register is
connected to TDI, and LSB is connected to TDO. The second
column is the signal name and the third column is the bump
number. The third column is the TQFP pin number and the
fourth co lu mn is th e BGA bump n u mber.