Embedded instrumentation

Last updated

In the electronics industry, embedded instrumentation refers to the integration of test and measurement instrumentation into semiconductor chips (or integrated circuit devices). Embedded instrumentation differs from embedded system, which are electronic systems or subsystems that usually comprise the control portion of a larger electronic system. Instrumentation embedded into chips (embedded instrumentation) is employed in a variety of electronic test applications, including validating and testing chips themselves, validating, testing and debugging the circuit boards where these chips are deployed, and troubleshooting systems once they have been installed in the field.

Contents

A working group of the IEEE (Institute of Electrical and Electronics Engineers) that is developing a standard for accessing embedded instruments (the IEEE 1687 Internal JTAG standard [1] ) defines embedded instrumentation as follows:

Any logic structure within a device whose purpose is Design for Test (DFT), Design-for-Debug (DFD), Design-for-Yield (DFY), Test... There exists the widespread use of embedded instrumentation (such as BIST (built-in self-test) Engines, Complex I/O Characterization and Calibration, Embedded Timing Instrumentation, etc.). [2]

History

Dating back to as early as the 1990s, the electronics industry recognized that design validation, test and debug would be seriously impeded in the near future. Initially, the impetus behind this recognition and the subsequent development of solutions was the emergence of new semiconductor chip packages such as the ball grid array (BGA) which placed the device's pins beneath the silicon die, making them inaccessible to physical contact with an instrument's or a test system's metal probes. At that time, most test instruments, such as the oscilloscope and logic analyzers in design, and in-circuit test (ICT) in volume manufacturing were external to the chips and circuit boards. They relied upon placing a probe on a chip or a circuit board to obtain test data. To overcome the disappearing access for test probes, instrumentation technology began to be embedded into semiconductors and onto printed circuit boards.

In recent years, this situation has been exacerbated by increasingly high-speed serial inter-chip connections (interconnects or buses) on circuit boards as well as by even more complex chip packaging technologies like system-on-a-chip (SOC), system-in-package (SIP) and package-on-package (POP). These and other developments are making instrumentation embedded into chips a necessity for design validation, test and debug processes.

The Boundary Scan Standard (IEEE 1149.1 JTAG): The Enabling Technology for Embedded Instrumentation

Although it was not referred to as an embedded instrument at the time of its development, the IEEE 1149.1 Boundary Scan Standard [3] can be seen as the first enabling technology for embedded instrumentation. (Boundary scan is also referred to as JTAG, after the Joint Test Action Group which initially undertook its development before it came under the aegis of a working group of the IEEE. ‘JTAG’ is often used to designate the access port on a chip which conforms to the boundary-scan standard.) Some would consider the boundary-scan test process as a form of embedded instrumentation. Boundary scan involves embedding an instrumentation infrastructure into chips and onto circuit boards. This infrastructure can be utilized during design debug and first prototype board bring-up, volume manufacturing and field service to test and diagnose the structural integrity of electrical connections on circuit boards. In addition, the boundary scan infrastructure can also be applied to the programming of devices such as memories, complex programmable logic devices (CPLDs) and Field-programmable gate arrays (FPGAs) after they have been soldered to a circuit board.

In the intervening years since the development of boundary-scan standard as a structural test technology, the embedded boundary-scan infrastructure in chips and on circuit boards has been appropriated for a number of related applications, including as an access method to the instrumentation inserted in chips. A later standard in the boundary-scan family, the IEEE 1149.6 Boundary-Scan Standard for Advanced Digital Networks, [4] utilizes the 1149.1 boundary-scan embedded instrumentation infrastructure but expands the types of chip-to-chip interconnects that can be tested. Whereas the 1149.1 standard defines a methodology for testing DC-coupled interconnects, the 1149.6 version of the boundary-scan standard extends the methodology to testing high-speed AC coupled and/or differential interconnects.

Another addition to the boundary-scan family of standards has been IEEE 1149.7, which defines a reduced pin-count interface and provides for enhanced software debug. In addition, IEEE 1149.7 is expected to be used in the testing of complex chips with multiple die stacked in one package.

A working group of the IEEE has also undertaken the development of a standard that specifically addresses embedded instrumentation. The official name of this standard is the IEEE 1687 Standard for Access and Control of Instrumentation Embedded within a Semiconductor Device, but it is commonly referred to as the Internal JTAG (IJTAG) standard. [5] The objective of the working group has been to define a technology for automating, accessing and analyzing the output of embedded instruments. Standardizing the interface to embedded instruments means that these instruments could come from any number of sources, but user interaction would be simplified since this would be based on an industry-accepted standard. The actual embedded instruments could be developed by any of several different types of groups, including chip suppliers, third-party providers, chip design tool vendors or in-house design groups. The availability of chips that conform to the IEEE 1687 standard would encourage the development of standards-based tools for interacting with and utilizing the instrumentation embedded in the chips. The IEEE 1687 standard is now a ratified standard.

The emergence of embedded instrumentation

