Global TMW:
Login  |  Register          Free Newsletter Subscription
Subscribe
Email
Print
Reprint
Learn RSS

Boundary-Scan Software Aids PCB Evaluation

IEEE 1149.1 tools generate synthesizable boundary-scan-circuit descriptions, and when a foundry converts them to silicon, the resulting boundary-scan circuits help find manufacturing flaws on PCBs.

Rick Nelson, Senior Technical Editor -- Test & Measurement World, 10/1/1999

Need more information? Read our Product Survey Chart
for Representative Boundary-Scan Software Tools

Last month, I described some design-for-test tools that help you build testable ICs.1 This month, I’ll look at complementary software tools that insert boundary-scan circuitry into ICs. This circuitry reduces the test chores from in-circuit board testers, reducing the pin count on bed-of-nails fixtures.

Boundary-scan circuitry includes scan cells inserted in series with each I/O pin of an IC. A single scan cell can serve a basic unidirectional pin. Three-state and bidirectional pins require more cells (Fig. 1). During normal operation, the cells are transparent to the normal flow of data between an IC’s data pins and its internal logic. In test mode, scan-cell latches provide the data, either to exercise internal chip logic or to drive an output pin. In the latter case, a test system can probe the other end of the PCB trace to which that output pin connects in an effort to verify trace continuity.

1099f4fig1.gif (18818 bytes)

Figure 1. Bidirectional data pins can require three scan cells. In normal operation (with switches as shown), data flows transparently between IC internal logic and the bidirectional pin buffer; the IC’s internal I/O Select function determines whether the pin handles data input or output. In test mode, the state of the latch (L) in the bottom cell determines data direction. If input mode is selected, the contents of the middle latch exercise internal logic; if output is selected, the contents of the top latch drive the external Data I/O pin and the PCB trace to which it connects.

The scan-cell latches receive their test data by means of the four-pin test-access port (TAP) defined in the IEEE 1149.1 standard.2 The pins include a test-mode-select (TMS) pin, a test-clock signal (TCK), and test-data input (TDI) and test-data-output (TDO) pins. When asserted, TMS enables the scan circuitry on each I/O pin of a boundary-scan-compliant DUT (for example, by putting the switches in Fig. 1 in the lower position). With TMS active, TCK clocks data serially into TDI, from which scan-cell latches acquire their data. TDO provides a path to the TDI of additional ICs on a PCB.

During test, the TAP signals are exercised by TAP controller hardware, available from a variety of firms.3 The TAP also can serve to carry programming information into PLDs, allowing simultaneous testing and programming—called in-system programming (ISP)—of PCB-mounted PLDs.4,5

Indeed, PLDs are a prime target for boundary-scan techniques, and PLD makers including Altera (San Jose, CA) and Xilinx (San Jose, CA) offer tools that help implement boundary-scan circuitry within their chips. Xilinx, for example, has released a Java application programming interface (API) for boundary scan as part of its Silicon Xpresso initiative announced last fall.6 The free Xilinx software package includes a reference implementation of the API, plus source code and Xilinx XC9500 CPLD algorithms that use this API. It also includes a translator that accepts boundary-scan descriptions in serial vector format (SVF) to create Java API-based applications.

In an effort to establish a standard file format for ISP, Altera freely licenses its Jam programming and test language. Jam includes two software components: a Jam composer that writes the Jam file required to program a specific design into a specific device, and a Jam player that interprets the Jam file and programs the target device.

Corelis has added support for Jam to its ScanPlus boundary-scan development, manufacturing, and field-service-test systems. The platform-independent Corelis ScanPlus software (which includes a Jam Player) can program onboard devices such as Altera’s MAX 7000 and MAX 9000 chips using Corelis JTAG controllers for the ISA bus, the PCI bus, the PC Card bus, or LAN.

Of course, boundary scan is not limited to PLDs; you can employ IEEE 1149.1 techniques on any digital part you design. A variety of software tools (see the product survey chart) can help you implement boundary-scan circuits in your designs no matter what format your design data is in—including EDIF, Verilog, VHDL, or proprietary netlist formats.

Traditionally, boundary-scan testing has been the domain of test and production engineers wishing to check the integrity of assembled PCBs by using the built-in test possibilities offered by JTAG-compliant ICs. This has required them to follow a formal test-development program involving ATPG tools that required cryptic netlist and component data formats.

JTAG Technologies is trying to make boundary-scan test easier for designers and test engineers to use by enabling access to a PCB’s boundary-scan features via an interactive Windows GUI. Its ActiveTest software hides the details of TAP states, BSDL data files, and serial shift sequences.

By reading an EDIF 200 netlist of your design along with a list of JTAG-compliant parts, ActiveTest presents a summary of PCB nets, highlighting which nets can be accessed through boundary-scan and indicating whether a pin is input only, output only, or bidirectional. Test patterns can be assigned to groups of nets using binary, hex, octal, or decimal bases. Vectors are then assigned a direction and can be executed in a single step or continuous loop modes. Logic-analyzer-style state or timing diagrams then can be used to display vector updates and vector captures. T&MW

FOOTNOTES
1. “Design Techniques Ensure Testable SOCs,” T&MW, September, 1999, p. 32.
2. 1149.1 IEEE Standard Test Access Port and Boundary-Scan Architecture. IEEE, Piscataway, NJ, www.ieee.org.
3. “Boundary-Scan Tools Keep Pace with Device Innovations,” T&MW, November 1998, p. 41.
4. “Careful PCB Layout Enhances Onboard Programming,” T&MW, January 1999, p. 49.
5. “Design a Production Test Strategy for PLD-based PCBs, T&MW, March 1999, p. 37.
6. “Initiative Moves Boundary-Scan Tool to Web,” T&MW, October 1998, p. 6.

Email
Print
Reprint
Learn RSS

Talkback

We would love your feedback!

Post a comment

» VIEW ALL TALKBACK THREADS

Related Content

Related Content

 

By This Author

Sponsored Links



 
Advertisement
SPONSORED LINKS

More Content

  • Blogs
  • Podcasts

Blogs

  • Rick Nelson
    Taking the Measure

    June 25, 2008
    CEOs address proposed Credence, LTX integration
    Credence and LTX complement each other with respect to customers, product lines, facilities, and emp...
    More
  • Rick Nelson
    Taking the Measure

    June 23, 2008
    Credence, LTX plan merger, rationalization ahead
    Credence and LTX yesterday announced plans to merge (see related story), leading to product-line rat...
    More
  • » VIEW ALL BLOGS RSS

Podcasts

Advertisements





NEWSLETTERS
Click on a title below to learn more.

Test Industry News (3 Times Per Month)
Machine-Vision & Inspection (Monthly)
Communications Test (Monthly)
Design, Test & Yield (Monthly)
Automotive, Aerospace & Defense (Monthly)
Instrumentation (Monthly)
Resource Center E-Alert (Monthly)
©2008 Reed Business Information, a division of Reed Elsevier Inc. All rights reserved.
Use of this Web site is subject to its Terms of Use | Privacy Policy
Please visit these other Reed Business sites