Академический Документы
Профессиональный Документы
Культура Документы
Paper 2.1
31
Protocol under
AC-EXTEST and RTl
Application Link 1149.1 + 1149.1
0
0 + O
Logical Link
1
1 ) 1
Physical Link
10101o...
010101... - m
-rLnnrL
I/
101010...
010101...
Paper 2.1
32
software for comparison. The decoded value should be the 5 ACEXTEST'
same logical value as on the driving side as a result of the AC-EXTEST defines an application layer protocol to
decoding process. This step corresponds to the procedure enable testing AC coupled nets when AC boundary-scan
from the physical link to the logical link in figure 2. The cells are used.
time interval to sample AC signal can be determined
explicitly or implicitly. 5.1 The AC-EXTEST Instruction
The AC-EXTEST is a public instruction in IEEE
4.2.1 Explicit AC Sample Scheme 1149.1 and is a super set of the mandated EXTEST
Driving device reports the sampling time for a AC instruction. AC-EXTEST works with the AC boundary-
signal to its counter-part receiving device by the explicit scan cell, which is backward compatible with the
signal, called AC capture signal. The receiving device mandated EXTEST instruction when the cell is under the
purely relies on the signal to sample the AC pattern. EXTEST instruction. When the AC-EXTEST instruction
While explicit signaling enables clear communication is selected, the boundary-scan register cells determine the
among devices, it has disadvantage of having multiple state of all system output pins.
extra AC capture signals connected over multiple devices,
especially when a device is receiving AC capture signals As in the mandatory EXTEST instruction defined in the
from multiple driving devices. Board designers may elect IEEE 1149.1 Standard, AC-EXTEST would load data into
one for a master driver to avoid multiple AC capture the latched parallel outputs of boundary-scan shift-register
signals from going to a device. Since the data and clock stages using the PRELOAD instruction. The AC-EXTEST
signals are transmitted together, this scheme requires a capable AC boundary-scan register cells located at system
careful timing adjustment during board design as in source output pins (2-state, 3-state, or bi-directional) can
synchronous designs. generate AC patterns during the Run-Test/IdZe controller
state.
4.2.2 Implicit AC Sample Scheme
In this scheme, no explicit AC capture signal is The snapshot of AC pattern signal is sampled at the
transmitted as in the previous case. The receiving device system input pins during the Run-Test/Idle controller state
recognizes the sample time by processing the protocol at every 16th AC pattern cycles and the falling edge of the
defined in the application link layer. AC boundary scan AC pattern clock as shown in Figure 5 . The 16" cycle is a
cells are timed to sample the AC signals based on such part of implicit synchronization scheme discussed in
protocol. The details are discussed in the next section. section 4 and selected as an interoperability reason.
Explicit synchronization can be used when a device-to-
device interconnection is well defined.
EXTEST
EXTEST EXTEST EXTEST EXTEST
Paper 2.1
33
5.2 Link to EXTEST a) Both the system output pins and the system input pins
When the AC-EXTEST instruction is selected, the are interconnected and are under the AC-EXTEST
system. output pins follow rules set by the EXTEST instruction. The test shall work properly regardless of
instruction, except for the system output pins with the AC AC coupling between the interconnections.
boundary-scan cells. The pins equipped with an AC b) If there is no AC coupling between two devices, the
boundary-scan cell apply AC patterns in the Run-TestIIdle system output pin under the EXTEST instruction shall
controller state, instead of steady state logic levels as in operate with the system the input pin under the
the EXTEST instruction. AC-EXTEST instruction.
c> The system output pins under the AC-EXTEST
Table 1 shows the effects of AC-EXTEST compared to instruction shall operate as the EXTEST instruction if
EXTEST. The devices under AC-EXTEST operate as an the TAP controller is not in the Run-Test/Idle
AC-EXTEST only when the TAP controller goes through controller state.
Run-Test/Idle controller state. AC-EXTEST works the
same way as EXTEST if the TAP controller goes to the The system input pins under the EXTEST instruction
Capture-DR controller state without passing through the may not perform the test properly with the system output
Run-TestLdle controller state after each Update-DR or pins under the AC-EXTEST instruction and should be
Update-IR. avoided. The input pins capture unpredictable AC values,
: unknown to the DC world.
Run-TestI Idle
<
!
4,
----y
I
j
I
....
boundary-scan cells and various signals used in the
examples. The major signals are explained as follows:
8--qLrLr
AC Pattern A
AC Pa& A =
AC-Sync1 i j n i i n
....a
AC-Test: a function of the AC-EXTEST instruction
and the Run-TestAdle controller state. It becomes true
....
I
when the TAP controller is in the Run-TestIIdle
controller state under the AC-EXTEST instruction.
Figure 5: Example timing diagram of critical signals AC-Pattern-Clock: the AC pattern generation and
pattern sample logic use the same clock known as
6 Boundary-scan cell Design examples “AC pattern clock”, shown here as
The AC boundary-scan cell can have predefined “AC-Pattern-Clock” to synchronize pattern
function of BC-0 to BC-IO, which carry all the semantics generation and sample operations. The signal
of 1149.1 with additional AC related portions. The AC “AC-Pattern-Clock” is a shared clock for AC pattern
test pattern generation and capture capabilities are added generation and the ClockDR for capturing and
to the existing boundary scan scheme. The AC boundary- shifting of boundary-scan test signals.
scan cells together with the AC capable TAP controller AC-Test-Marker: a single event that is one and a half
have pattern generator, and pattern capture functions, as pattern clock cycle long, and positive going pulse to
well as pattern mapping circuitry if necessary to convert mark the beginning of the AC pattern generation
preloaded DC (logic) value into AC patterns and the sequences. It is used to set the pattern generation flip-
sampled AC signals back to the expected DC (logic) flop with a known value.
Paper 2.1
34
0 AC-Test-Ran: used to control the input AC translated to the logical value used by the application
boundary-scan register cells to capture from the layer. Since there are so many types of drivers and
system pin input buffer instead of capturing from AC receivers combined with different technologies, we
pattern sample flip-flop. In special cases where the believe that it is an entirely new area of research to define
AC-EXTEST instruction is executed without going both the sampling and encoding methods.
to the Run-Testhdle controller state, this mode of
operation is enabled and the signal forces the AC In this section, we have shown fault coverage for LVDS
boundary-scan register cell to act like a DC scan cell. (Low Voltage Differential Signal) without adding any
special receiving features for fault detection purposes on
6.1 AC Boundary Scan Cell Design Example normal LVDS receiver to demonstrate the coverage that
The examples in Figures 4 are boundary-scan register plain AC-JTAG without special buffer technology can
cell type BC-1 and maintain compatibility with existing achieve.
EXTEST. AC boundary-scan cells can be mixed into the
design with any of the IEEE 1149.1 Standard compatible 7.1 LVDS Connection
devices. The differential line with point-to-point connection
using LVDS is typically configured as in Figure 6. The
The left portion of Figure 4 shows an AC scan cell with driver is both sourcing and sinking current. The
a built-in AC pattern generator, it generates AC patterns termination registers at the receiving side will provide
using “AC- Pattern-ClocK’ and boundary-scan Capture differential voltage of 350mV. Please see [3] for LVDS
register cell. First, the EXTEST value from the Update specification.
scan cell is copied into the boundary-scan Capture LVDS Urm
Dnw 3 M
Lms
h a v LIIY)
er
Paper 2.1
35
receiver. lOOnf coupling capacitances are used in this recovery logic can be added to handle such cases in thi
experiment; however, the coupling capacitance can be a receiving side before the AC signal is captured by A<
much smaller or higher value. As the coupling capacitance boundary scan cell. Such recovery logic belongs to th
is getting smaller, the signal after coupling capacitance is physical layer. So the AC-EXTET protocol is not affectel
no longer same as the signal before the coupling by such signals behavior. Figure 8 shows the signa
capacitance. Since only the high frequency components transitions through a small coupling capacitance an[
of the incoming signals passes through the capacitance, effects of the signal recovery logic. The signal transition:
the signals in the receiving side will be both positive and are for one leg of the differential pair seen in Figure 7.
negative going pulses at the rising and falling edges of the
incoming square waveform signal respectively. Signal
y
Negative after CAP Yes Yes
I Short
Positive before CAP and
Negative after CAP
Positive after CAP and
Negative before CAP
Positive before CAP and No Yes Combining with DC test might
Positive after CAP detect this fault
Short Negative before CAP and No Yes Combining with DC test might
Negative after CAP detect this fault
Stuck-0 Positive before CAP Yes/No Yes/No May require longer simulation time
Stuck-1 Positive before CAP Yes/No Yes/No Depends on Stuck voltage level
I
11 Stuck-0 Positive after CAP Yes Yes I
12 I Stuck-1 Positive after CAP Yes/No Yes/No Depends on Stuck voltage level
13 I Stuck-0 Negative before CAP Yes/No Yes/No May require longer simulation time
Negative before CAP Yes/No Yes/No Depends on Stuck voltage level
Negative after CAP Yes I Yes
16 I Stuck-1 Negative after CAP Yes/No I Yes/No I Depends on Stuckyoltage level
Table 2: Fault injection and coverage for LVDS AC coupled differential lines
7.3 Fault Coverage combined. The coverage analysis is purely based the
Faults are injected using resistors as shown in Figure 7. previously defined AC-EXTEST without assuming any
Certain resistors are initially set to infinite (zero) number special circuitry in the receiver side. To demonstrate the
and changed to zero (infinite) value to create short (open) detection mechanism used in this experiment, two spice
faults. simulation results are shown in Figures 9 and 10. Figure 9
shows the normal behavior and Figure 10 is the behavior
Table 2 summarizes coverage report based on the Spice with fault number 1 in Table 2 . The first two signals in
simulation for the LVDS pair connection through the figures show the input and output pulses. The next
capacitance. The first column represents the fault number. four signals represent the differential signal pairs before
Fault type is shown in the second column. In the third and after the coupling capacitance. The output of circuit
column, fault location is specified. “Positive” and with a fault is different from the normal behavior.
“negative” describe the polarity of differential signals in a
connection.
Paper 2.1
36
build and execute the instruction. AC pattern generation
and sample methods have been illustrated with design
examples. Fault coverage result is presented using LVDS
U 0 technology.
Acknowledgements
This technology has been presented and reviewed by
many MSA (Multi Source Agreement) partners for Cisco
Parallel Optics module vendors. Authors wish to thank the
those who provided advice and feedback, especially
Pandu Sharma at Cisco Systems Inc., and Robert Schuelke
at AMCC.
Figure 9: Normal LVDS behavior
References
[ l ] IEEE Standard 1149.1a-1993, “IEEE Standard Test
Access Port and Boundary-Scan Architecture”,
IEEE Standards Board, New York, October 1993.
[2] Supplement to IEEE Standard 1149.1-1990, “IEEE
Standard Test Access Port and Boundary-Scan
Architecture”, IEEE Standards Board, New York,
March 1995
[3] TIA/EIA-644-1996: “Electrical Characteristics of
Low Voltage Differential Signaling (LVDS)
Figure 10: Behavior with fault number 1 Interface Circuits”.
[4] A. F. Benner “Fibre Channel: Gigabit
All the open faults are detected. For the short faults, communications and U 0 for computer networks”,
there are two faults (i.e. 7 and 8) that are not detected in McGraw-Hi11,1996.
AC test. However the faults can be identified when test [5] IEEE Standard 1149.4-1999, “IEEE Standard for a
results in DC domain are combined. If a DC test is run, Mixed Signal Test Bus”, IEEE Standards Board,
the short faults will not be detected since the short line New York, March 1999
creates a DC link instead of an AC link. The AC link is [6] L. Whetsel, “Improved Boundary Scan Design”,
not broken in this LVDS case since original LVDS is Proc. International Test Conference, 1995, pp 851-
working properly without the coupling capacitance. 860
However initial assumption is that the DC test should fail [7] H. Singh, G. Patankar and J. Beausang, “A
because of the coupling cap, so the fault is detected by an Symbolic Simulation-basedANSVIEEE Std 1149.1
inductive analysis. Compliance Checker and BSDL Generator”, Proc.
International Test Conference, 1997, pp 256-264
Faults are “conditionally” detected when “Yes/No” [8] B. Nadeau-Dostie, J.F. Cote, H. Hulvershorn and S .
appears in the coverage column. Since the LVDS is a Pateras, “An Embedded Technique for At-Speed
differential signaling method, the stuck voltage level at Interconnect Testing”, Proc. International Test
one leg will affect the differential voltage across the Conference, 1999, pp 431-438
differential receiver, which makes coverage conditional. [9] K. P. Parker “The Boundary-Scan Handbook,
second edition, Analog and Digital”, Kluwer
8 Conclusion Academic Publishers, 1998,, pp 251-253
We have introduced a new AC-JTAG technology. It
allows testing of AC coupled nets in the boundary-scan
environment. In addition, adopting this technology into a
manufacturing board test process can significantly reduce
board test cost. ACEXTEST is a public instruction,
which enables this technology. All the elements and
protocols between devices have been described to help
Paper 2.1
37