to Moore and McCluskey the following formula calculates this number:

Similar documents
Yield, Reliability and Testing. Technical University of Lodz - Department of Microelectronics and Computer Science

Test & Measurement Technology goes Embedded

Debugging a Boundary-Scan I 2 C Script Test with the BusPro - I and I2C Exerciser Software: A Case Study

Old Company Name in Catalogs and Other Documents

IEEE Std Implementation for a XAUI-to-Serial 10-Gbps Transceiver

Virtual Access Technique Extends Test Coverage on PCB Assemblies

Keysight Technologies Boundary Scan DFT Guidelines for Good Chain Integrity and Test Coverage. Application Note

7. Introduction to mixed-signal testing using the IEEE P standard

Lecture 16: Design for Testability. MAH, AEN EE271 Lecture 16 1

SCAN182373A Transparent Latch with 25Ω Series Resistor Outputs

SCAN16512A Low Voltage Universal 16-bit IEEE Bus Transceiver with TRI-STATE Outputs

Online Monitoring for Automotive Sub-systems Using

72-Mbit QDR II SRAM 4-Word Burst Architecture

VLSI System Testing. Outline

EC 1354-Principles of VLSI Design

SCAN16512 Low Voltage Universal 16-bit IEEE Bus Transceiver with TRI-STATE Outputs

EECS 427 Lecture 21: Design for Test (DFT) Reminders

Triscend E5 Support. Configurable System-on-Chip (CSoC) Triscend Development Tools Update TM

Testing of Complex Digital Chips. Juri Schmidt Advanced Seminar

Virtual Access Technique Augments Test Coverage on Limited Access PCB Assemblies

Implementation of an experimental IEEE mixed signal test chip

XC9536 In-System Programmable CPLD. Power Management. Features. Description. December 4, 1998 (Version 5.0) 1 1* Product Specification

Keysight Technologies x1149 Boundary Scan Analyzer. Data Sheet

