Rohini 85904854743
Rohini 85904854743
Rohini 85904854743
BOUNDARY SCAN
In built-in self test (BIST) design, parts of the circuit are used to test the circuit
itself. Online BIST is used to perform the test under normal operation, whereas
off-line BIST is used to perform the test off-line. The essential circuit modules
required for BIST include:
*Pseudo random pattern generator (PRPG)
* Output response analyzer (ORA)
The roles of these two modules are illustrated in Fig. 1. The implementation of
both PRPG and ORA can be done with Linear Feedback Shift Registers (LFSRs).
polynomial G(x) and the output sequence by Q(x). It can be shown that G(x) =
Q(x) P(x) R(x), where P(x) is the characteristic polynomial of LFSR and R(x) is
the remainder, the degree of which is lower than that of P(x). For the simple case
in Fig. 3 the characteristic polynomial is
and the remainder term becomes R(x) = x4 x2 which corresponds to the register
contents of {0 0 1 0 1}.
a boundary-scan cell that includes a multiplexer and latches to each pin on the
device.
Boundary-scan cells in a device can capture data from pin or core logic
signals, or force data onto pins. Captured data is serially shifted out and externally
compared to the expected results. Forced test data is serially shifted into the
boundary-scan cells. All of this is controlled from a serial data path called the
scan path or scan chain. Figure 1 depicts the main elements of a boundary-scan
cell. By allowing direct access to nets, boundary-scan eliminates the need for a
large number of test vectors, which are normally needed to properly initialize
sequential logic. Tens or hundreds of vectors may do the job that had previously
required thousands of vectors. Potential benefits realized from the use of
boundary-scan are shorter test times, higher test coverage, increased diagnostic
capability and lower capital equipment cost.
The EXTEST instruction performs a PCB interconnect test, compliant device into an external
boundary test mode, and selects the boundary scan register to be connected between TDI and
TDO. During EXTEST instruction, the boundary scan cells associated with outputs are
preloaded with test patterns to test downstream devices. The input boundary cells areset up to
capture the input data for later analysis.
SAMPLE/PRELOAD
BYPASS
Boundary-Scan Applications
While it is obvious that boundary-scan based testing can be used in the
production phase of a product, new developments and applications of the IEEE-
1149.1 standard have enabled the use of boundary-scan in many other product
life cycle phases. Specifically, boundary-scan technology is now applied to
product design, prototype debugging and field service as depicted in Figure 3.
This means the cost of the boundary-scan tools can be amortized over the entire
product life cycle, not just the production phase.
shorter product life-cycle with dramatically faster time-to- market has created
new technology trends. These trends include increased device complexity, fine
pitch components, such as surface-mount technology (SMT), systems-in-package
(SIPs), multi-chip modules (MCMs), ball-grid arrays (BGAs), increased IC pin-
count, and smaller PCB traces. These technology advances, in turn, create
problems in PCB development:
Many boards include components that are assembled on both sides of the
board. Most of the through-holes and traces are buried and inaccessible.
Loss of physical access to fine pitch components, such as SMTs and BGAs,
makes it difficult to probe the pins and distinguish between manufacturing
and design problems.
Often a prototype board is hurriedly built by a small assembly shop with
lower quality control as compared to a production house. A prototype
generally will include more assembly defects than a production unit.
When the prototype arrives, a test fixture for the ICT is not available and,
therefore, manufacturing defects cannot be easily detected and isolated.
Small-size products do not have test points, making it difficult or
impossible to probe suspected nodes.
Many Complex Programmable Logic Devices (CPLDs) and flash memory
devices (in BGA packages) are not socketed and are soldered directly to
the board.
Every time a new processor or a different flash device is selected, the
engineer has to learn from scratch how to program the flash memory.
When a design includes CPLDs from different vendors, the engineer must
use different in-circuit programmers to program the CPLDs.
Boundary-scan technology is the only cost-effective solution that can deal with
the above problems. In recent years, the number of devices that include boundary -
scan has grown dramatically. Almost every new microprocessor that is being
ROHINI COLLEGE OF ENGINEERING AND TECHNOLOGY
A typical digital board with boundary-scan devices includes the following main
components:
Most of the boundary-scan test systems are comprised of two basic elements: Test
Program Generation and Test Execution. Generally, a Test Program Generator
(TPG) requires the netlist of the Unit Under Test (UUT) and the BSDL files of
the boundary-scan components. The TPG automatically generates test patterns
that allow fault detection and isolation for all boundary-scan testable nets of the
PCB. A good TPG can be used to create a thorough test pattern for a wide range
of designs. For example, ScanExpress TPG typically achieves net coverage of
more than 60%, even though the majority of the PCB designs are not optimized
for boundary-scan testing. The TPG also creates test vectors to detect faults on
the pins of non-scannable components, such as clusters and memories that are
surrounded by scannable devices.
Some TPGs also generate a test coverage report that allows the user to focus on
the non-testable nets and determine what additional means are needed to increase
the test coverage.
Test programs are generated in seconds. For example, when Corelis ScanExpress
TPG™ was used, it took a 3.0 GHz Pentium 4 PC 23 seconds to generate an
interconnect test for a UUT with 5,638 nets (with 19,910 pins). This generation
time includes netlist and all other input files processing as well as test pattern file
generation.
Test execution tools from various vendors provide means for executing
boundary-scan tests and performing in-system programming in a pre-planned
specific order, called a test plan. Test vectors files, which have been generated
using the TPG, are automatically applied to the UUT and the results are compared
to the expected values. In case of a detected fault, the system diagnoses the fault
and lists the failures as depicted in Figure 5. Figure 5 shows the main window of
the Corelis test execution tool, ScanExpress Runner™. ScanExpress Runner
gives the user an overview of all test steps and the results of executed tests. These
ROHINI COLLEGE OF ENGINEERING AND TECHNOLOGY
results are displayed both for individual tests as well as for the total test runs
executed. ScanExpress Runner provides the ability to add or delete various test
steps from a test plan, or re-arrange the order of the test steps in a plan. Tests can
also be enabled or disabled and the test execution can be stopped upon the failure
of any particular test.
Different test plans may be constructed for different UUTs. Tests within a test
plan may be re-ordered, enabled or disabled, and unlimited different tests can be
combined into a test plan. ScanExpress Runner can be used to develop a test
sequence or test plan from various independent sub-tests. These sub-tests can then
be executed sequentially as many times as specified or continuously if desired. A
sub-test can also program CPLDs and flash memories. For ISP, other formats,
such as SVF, JAM, and STAPL, are also supported.