with two additional 8-bit parallel-to-serial shift registers. Write
and shift operations are controlled by a local state machine
that accepts stimulus from the PPI, Mode Registers, CNT32,
and the TCK Control section. The TDO output always
changes on the falling edge of SCK. The order of shifting is
least significant bit first. TDO is forced high upon RST low.
TDO is TRI-STATEd when OE is high.
Serial Scan Interface (SSI) (Continued)
•
TCK is enabled according to the logic in TCK Control.
When shift operations are not enabled, the TMS output re-
tains its last state. During long shift sequences, the TMS
shifter/buffer can be disabled and held static so that shift op-
erations are concentrated only on TDI and TDO. The TMS
output also retains its last state when Test Loop-Back opera-
tions are in progress.
Write operations are completed if the shifter/buffer is not full
(independent of whether shifter/buffer is enabled or dis-
abled). Otherwise they are ignored.
Local select circuitry is used to toggle back and forth be-
tween the two registers of the “FIFO” when shifting. At any
given time, one register is selected for shift operations. The
other holds its previous state or can accept new parallel
data. Shift register selection changes due to the following
two events:
Shifting occurs when the following conditions are all true:
•
•
•
TDO is enabled with its respective mode bit.
TDO shifter/buffer is not empty.
TCK is enabled according to the logic in TCK Control.
When shift operations are not enabled, the TDO output re-
tains its last state. The TDO output also retains its last state
when Test Loop-Back operations are in progress.
•
CNT3 in TCK Control signals that 8 bits have been
shifted. This event is used for basic toggling between
each of the two shift registers.
Local select circuitry is used to toggle back and forth be-
tween the two registers of the “FIFO” when shifting. At any
given time, one register is selected for shift operations. The
other holds its previous state or can accept new parallel
data. Shift register selection changes due to the following
two events:
•
CNT32 enabled and at terminal count. This event is used
to account for scan lengths which are not multiples of
eight. When shift register selection changes due to this
signal, any data remaining in the shift register is unused.
AUTO TMS HIGH MODE . This feature is included in the
TMS shifter/buffer block to improve the efficiency of the
PSC100 in supporting shift operations within the 1149.1 de-
vices connected to the SSI. Shifting data and instructions
into 1149.1 compliant devices requires that their TAP control-
lers be sequenced to the Shift-DR or Shift-IR states (see Fig-
ure 8). Once in this state, shifting occurs by holding TMS low
and clocking TCK. The last bit is shifted when the TAP con-
troller transitions to the EXIT1 state. This transition requires
a logic 1 on TMS. The Auto TMS High feature, enabled by
setting bit 1 of Mode Register 0, automatically creates a logic
•
CNT3 in TCK Control signals that 8 bits have been
shifted. This event is used for basic toggling between
each of the two shift registers.
•
CNT32 enabled and at terminal count. This event is used
to account for scan lengths which are not multiples of
eight. When shift register selection changes due to this
signal, any data remaining in the shift register is unused.
PRPG MODE . By setting MODE1(4), the TDO Shifter/Buffer
is reconfigured as a 32-bit PRPG (Pseudo Random Pattern
Generator) using the primitive polynomial:
=
1 on the TMS lines of the PSC100 when CNT32 1. Conse-
quently, the last bit is shifted out without having to load spe-
cific TMS data into the shifter/buffer.
32
+ X22 + X2 + X + 1
=
F(X)
X
The PSC100 was developed to support both 1149.1 and
non-1149.1 serial test methodologies. Since 1149.1 compli-
ant devices include boundary scan registers on control pins
(i.e. OE), which must remain fixed during boundary scan in-
terconnect testing, generating pseudo-random patterns with
PRPG mode provides limited usefulness for boundary scan
test operations. PRPG mode may provide usefulness in
other serial test or non-test related implementations which
do not require fixed bits in the serial chain.
Note: Auto TMS High mode creates a logic 1 on both TMS lines (i.e., TMS0
and TMS1). Therefore, when using the Auto TMS High feature, all
1149.1 devices connected to the TMS line not participating in the cur-
rent JTAG test operations should be placed in the Test-Logic-Reset
TAP controller state to prevent inadvertent TAP controller transitions.
TDO SHIFTER/BUFFER
The TDO Shifter/Buffer block diagram is shown in Figure 11.
This block takes parallel data and serializes it for shift opera-
tions through the serial port pin TDO. During normal shift
modes, double-buffering is achieved by configuring the
shifter/buffer as a 2 x 8 FIFO. This block can also be config-
ured as a 32-bit Pseudo Random Pattern Generator (PRPG)
Figure 12 shows a block diagram of the Linear Feedback
Shift Register hookup.
www.national.com
12