Atubriai On Buiikln: Seiktest
Atubriai On Buiikln: Seiktest
Atubriai On Buiikln: Seiktest
Part 2: Applications
HAVING -D the BIST pat- VlSHWANl D. AGRAWAL slower than the test-perclock a p
tern generation and response analysis proach. The two approaches in-
concepts in Part 1, we now focus on AT&T Bell Laboratories volve distinct hardware structures
their implementation.First we will d e CHARLES R. KlME and trade-offs.
scribethe testing of general logic;then Figure la (next page) shows a
we will briefly discuss testing a p KEWAL K. SALUJA simple test-perclockconfiguration
proaches for sbuctured logic such as University of Wisconsin, using an LFSR as a pattern genera-
ROMs, RAMS, and PUS. We refer the tor and an MISR as a response
reader back to Table2 in Part 1, which Madison compactor. Figure 1b shows a test-
containstypicalpattern generatorand perclock configuration using an
response analyzersbuctures.Here,we LFSR, an MISR, and a shift register.
concentrate almost entirely on the Concluding an overview of b * The first configuration is suitable for
LFSR and MISR structures. For these self-test (BIST) concepts a exhaustive or pseudorandom test-
sttuctures,scan is an integml part of the
practices, Part 2 covers B
ing and the second for pseudoex-
design. Note also that ROMs and haustive or pseudorandom testing.
counters can be useful as supple hardware structures, applica Notice that the pattern generator
ments or alternatives to a number of and tools. The authors LFSR costs little more than a serial
the structures described. testing approaches for g scan register because we can ordi-
structured logic. They illustrate BtST narily implement it with only two
BlST structures for general techniques with rea additional XOR gates.’ But using
logic examples and present
the MISR on the circuit’soutputs r e
First of all, most BIST techniques quires XOR structures on every out-
for general logic involve a funda- structures and software tools put stage,plus the LFSR hardware.
mental trade-off between time and supporting BIST design. In contrast, when we examine
hardware. We can characterize this the test-perscanconfiguration in
trade-off most easily by classifying Figure 2a, we find that the LFSR and
BlST techniques into two categories: scan path or to shift the response out of the scan register SRI on the circuit’sin-
test-per-clock and test-per-scan. In test- the serial scan path (whichever is larger) puts are identical to those in Figure lb.
perclock BIST, we apply a test vector plus one or more normal mode clocks. But instead of the MISR logic on the out-
and capture a response each clock peri- For example, if a chip containing 200 puts, a scan register SRO drives a short-
od. In test-per-scan BET, we use scan edgetriggered flip-flopshas a single, full ened MISR on only a portion of the
capability to apply a test vector and c a p scan path, test-per-scan requires 201 outputs. This configuration saves the
ture a response each scan cycle. A scan clock periods to apply a test vector and MISR hardware on the remaining out-
cycle is the number of clock cycles re- simultaneously observe the response to puts, but it must shift all the outputsc a p
quired to shift the vector into a serial the previous vector-roughly 200 times tured in SRO into the output MISR
between each normal clock. Thus, it is is of the external-XORtype (described in as compact outputs from driving logic
much slower in applying tests. For a cir- the “LFSR theory”section of Part 1) and are useful. This capability is quite natu-
cuit that uses a single serial scan path, that the serial scan paths are fed direct- ral for test-perscan using the STUMPS
one can use the configuration in Figure ly from adjacent bits of the LFSR. Then, configuration but is more difficult for
2b, with the pattern generator LFSR and the value in bit i o f a serial scan path will test-perclock. One of the earliest struc-
the response LFSR separated totally be identical to the value of bit i- 1 of the tures designed for test-perclock is
from the circuit under test (CUT). serial scan path to its right. the built-in logic block observer
STUMPS2(self-testusing an MISR and Thus, these bits are 100%correlated, (BILB0).2%P. 304 The original BILBO pro
parallel shift register sequence genera- and if they both feed the same combina- vided normal operation, reset, serial
tor) is a test-perscan approach to pseu- tional network, the patterns seen by the scan, and MISR functions. By using the
dorandom testing of circuits with network are certainly not pseudoran- feedback associated with the MISR, the
multiple serial scan paths. In this ap- dom and may yield reduced fault cover- BILBO can also provide pattern genera-
proach an LFSR used as a pseudoran- age. In general,a BIST designer must be tion as a variation of serial scan.
dom test pattern generator (PRTPG) very mindful of such correlation and Figure 3 shows a modified version of
feeds the inputs directly to a set of serial design to avoid it. In the case of the BILBO structure,its modes o f opera-
scan paths, as in Figure 2c, with the in- STUMPS, the input network in Figure 2c tion, and an application to a circuit with
put network consisting of simple con- is actually a phase shift network con- a pipeline structure. In Figure 3c,CUTS A
nections from the LFSR to the scan path. structed of XOR trees specifically de- and C can be tested simultaneously,and
The outputs from the serial scan paths signed to avoid correlation between CUT B individually, with the modes
feed MISR inputs. Suppose that the LFSR inputs to the serial scan chains and specified in Figure 3d. The BILBO
hence to the logic under test.’ The BIST modes are defined on the premise that
hardware overhead for STUMPSbeyond the outputs of an MlSR are not adequate
full scan consists of the PRTPG, the input to serve as pseudorandom test inputs.
Shift register
network, and the MISR. This approach A final test-perclock approach,called
can simultaneously test all the synchro circular self-testor circular BIST, elimi-
nous internal logic in a chip or set of nates the linear feedback circuits for
CUT II 1
...
so+/eHuJ Scan register SRO LFSR MlSR
v
ibl fd
Figure 2. Test-per-scanconfigurations.
B2
SI so
Clock
Q1 Q2 Qn
E] 0 0 Serial scan
I I I
SI
0) GP
:. C gA
1
Inputs
:
I
I
outputs
.
:
i iz
I-1
[r
E
JUNE 1993 71
. -
B U I L T - I N S E L F - T E S T
BlST glossary
Aliasing: condition in which a faulty cir- Design for testability (DFT): any pro- method in which the subcircuits in a
cuit with erroneous response produc- cess applied to a circuit design that covering set for the circuit under test
es the same signatureas a good circuit facilitates testing the circuit are tested exhaustively
Automatic test patkm generafw Exhaustive testing: a testingtechnique Pseudorandom patterns: sequences
(ATPG):a system (typically a comput- that applies all possible input com- of patterns havingproperties similar
er prcgram)thatgeneratesasequence binations to the circuit under test to sequences of random patterns
of test patterns to test faults in a circuit Fault coverrrge: ratio, expressed as a Pseudorandom testing: a testing
Boundary scan: a method of provid- fractionor percentage, of all faults de- method that applies pseudorandom
ing serial scan access to all the in- teded by a test sequence to the toto1 patterns to the circuit under test
puts and outputs of a device modeledfaults in the circuit under test Pseudorandomtest patterngenerotor
Built-in logic block observer (BIBO): In-cimuittesfing0: a methodthat uses (PRTPG): a BlST circuit, usually
an LFSR-basedBlST circuit with four direct access to the chip pins to test based on an LFSR or a cellular au-
modes of operation: normal stor- chips or intercondons on a b a r d tomaton, that produces a pseudo-
age, reset, serial scan, and multiple- Level-sensitive scan design (LSSD): a random sequence of patterns
input signature analysis variant of the serial scan design con- Rei& ratio:percentage (or fraction) of
Cellular automaton: a circuit consist- cept defined by IBM faulty devices among all devices
ing of an array of sequential cells Linear feedback shift register (LFSR): passing a set of tests
having a repetitive local intercon- a circuit made up of flip-flops and Scan design: a DFT technique in which
nection structure (the most common XOR gates interconnected in certain all storage elements, except those in
form is a one-dimensionalcell array configurations (typically used for storage arrays, can be controlled
consisting of a single bit of storage BlST pattern generation and re- and observed without using the
dependent on its own value and the sponse analysis) functional logic (the most common
value stored in its nearest neighbor) Muk+inputsignahJre register (MISR): form is serial scan, in which storage
Circular BIST: a technique in which an LFSR-basedBlST circuit that simul- elements are electronically recon-
pattern generation and response taneously compacts multipleresponse nected to form one or more shift reg-
compaction are carried out simulta- sequences for response analysis isters for testing)
neouslyby the same set of flip-flops, Partialscan: a DFT technique in which Signature: contents of a set of storage
which form a circular chain only a subset of all circuit flip-flops elements containing the compacted
Compaction: reduction of a response is scannable or compressed responsesof a circuit
sequence into a much shorter se- Patiwn an ordered set of binaty values under test
quence with possible loss of infor- that is applied simultaneouslyto the in- Stuck fault: a fault model in which a
mation (that is, the response puts of a circuit or that appean simul- line in the circuit remains at a con-
sequence may not be recoverable taneously on the ouputs of a circuit stant logic value irrespective of the
from the shorter sequence) Programmable logic army (PIA):usu- signal value at the line
Cumpression: reduction of a response ally refers to a structured implemen- Surface mount technology (SMT): a
sequence into a much shorter se- tation of a digital function based on method of assembly in which elec-
quencew i h lossof infonxhon (that a two-level AND/OR description of tronic components are mounted on
is, the response sequence can be re- the combinationalpartof the function both sides of a printed circuit board
covered from the shorter sequence) Pseudoexhaustive testing: a testing Vector: another term for pattern
scan capabilities must be provided to at one that has no cycles between storage detect such faults,we will need a serial
least a portion of the internal storage el-' I elements or into one that roughly resem- scan path to scan in the patterns and
ements. This approach, which we call bles a pipeline? scan out the responses, a ROM to store
partially sequential BET, can be applied The fundamental BIST structures and the patterns, and associated test manag-
to the circular BIST c~nfiguration.~ Par- methods given so far may not detect all er hardware. If we attack hard-to-detect
tially sequential BIST can also employ
I faults,so we must consider how to deal faults with weighted pseudorandom
techniques that change the sequential with the remaining hard-todetect faults. tests, we will need a weighted pseudo-
circuit, for testing purposes, either into If we simplyuse deterministic patterns to random generator.6.iAnother possibility
JUNE 1993 73
B U I L T - I N S E L F - T E S T
tially reduces overhead even further. vided for the PLAs by LFSRs embedded
~ Boundaryscan However, such sharing raises a concern in the input storage elements and for the
about interconnection overhead. To ROM by the microprogram counter that
Boundaryscan provides a method of keep the interconnection area low, we is part of the normal logic. The largest
testing board interconnections as well can integrate internal scan or boundary structure is a PLA with 19 inputs, so the
as isdatingthe interiorof chips for BIST. scan with the BlST logic.'3 test length is 512K clock cycles. The in-
Thus, boundary scan suppotis the inte- Thus far, most practical applications formation gathered by the MISRs is con-
gration of BlST into the hierarchical of BIST to embedded RAMs have used tinuouslyshifted out to additional LFSRs
stnrdure proposed in this article. A only algorithms that test for stuck-at tied to the data path. An internal com-
number of manufacturers have &el- faults. Stand-alone RAMs have even parison at the end of the test yields an
oped their own boundary-scanand test higher integration density and therefore output of zero in an observable register
access d o d s for chips. For design- must be tested for more complex fault if it detects no error.
ers planning to use vendor parts on types. The test sequence length and
their boards, the approach used by hence the time necessary to test a RAM Circular BIST in AT&T ASICs.4
those parts is given in IEEE Std 1149.1- are proportional to the number of bits in AT&T has employed a partial sequential
1990. The standard defines a four-to- the RAM. With the continual increase in approach using circular BIST in seven
five-signal test access port, RAM size and the increasing cost of application-specific integrated circuits.
requirements for boundary scan, an in- tester-based testing, self-test of large Four of the devices contain embedded
struction register and a standard sub- RAM chips has become imperative. RAM, and for all but one device, the goal
set of instnrctions, a bypass register, Among the earliest BIST RAM architec- was complete self-test except for I/O
and an optional device identification tures were two proposed by Kinoshita buffers and portions of the multiplexer
register. It also provides for optional, and S a l ~ j a .These
'~ architectures use logic on the inputs. The implementation
user-defined, scannable registers. transition count as the compaction func- uses a cell similar to that shown in Fig-
These registers plus the instruction reg- tion; data are generated in such a way ure 3 but with the logical functions of the
ister constitute a convenient means of that no aliasing can take place even original BILBO. The signature read-out
BlST implementation and control. Sup- though the compactor consists of a 1-bit occurs only from an LFSR or MISR em-
port for boundary scan in hardware transition counter. One of the proposed bedded in the circular chain. In addi-
and CAD tools is growing rapidly. test architectures is based on random log tion, BIST is provided for the embedded
ic, the other on microcode. The over- RAMs. For the six devices with full BIST,
Bibliography head for these architectures is negligibly the gate count, including BIST logic, av-
Bleeker, H., P. van den Eiinden, and F. small (less than 1%) for very large RAMs erages 14,150,the logic overhead aver-
de h g , Boundary-scan Test:A Prac- (4 Mbits or more). Both architectures ages 20%,and the active area overhead
ticalqppnxlCh, Kluwerkademic, Bos- have been used in practice. A list describ averages 13%.The average fault cover-
ton,1993. ing the special features of BlST RAM d e age for the portion of the circuit covered
signs and implementations appears in an by BIST for four faultsimulated circuits is
/€€€Stdl149.1-~99OT&Acoess Port article by Franklin and Saluja.I5All these 92%. Much of the hardware overhead is
and&xmda?l-soanAn)r~E(ANs/ RAMs use deterministic test patterns. in the BIST cells, and a trade-off is appar-
I€€Lj,IEEE, Piscc&wy, NJ., 1990. ent between the number of storage cells
Example BlST applications to which BlST is applied and the fault
Journal of €/ectronic Testing: Theory Manufacturers are increasingly em- coverage. The company has automated
and Applications, Special Issue on ploying BIST in real products. Here we the BIST design for standard cell VLSl
Boundary Scan, Vol. 2, No. 1,1991. offer three examples of such applica- implementation or PLD-based circuit
tions, selected to illustrate the use of packs.
Maunder, C.M. and R.E. Tulloss, eds., BIST in the semiconductor, communica-
The Test Access Port and Boundary- tions, and computer industries. Pseudorandom test in the IBM
Scan Archikdure, IEEE Computer So- RISC/6000.I7 The RISC/6000 uses an
ciety Press, Los Alamitos, Calif., 1990. Exhaustive test in the Intel extensive BlST structure that covers the
80386.'6 In the 80386, BlST logic ex- entire system. Its BIST techniques in-
Parker, K., The Boundary-ScanHand- haustively tests three control PLAs clude full serial scan and pseudoran-
book, Kluwer Academic, Boston, and the control ROM. All have MISRs on dom pattern use in the form of STUMPS.
1992. their outputs. Exhaustive stimuli are pro- In addition, the system uses embedded
JUNE 1993 75
.. -
B U I L T - I N S E L F - T E S T
RAMS,”IEEEDesign & Test ofComputers, trical and computer engineering at Rutgers ustralia. He has also held visiting and con-
Vol. 6, No. 1, Feb. 1989,pp. 2&34. University. His interests include VLSl testing ulting positions at the University of South-
20. F. Catthoor, J. van Sas, L. Inze, and H. de and neural network algorithms. He has c e rn California, the University of Iowa, and
Man, “ATestabilityStrategy for Multipre authored three books. A former editor-in- liroshima University. His research interests
cessor Architecture,” IEEEDesign & Test chief of IEEE Design & Test o f Computers, iclude design for testability, fault-tolerant
ofComputers,Vol.6, No. 2, Apr. 1989,pp. Agrawal presently serves as editor-inchief of omputing, VLSI design, and computer ar-
B34. the Journal ofEectronic Testing: Theoryand hitecture. He is an associate editor of the
2 1. R.C. Kroeger,‘TestabilityEmphasis in the Applications. He received his PhD from the ournal ofElectronic Testing: Theoryand Ap
General Electric ANLSl Program,” IEEE University of Illinois at Urbana-Champaign. dications. Saluja received the BE from the
Design & Test of Computers,Vol. 1,No. 2, He is a fellow of the IEEE and a member of Jniversity of Roorkee, India, and the MS and
May 1984,pp. 6165. the IEEE Computer Society, the ACM, and he PhD in electrical and computer engi-
22. Y. Zorian, “A Structured Approach to the VLSl Society of India. He has served on leering from the University of Iowa. He is a
Macrocell Testing Using Built-In Self- the IEEE CS Board of Governors. nember of the IEEE Computer Society.
Test,” Roc. IEEE Custom Integrated Cir-
cuits Con[, 1990, pp. 28.3.1-28.3.4.
23. E. Wu, “PEST: A Tool for Implementing
PseudeExhaustiveSelf-Test,”AT&TTech-
nicalJ.,Vol. 70, No. 1, Jan./Feb. 1991,pp.
87-100.
24. M.M. Pradhan et al., “Circular BIST with Send correspondence about this article to
Partial Scan,” Roc. Int’l Test Cod, IEEE lishwani D. Agrawal, AT&T Bell Laboratories,
CS Press, 1988,pp. 719729. io0 Mountain Ave., Room 2C-476, Murray
25. H.S. Fung and S. Hirschhom, “An Auto ment of Electricaland Computer Engineering MI, NJ 07974; [email protected].
JUNE 1993 77