Embedded instrumentation can perform certain functions that external test and measurement technologies have difficulty with because they are external to the chip or circuit board being tested. Moreover, embedded instrumentation is often more efficient and adaptable, since it is software-based, unlike external hardware testers. In addition, embedded instrumentation is simply better suited to much of the computer and communications technologies that are emerging today.

Some of the more traditional test and measurement technologies are only able to measure performance and data flow at the input/output (I/O) point on a chip. The real challenge is for the instrument to gain visibility into the processing that is going on inside the core silicon itself. To do this, embedded instruments are needed between the I/O point on the perimeter of the chip and the processing core.

The following are some of the difficulties that traditional test and measurement instruments are running into as chips, circuit boards and systems continue to become faster, smaller and more complex.

Embedded instrumentation applications

The applications for embedded instrumentation are extensive. At the level of circuit boards, two of the most prominent applications are design validation and non-intrusive board test.

Chip and Circuit Board Design Validation

Instruments are being embedded into chips and utilized to validate circuit board designs. This sort of design validation can make use of a variety of embedded instruments such as bit error rate test (BERT) engines, BIST) for logic devices, margining engines, memory BIST, memory test, random pattern generators and a complete logic analyzer. Deployed in design validation applications, these embedded instruments may function inside the chip or across on-board chip-to-chip interconnects to validate the performance and functionality of a circuit board design before it moves into volume production.

Non-Intrusive Board Test

Non-intrusive board test (NBT) employs embedded instrumentation to perform structural and electrical tests on circuit boards. In addition to boundary scan, other types of NBT methods include processor-controlled test (PCT) and FPGA-controlled test (FCT). See below for more on these methodologies.

Embedded instrumentation methodologies

As mentioned above, the IEEE 1149.1 Boundary-Scan Standard could be seen as the first enabler of embedded instrumentation and, as such, the first embedded instrumentation methodology. In addition to providing the infrastructure for accessing and operating embedded instruments, tests that utilize the boundary scan infrastructure can be applied to circuit boards to identify structural defects such as shorts and opens. Several other methodologies also apply tests that are initiated by embedded instruments.

Related Research Articles

<span class="mw-page-title-main">Field-programmable gate array</span> Array of logic gates that are reprogrammable

A field-programmable gate array (FPGA) is a type of configurable integrated circuit that can be repeatedly programmed after manufacturing. FPGAs are a subset of logic devices referred to as programmable logic devices (PLDs). They consist of an array of programmable logic blocks with a connecting grid, that can be configured "in the field" to interconnect with other logic blocks to perform various digital functions. FPGAs are often used in limited (low) quantity production of custom-made products, and in research and development, where the higher cost of individual FPGAs is not as important, and where creating and manufacturing a custom circuit wouldn't be feasible. Other applications for FPGAs include the telecommunications, automotive, aerospace, and industrial sectors, which benefit from their flexibility, high signal processing speed, and parallel processing abilities.

<span class="mw-page-title-main">Microcontroller</span> Small computer on a single integrated circuit

A microcontroller or microcontroller unit (MCU) is a small computer on a single integrated circuit. A microcontroller contains one or more CPUs along with memory and programmable input/output peripherals. Program memory in the form of NOR flash, OTP ROM, or ferroelectric RAM is also often included on the chip, as well as a small amount of RAM. Microcontrollers are designed for embedded applications, in contrast to the microprocessors used in personal computers or other general-purpose applications consisting of various discrete chips.

<span class="mw-page-title-main">Embedded system</span> Computer system with a dedicated function

An embedded system is a specialized computer system—a combination of a computer processor, computer memory, and input/output peripheral devices—that has a dedicated function within a larger mechanical or electronic system. It is embedded as part of a complete device often including electrical or electronic hardware and mechanical parts. Because an embedded system typically controls physical operations of the machine that it is embedded within, it often has real-time computing constraints. Embedded systems control many devices in common use. In 2009, it was estimated that ninety-eight percent of all microprocessors manufactured were used in embedded systems.

<span class="mw-page-title-main">AVR microcontrollers</span> Family of microcontrollers

AVR is a family of microcontrollers developed since 1996 by Atmel, acquired by Microchip Technology in 2016. These are modified Harvard architecture 8-bit RISC single-chip microcontrollers. AVR was one of the first microcontroller families to use on-chip flash memory for program storage, as opposed to one-time programmable ROM, EPROM, or EEPROM used by other microcontrollers at the time.

<span class="mw-page-title-main">System on a chip</span> Micro-electronic component

A system on a chip or system-on-chip is an integrated circuit that integrates most or all components of a computer or other electronic system. These components almost always include on-chip central processing unit (CPU), memory interfaces, input/output devices and interfaces, and secondary storage interfaces, often alongside other components such as radio modems and a graphics processing unit (GPU) – all on a single substrate or microchip. SoCs may contain digital and also analog, mixed-signal and often radio frequency signal processing functions.

Reconfigurable computing is a computer architecture combining some of the flexibility of software with the high performance of hardware by processing with flexible hardware platforms like field-programmable gate arrays (FPGAs). The principal difference when compared to using ordinary microprocessors is the ability to add custom computational blocks using FPGAs. On the other hand, the main difference from custom hardware, i.e. application-specific integrated circuits (ASICs) is the possibility to adapt the hardware during runtime by "loading" a new circuit on the reconfigurable fabric, thus providing new computational blocks without the need to manufacture and add new chips to the existing system.