INTEGRATION OF IEEE STD AND MIXED-SIGNAL TEST ARCHITECTURES. Towards TM)*-q. From TDI. Figure 1: Cell Structure from [Park931

...We are boundary-scan.

Keysight Technologies Medalist i1000d Boundary Scan Debug

AC-JTAG: Empowering JTAG beyond Testing DC Nets

RB01 Development Platform Hardware

Telion-Series Software Defined Radio Transceiver Characteristics (incl. ARDS-compliant waveform)

72-Mbit QDR II SRAM Four-Word Burst Architecture

THE BOUNDARY-SCAN HANDBOOK SECOND EDITION Analog and Digital

XM: The AOI camera technology of the future

The data rates of today s highspeed

CMOS MT9D111Camera Module 1/3.2-Inch 2-Megapixel Module Datasheet

Design For Test. VLSI Design I. Design for Test. page 1. What can we do to increase testability?

Using At-Speed BIST to Test LVDS Serializer/Deserializer Function

Shown for reference only. MULTIPLEXED TWO-WIRE HALL-EFFECT SENSOR ICs FEATURES. ABSOLUTE MAXIMUM RATINGS at T A = +25 C

XC95144XV High-Performance CPLD R JTAG Port 1 3 JTAG Controller In-System Programming Controller Block 1 1 to /GCK /GSR /GTS Blocks FastCONNECT

XC9572 In-System Programmable CPLD

I DDQ Current Testing

SCAN18374T D-Type Flip-Flop with 3-STATE Outputs

Keysight Technologies x1149 Boundary Scan Analyzer. Data Sheet

FPGA Based System Design

ProASIC PLUS Flash Family FPGAs

IEEE Std Mixed Signal Test Bus and Its Test Methodology. IEEE Std Test Methodology NCU EE

Exploring the Basics of AC Scan

Extending IEEE Std Analog Boundary Modules to Enhance Mixed-Signal Test

Vector-based Peak Current Analysis during Wafer Test of Flip-chip Designs

XC9572XV High-performance CPLD R JTAG Port 1 3 JTAG Controller In-System Programming Controller Block 1 Macrocells 1 to 18 /GCK /GSR /GTS

Training Schedule. Robotic System Design using Arduino Platform

Policy-Based RTL Design

XC9572 In-System Programmable CPLD. Power Management. Features. Description. December 4, 1998 (Version 3.0) 1 1* Product Specification

EL7302. Hardware Design Guide

Interconnect testing of FPGA

Introduction to CMC 3D Test Chip Project

ZL50020 Enhanced 2 K Digital Switch

Multiple Transition Model and Enhanced Boundary Scan Architecture to Test Interconnects for Signal Integrity

JTAG-SMT2-NC Programming Module for Xilinx FPGAs

Low Power Design Methods: Design Flows and Kits

Testing Digital Systems II. Problem: Fault Diagnosis

QPLL Manual. Quartz Crystal Based Phase-Locked Loop for Jitter Filtering Application in LHC. Paulo Moreira. CERN - EP/MIC, Geneva Switzerland

FullFlex Synchronous SDR Dual Port SRAM

Design Automation for IEEE P1687

4M x 18, 2M x 36 72Mb S/DCD Sync Burst SRAMs

REV CHANGE DESCRIPTION NAME DATE. A Release

Design of Sub-10-Picoseconds On-Chip Time Measurement Circuit

144Mb Pipelined and Flow Through Synchronous NBT SRAM

6 Tips for Successful Logic Analyzer Probing

ACCULOGIC S TESTERS ARE BUILT FOR TOMORROW.

ZKit-51-RD2, 8051 Development Kit

3.3V regulator. JA H-bridge. Doc: page 1 of 7

ericssonz LBI-38640E MAINTENANCE MANUAL FOR VHF TRANSMITTER SYNTHESIZER MODULE 19D902780G1 DESCRIPTION

Testing Digital Systems II

Digital Integrated CircuitDesign

Note: Keep the impedance between the SMT2 and FPGA below 100 Ohms to operate the JTAG at maximum speed.

Frequency 434=434MHz 868=868MHz 915=915MHz

IEEE Standard Test Access Port and Boundary Scan Register for the ISL5216 (QPDC)

DS1073 3V EconOscillator/Divider

ANLAN203. KSZ84xx GPIO Pin Output Functionality. Introduction. Overview of GPIO and TOU

SHF Communication Technologies AG,

DS1065 EconOscillator/Divider

DatasheetDirect.com. Visit to get your free datasheets. This datasheet has been downloaded by

UNIVERSAL-DDS-VFO UDV ( 1 Hz to 10 MHz)

PHOENIX CONTACT - 03/2007

VLSI Design Verification and Test Delay Faults II CMPE 646

v tome x m microfocus CT

36Mb SigmaDDR-II+ TM Burst of 2 SRAM

Overview. Figure 2. Figure 1. Doc: page 1 of 5. Revision: July 24, Henley Court Pullman, WA (509) Voice and Fax

Four Channel Inductive Loop Detector

DesignCon Noise Injection for Design Analysis and Debugging

Low Jitter, Low Emission Timing Solutions For High Speed Digital Systems. A Design Methodology

SMX-1000 Plus SMX-1000L Plus

End-to-End Test Strategy for Wireless Systems

Controlling DC Brush Motor using MD10B or MD30B. Version 1.2. Aug Cytron Technologies Sdn. Bhd.

I hope you have completed Part 2 of the Experiment and is ready for Part 3.

36Mb SigmaSIO DDR-II TM Burst of 2 SRAM

SN54ABT8996, SN74ABT BIT ADDRESSABLE SCAN PORTS MULTIDROP-ADDRESSABLE IEEE STD (JTAG) TAP TRANSCEIVERS

While DIs may conform to a variety of input characteristics, the most commonly applied ones are IEC Type 1, 2 and 3 (see Figure 1).

DS1075. EconOscillator/Divider PRELIMINARY FEATURES PIN ASSIGNMENT FREQUENCY OPTIONS

Qosmotec. Software Solutions GmbH. Technical Overview. QPER C2X - Car-to-X Signal Strength Emulator and HiL Test Bench. Page 1

Transcription:

An Introduction To Jtag/Boundary Scan Jtag/Boundary Scan is a test technology. It is the jump from physical access to a board s conductor tracks (necessary for the In-Circuit Test) with all its physical limitations to an electric and, therewith, unlimited access. Jtag/ Boundary Scan only requires four control lines and only a few important Design for Testability rules. When talking about Jtag or Boundary Scan, one refers to the IEEE Std. 1149.1 thus the static, digital interconnection test. Its limitations are to be found in the analogue area as well as highspeed area. But brand-new approaches and solutions referring to the standards IEEE 1149.4 and 11149.6 have extended the utilisation of Jtag/Boundary Scan in these areas. A Boundary Scan test developer doesn t have to deal with each and every detail of the technology since modern tools, based on component models, execute the greater part of his tasks. This article offers a short introduction and background to the technology and how it can be used. Testing integrated circuitry Since the existence of integrated circuitries, there has been the necessity to check their functions. In the case of digital circuitries, a test is quite simple: all possible test vectors are applied in succession, and then the circuitries reactions at the outputs (actual value) are compared to the expected patterns (nominal value). If there are no differences the circuitry is correct. The number of test vectors is manageable for a simple ANDgate with two inputs. According to Moore and McCluskey the following formula calculates this number: Q=2 (x+y) Q = minimum number of test vectors x = number of inputs y = number of storage elements (for sequential circuits) Because an AND-gate normally doesn t have storage elements, there are only four necessary test vectors which is a manageable number. If this calculation is done for a circuitry with assumed 25 inputs and 50 storage elements, the problems in chip developments the engineers faced in the 1970s become obvious. In the early 1970s, IBM gave birth to a pathbreaking idea: the invention of the first Level Sensitive Scan Design (LSSD) method. For this purpose, existing storage elements in a chip are extended in their functions. They get four additional connectors: an input (IN), an output (OUT) and two clocks (A and B)(Figure 2). With these additional resources it is also possible to access the storage elements inputs and outputs. by Mario Berger, Göpel Electronic In the beginning of the 1980s, the problem of increasing complexity of the PCBs with higher packaging density at board level was tackled. The Joint European Test Action Group, founded in 1985, was one of the first institutions that dealt with the topic. In those days, this group consisted of test engineers from the big European chip manufacturers. In 1986, additional North American companies joined, and the group was renamed Joint Test Action Group (Jtag). Jtag engineered a methodology, which came close to the LSSD method developed by Ed Eichel- Table 1 Example for an instruction register definition Figure 1 Typical boundary scan device OnBoard Technology November 2008 - page 10

Figure 2 Test bus wiring of two boundary scan ICs Figure 3 Comparison of the test methods ICT and Boundary Scan - Test Reset (/TRST) - optional The output is: - Test Data Output (TDO) Both signals TCK and TMS as well as the optional /TRST signal are broadcast signals, whereby TDI builds a serial chain to TDO, the so called scan chain or scan path. On board level one it is called test bus. Never more than four (optionally five) signal lines are required regardless how many components are switched in the scan chain. PCBFABRICATION In the Boundary Scan chip, Test Clock, Test Mode Select as well as Test Reset are directly connected (statically) with the TAP Controller. The TAP Controller s state is exclusively defined by these signals. That means additionally that all Boundary Scan components in a scan chain have the same TAP state. But it does not mean that all components must have the same operation mode/ instruction. berger. It also defines storage elements within a chip which are connected in a shift chain. The only difference was that the storage elements were additionally placed at the component s peripheral, at boundaries. For this reason, the developed method was named Boundary Scan. It was standardised as 1149.1 Standard Test Access Port and Boundary Scan Architecture by the Institute of Electrical and Electronics Engineers (IEEE) in 1990. The boundary scan standard IEEE1149.1 The Boundary Scan Standard IEEE1149.1 describes the static, digital interconnection test. Talking about Boundary Scan or Jtag always means IEEE Std. 1149.1. The standard determines the architecture of a Boundary Scan component, and also the description language Boundary Scan Description Language (BSDL), which unveils the Boundary Scan resources unique for each component. The IEEE Std. 1149.1 defines the inner architecture of a Boundary Scan chip, which must consist of four essential constituent parts: - One Test Access Port (TAP) - One TAP Controller - One Instruction Register - One or more data register(s) Test access port (TAP) The Test Access Port represents the interface between the Boundary Scan logic within the component and the environment. Three inputs (plus an optional fourth) and an output are described. The inputs are: - Test Clock (TCK) - Test Mode Select (TMS) - Test Data Input (TDI) TAP controller The TAP Controller is responsible for the entire control of the Boundary Scan logic in the chip, i.e. it is responsible, among others, whether a Boundary Scan cell (see chapter Boundary Scan Cell) is activated or deactivated and if it is to measure or drive. At the heart of the TAP Controllers there s the TAP state machine. Contained states have different influences on the control of the internal Boundary Scan logic. Instruction register The Instruction register decides on the operation mode of the Boundary Scan IC, which in turn influences the Boundary Scan cells control as well as the selection of the data register switched in the actual scan chain (register between TDI and TDO). The IEEE Std. 1149.1 defines three mandatory instructions: OnBoard Technology November 2008 - page 11

Figure 4 Hardware Boundary Scan Controller from GOEPEL electronic (SFX- TSL1149.x) Figure 5 Test bus termination Additional registers are possible as well, e.g. the device identification or colloquially called idcode register. The bypass register is the opportunity to liberate a component from an interconnection of Boundary Scan ICs, or to bypass. Its minimal length is just one bit. The bit s value is unchangeable and defined with 0. contact nails of the In-Circuit test technology, which implement access to the test points on a board, the Boundary Scan cells are also called electronic nails. A Boundary Scan cell s internal architecture can be highly different. In its version from 2001, the IEEE Std. 1149.1 describes ten different cell types (BC_1 to BC_10). The cell may have individual structures, whereby the arrangements are very often very similar. Boundary Scan Description Language (BSDL) - BYPASS - SAMPLE/PRELOAD - EXTEST For each instruction there is a respective instruction code (bit code). It can be freely defined by each chip manufacturer (exception is the BYPASS instruction that must completely consist of digits 1). The length of the command register can be defined arbitrarily. An example arrangement is shown in Table 1. Thereby, the instruction register s length was defined to two bit. Data register A Boundary Scan component may contain several data registers. They re used to file or read-out information in the component. The IEEE Std. 1149.1 describes minimum two mandatory data registers: - Bypass - Boundary-scan The boundary-scan register, which expresses the succession of the single Boundary Scan cells, is much more interesting for later testing. Because each chip has a different number of Boundary Scan cells, the register length is variable. Boundary scan cell The Boundary Scan cell is the essential element of the Boundary Scan Test methodology. All described constructs functions are only for the correct control of the respective Boundary Scan cells. The Boundary Scan cell is the ingenious opportunity to control a component pin disengaged (?) from its normal functionality, i.e. to drive or measure a particular level. For this purpose, the Boundary Scan cell is situated between the component s core logic and peripheral (output driver, input driver). Because of the functionality similar to the physical Each Boundary Scan component has a specific Boundary Scan structure - this is decisive for test engineers or test software to work usefully with such a component. IEEE Std. 1149.1 mandatorily dictates core requirements, but leaves scope for individual developments. This is necessary as will be seen for the example of structure/number of Boundary Scan cells: an IC with 20 pins has a lower number of cells compared to an IC with 1,500 pins. The Boundary Scan Description Language (BSDL) was developed to describe this individuality. It is the exchange platform between chip manufacturer (only they can know the interior of their chips) and test engineer (who wants to use the interior of their chips). The BSDL file is a data that provides specifications about: - Available test bus signals (particularly information about the existence of an optional /TRST signal and maximum TCK frequency, up to which the component can be operated) - Possible compliance pins - Instruction register (available instructions incl. bit code; instruction register length) - Data register (available data register incl. Possible predefined values, e.g. IDCODE of the chip) - Boundary Scan cell structure (number, type, function, assignment to IC pin) OnBoard Technology November 2008 - page 12

Possibilities and limitations of IEEE Std. 1149.1 The static, digital interconnection test compliant with IEEE Std. 1149.1 enables everything that is situated in the digital area and is not time critical. Thus, it is possible to test resistors (for presence), crystals, driver-ics, logic gates, reset ICs and even RAM ICs or Flash ICs (parallel as well as serial). For example, for the latter the necessary write and read protocols are simply imitated via the Boundary Scan component pins. This is the same functionality as a functional test, but slower because of the serial Boundary Scan chain. Fortunately, modern tools effectively relieve this tiresome labour. What does the term Boundary Scan tool generally mean? A Boundary Scan test system consists of hardware and software. The hardware has only to be able to control the TAP signals. Each piece of Boundary Scan hardware worldwide features this basic functionality (but there are important differences in performance, real throughput and flexibility). Boundary Scan vendors differentiate in the software, and that s why usually software is meant when talking about Boundary Scan tools. PCBFABRICATION Improving product quality and reliability by using ease of use X-ray technology 3D CT of CSP solder joints And that s the test methodology s limitation: the maximum possible switch/measuring frequency at the IC pins. It is the result of the number of Boundary Scan cells (therefore the boundaryscan register length) and the Test Clock frequency. It doesn t matter whether the signal level of one or several component pins should be changed in each case it must be shifted through all cells. The shift process in a medium sized Boundary Scan component with 500 Boundary Scan cells and a typical frequency of 10MHz takes 50µs. However, one shift process can initiate a single signal change at the IC pin. For the opposite edge another shift process is required which results in a maximum achievable frequency of 100µs-1, hence 10kHz. What advantages do modern tools bring? Due to contemporary knowledge, there are some basic requirements to a Boundary Scan test system. The user doesn t want to bother the correct switching of the Test Mode Select signal to access the right graph in the TAP state machine. Furthermore, he doesn t want to bother with a TAP state machine. At most, he wants to define the operation modes for the Boundary Scan ICs. Modern Boundary Scan Software is expected to automatically generate necessary test vectors and probably lead the operator quickly to the fault area on a test object, i.e. a best possible diagnostic. If the integration of Boundary Scan test in a production line or other test system is considered, there s the demand that a modern Boundary Scan tool must provide respective interfaces. Design for Testability (DfT) The best Boundary Scan test systems with the most powerful Automatic Test Program Generators (ATPG) are helpless if particular design rules were not observed during schematic design or even a step earlier during component selection. The following criteria show a narrow selection of the arguably most important design for testability rules: Compliance pattern Using Boundary Scan components, it is common to share the TAP pins with other functions, e.g. debugging. For that reason, such a component usually has a pin that determines the function. Such a pin could be named e.g. Jtag#/DEBUG, and would activate the debug mode with a high. In this example, a low must be applied at the pin, so that it can be tested with Boundary Scan. Live 3D CAD overlay Automated Solder Joint Inspection (µaxi) Highest magnification Maximum defect coverage Easy and fast CAD programming 3D auto-referencing Live 3D CAD overlay Combined 2D and 3D CT operation Detail detectability > 0.5µm Total magnification 23320x without software zoom Oblique views at angles between 0 and 70 degrees 180 kv / 20 W high-power submicron X-ray tube 2-Megapixel digital image chain 24" TFT monitor microme x OnBoard Technology November 2008 - page 13 GE Sensing & Inspection Technologies GmbH phoenix x-ray Tel.: + 49.5031.172-0 Fax: + 49.5031.172-299 info@phoenix-xray.com www.phoenix-xray.com

Figure 6 RAM bank with PLL Figure 7 Decisive single IC pin Test bus termination A good test bus termination is essential for a fast test execution. As guiding principle, test time is proportional to the Test Clock frequency. Modern test systems are able to process the TCK signal with 80 or even 100 MHz. It s critical to take reasonable care during TAP signal wiring. Flexible scan chain It is common practice to produce boards in different assembly variants. Caution is advised if such an assembly variant is on the Boundary Scan components. It may happen that an IC is missing in the scan chain, i.e. the serial path (TDI TDO) is broken. The result would be a complete failure. Access = Success This DfT key rule is valid for the Boundary Scan test technology as well as the classic In-Circuit test method. Only the implementation is different in both cases. Applying the In-Circuit Test means to set test points where possible. On the contrary, in the case of Boundary Scan they are sleeping partly unused in the Boundary Scan components in terms of unwired IC pins. Normally, these are pins (especially in terms of programmable logic chips) not required during the normal function of a PCB. Two typical examples show how the unused test points can be applied to significantly increase test coverage. As the first example, Figure 6 shows a RAM bank whose clock is distributed by a PLL. But a static access to all IC pins is required to test the RAM components with Boundary Scan. This is not given for the clock signal by the PLL, which leads to a higher loss in test coverage. Figure 7 also shows how decisive access to a single IC pin is for the testability of a complete component. The figure shows a component with integrated NAND tree test. It could optimally be tested per Boundary Scan, provided that the NAND tree test must be activated with a specific signal level at a predetermined IC pin (in Figure 7 it is named TEST). Future standards The success of the Jtag/Boundary Scan standard IEEE1149.1 has inspired and encouraged all participants to improve the test technology, making it more boundless. Two out of numerous newly developed ad partly passed standards are shortly introduced in this chapter. IEEE1149.4 The breakthrough of standard IEEE1149.4 would possibly mean the end of the classic In-Circuit Test, because it is a mixed-signal or also analogue interconnection test. The method is very simple. In addition to the four (optionally five) TAP signals two Analogue Test Access Port (ATAP) signals Analogue Test 1 (AT1) and Analogue Test 2 (AT2) are required. These additional pins can be internally switched independent from each other per test bus instruction to any pin of a component that is IEEE Std. 1149.4 compliant. One might say that an IEEE1149.4 component has an internal relay matrix, which can be switched to any pin via test bus. If the ATAP is connected with some external methodology, a classical In-Circuit tester is built (with limited functions). IEEE1149.6 The standard IEEE1149.6 enables testing of serial, digital high-speed connections. It describes the Advanced Digital Network interconnection test. To work with the existing TAP signals is its biggest advantage. The standard requires a few extra instructions, a slightly extended Boundary Scan cell and an integrated test pattern generator. The principle again is very simple. Some pins of the IEEE Std. 1149.6 compliant IC are connected to a new type of Boundary Scan cell. In contrast to the old cell types, this new cell has a special input, which is connected to the internal test pattern generator. Per instruction, the Boundary Scan cell switches to the new input and the test pattern generator sends the test pattern to the Boundary Scan cell, thus to the component pin, independently from the Test Clock signal. This applies for sending. At the same time on the receiver side, the test pattern is read-in and written in a buffer. Afterwards, the test pattern from the sender is compared und a Pass/Fail statement is made. This statement is filed in a Boundary Scan cell as 0 or 1, and can be read-out and evaluated by the test system. OnBoard Technology November 2008 - page 14