In-circuit emulation (ICE) is the use of a hardware device or in-circuit emulator used to debug the software of an embedded system. It operates by using a processor with the additional ability to support debugging operations, as well as to carry out the main function of the system. Particularly for older systems, with limited processors, this usually involved replacing the processor temporarily with a hardware emulator: a more powerful although more expensive version. It was historically in the form of bond-out processor which has many internal signals brought out for the purpose of debugging. These signals provide information about the state of the processor.

Serial Peripheral Interface (SPI) is a de facto standard for synchronous serial communication, used primarily in embedded systems for short-distance wired communication between integrated circuits.

JTAG is an industry standard for verifying designs of and testing printed circuit boards after manufacture.

<span class="mw-page-title-main">Programmer (hardware)</span> Device that installs firmware on a device

In the context of installing firmware onto a device, a programmer, device programmer, chip programmer, device burner, or PROM writer is a device that writes, a.k.a. burns, firmware to a target device's non-volatile memory.

<span class="mw-page-title-main">Automatic test equipment</span> Apparatus used in hardware testing that carries out a series of tests automatically

Automatic test equipment or automated test equipment (ATE) is any apparatus that performs tests on a device, known as the device under test (DUT), equipment under test (EUT) or unit under test (UUT), using automation to quickly perform measurements and evaluate the test results. An ATE can be a simple computer-controlled digital multimeter, or a complicated system containing dozens of complex test instruments capable of automatically testing and diagnosing faults in sophisticated electronic packaged parts or on wafer testing, including system on chips and integrated circuits.

<span class="mw-page-title-main">Boundary scan</span>


Boundary scan is a method for testing interconnects on printed circuit boards or sub-blocks inside an integrated circuit. Boundary scan is also widely used as a debugging method to watch integrated circuit pin states, measure voltage, or analyze sub-blocks inside an integrated circuit.

Nios II is a 32-bit embedded processor architecture designed specifically for the Altera family of field-programmable gate array (FPGA) integrated circuits. Nios II incorporates many enhancements over the original Nios architecture, making it more suitable for a wider range of embedded computing applications, from digital signal processing (DSP) to system-control.

Design for testing or design for testability (DFT) consists of IC design techniques that add testability features to a hardware product design. The added features make it easier to develop and apply manufacturing tests to the designed hardware. The purpose of manufacturing tests is to validate that the product hardware contains no manufacturing defects that could adversely affect the product's correct functioning.

Intel Quartus Prime is programmable logic device design software produced by Intel; prior to Intel's acquisition of Altera the tool was called Altera Quartus Prime, earlier Altera Quartus II. Quartus Prime enables analysis and synthesis of HDL designs, which enables the developer to compile their designs, perform timing analysis, examine RTL diagrams, simulate a design's reaction to different stimuli, and configure the target device with the programmer. Quartus Prime includes an implementation of VHDL and Verilog for hardware description, visual editing of logic circuits, and vector waveform simulation.

Boundary scan description language (BSDL) is a hardware description language for electronics testing using JTAG. It has been added to the IEEE Std. 1149.1, and BSDL files are increasingly well supported by JTAG tools for boundary scan applications, and by test case generators.

Serial Vector Format (SVF) is a file format that contains boundary scan vectors to be sent to an electronic circuit using a JTAG interface. Boundary scan vectors consist of the following data:

Aldec, Inc. is a privately owned electronic design automation company based in Henderson, Nevada that provides software and hardware used in creation and verification of digital designs targeting FPGA and ASIC technologies.

Corelis, Inc, a subsidiary of Electronic Warfare Associates, is a private American company categorized under Electronic Equipment & Supplies and based in Cerritos, California.

MIPI Alliance Debug Architecture provides a standardized infrastructure for debugging deeply embedded systems in the mobile and mobile-influenced space. The MIPI Alliance MIPI Debug Working Group has released a portfolio of specifications; their objective is to provide standard debug protocols and standard interfaces from a system on a chip (SoC) to the debug tool. The whitepaper Architecture Overview for Debug summarizes all the efforts. In recent years, the group focused on specifying protocols that improve the visibility of the internal operations of deeply embedded systems, standardizing debug solutions via the functional interfaces of form factor devices, and specifying the use of I3C as debugging bus.

References

  1. "IEEE Standards Association". IEEE.
  2. "IEEE 1687 IJTAG Standard Statement of Work". IEEE. Retrieved 1 Nov 2018.
  3. "IEEE 1149.1 Boundary-Scan Standard". IEEE. Archived from the original on September 9, 1999. Retrieved 12 December 2012.
  4. "IEEE 1149.6 Boundary-Scan Standard for Advanced Digital Networks". IEEE. Retrieved 12 December 2012.
  5. "IEEE 1687 IJTAG Standard for Embedded Instruments" (PDF). Retrieved 12 December 2012.
  6. "Intel IBIST and QuickPath Interconnect" (PDF). Retrieved 12 December 2012.