Design of IP core test scheme based on BIST

Publisher:京玩儿Latest update time:2012-08-20 Source: 21ic Keywords:BIST Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

1 Introduction

With the development of semiconductor technology, system-on-chip (SOC) has become a mainstream technology today. SOC design based on IP reuse integrates IP cores into a system through user-defined logic (UDL) and wiring, which improves design efficiency, speeds up the design process, and shortens product time to market. However, with the increase in design scale, integration density, IP pins, and IP implantation depth, the test and verification work will inevitably be heavy. According to statistics, in SOC design, the time spent on the test and verification of various cores accounts for 60% to 80% of the entire design process. The test and verification of SOC and IP cores has become a bottleneck in the development of SOC technology. How to pass the IP core verification and test efficiently and quickly in the shortest time and integrate it into SOC has become the focus of the industry and the direction of research that urgently needs breakthroughs and realization.

The IP core types and sources of SOC based on IP core reuse are different, and even verified IP cores cannot be guaranteed to be error-free during integration. After the IP core is integrated into the SOC, its input and output ports are also embedded into the SOC, and the originally testable ports lose their original controllability and observability and become untestable.

Therefore, people have been looking for effective test and verification technology. This paper presents a method based on built-in self-test (BIST) to improve the testability of the IP core while considering the design of its test shell when designing the codec IP core.

2 Test Structure

The so-called test is the process of applying a corresponding excitation signal to the input pin of the circuit under test, then detecting the response of the output pin, and comparing the detected output pin response with the expected pin response to determine whether the circuit has a fault.

The purpose of IP core testing is to detect whether there are functional and timing errors in the IP core, so as to modify the IP core and improve the reliability of the product. Generally, the input end of the IP core is stimulated by means of access, isolation, and control to obtain a response and compare it with the expected response. The test structure of the embedded IP core is shown in Figure 1.

Test Structure for Embedded IP Cores

The test stimulus source generates the stimulus required for the embedded IP core test. The response analyzer analyzes the obtained response. If they are the same, it indicates that there is no fault. If they are different, it indicates that there is a fault. The test access mechanism is a means for the SOC to transmit data. It transmits the test stimulus to the input port of the IP core and transmits the test response from the output port of the IP core to the response analyzer. The test shell is the interface between the IP core and the access mechanism and other logic of the device; the test shell can realize the test isolation between the cores on the chip, and can also provide a test data transmission channel for the IP core.

3 Built-in self-test principle

Built-in self-test is an important method of testability design. Its basic idea is to let the circuit generate test vectors by itself, rather than applying test vectors externally, and rely on itself to judge whether the results are correct. The schematic diagram of built-in self-test is shown in Figure 2.

Built-in self-test schematic

The test wrapper is considered in the design of the IP core. The switch between BIST and normal mode can be controlled through the outside of the test wrapper. The inside of the test wrapper often uses boundary scan modules, shift registers or multiplexers, which play the role of access, isolation and control, and can improve the testability of the IP core. However, adding a test wrapper will increase the area overhead of the IP core, so a trade-off must be made between the testability and area of ​​the IP core.

4 Implementation of built-in self-test

Controllability refers to the difficulty of driving a node to the logical state 0 or 1; observability refers to the difficulty of observing the internal node failure from the external port; testability refers to the controllability and observability of all nodes in the entire circuit. Obviously, high testability makes it easier to generate test vectors and has good test results. [page]

In order to improve the testability of IP cores, specific circuits are designed to facilitate testing. Using BIST to test IP cores generally has the following advantages: simplifying the test interface; improving test quality; reducing test costs; and improving test reliability.

The block diagram of the BIST-based encoder IP core test implementation is shown in Figure 3.

Block diagram of BIST-based codec IP core test implementation

By controlling the input/output registers through the test shell, the codecs are isolated so that they do not affect each other. The normal state and the test state can be switched, which improves the testability of the IP core. The specific implementation process is as follows:

(1) Under normal conditions, the original code is input into the encoder, and the code output by it enters the decoder and is converted into the original code again;

(2) In the test state, the test vector of the test shell is input to the encoder, and the code output by it directly enters the decoder. The code output by the decoder is the test response output, which is compared with the expected value; the logical structure of the mode selection module in Figure 3 is shown in Figure 4.

Logical structure of the mode selection module

In Figure 4, mod is the mode selection control terminal, and setting it to 0 is the normal state. When rood is 1, out_sel inputs the test vector, which is then output by in_tem and enters in_sel; when mod is 0, cod_out outputs outside the chip, thereby realizing the switching between the normal state and the test state. This logic circuit can be written in hardware description language. It is described as follows in VHDL:

VHDL Description

This mode selection module realizes switching between states, and the circuit is simple and easy to implement.

5 Conclusion

BIST provides a solution for the testing of embedded cores, with obvious test results, high fault coverage and simple implementation. By adding a test shell, the IP core can be accessed, isolated and controlled, effectively improving the testability of the IP core. However, the use of BIST will increase the circuit area and the testability and area of ​​the IP core must be balanced.

Keywords:BIST Reference address:Design of IP core test scheme based on BIST

Previous article:μC/OS-II real-time performance test and research
Next article:Fault diagnosis of equipment control system based on built-in test (BIT) technology

Recommended ReadingLatest update time:2024-11-17 03:02

Laptops powered by Alibaba RISC-V SoC will be available by the end of the year
Alibaba's RISC-V SoC will power the ROMA development laptop, the industry's first RISC-V product. Of all the developments in the computing industry, RISC-V has arguably been the fastest growing product over the past five years. As RISC-V grows with more technologies, supporters, and partners, many are beginning to s
[Embedded]
Laptops powered by Alibaba RISC-V SoC will be available by the end of the year
Cockpit SoC research: local chip manufacturers are beginning to show their strength, who will dominate the 10 billion market
Zoss Automotive Research Institute released the "2022 Automotive Cockpit SoC Technology and Application Research Report".   The cockpit SoC is the computing power providing unit of the smart cockpit. It is mainly responsible for the computation and processing of massive data in the cockpit, including video access from
[Automotive Electronics]
Cockpit SoC research: local chip manufacturers are beginning to show their strength, who will dominate the 10 billion market
Qualcomm BLE SoC gives Libratone Bird Audio true wireless earphones the ultimate experience
Libratone officially released the new generation of AIR series true wireless headphones, which provide users with an excellent true wireless audio experience through outstanding appearance design and excellent product performance. Among them, the Libratone AIR+ true wireless noise-cancelling headphones use the latest
[Internet of Things]
Qualcomm BLE SoC gives Libratone Bird Audio true wireless earphones the ultimate experience
Samsung's 5nm Exynos SoC may start mass production in August
      According to foreign media sammobile on May 28, Samsung will start mass production of 5nm Exynos chips from August. Samsung's 7nm Exynos 990 chip has been controversial due to high power consumption and other issues. Later, it was reported that Samsung is improving the chipset and plans to launch a revised versi
[Mobile phone portable]
Canaan's RISC-V-based end-side AIoT SoC uses VeriSilicon's ISP IP and GPU IP
Integrating VeriSilicon's pixel processing IP portfolio into the high-precision, low-latency K230 chip March 14, 2024, Shanghai, China - VeriSilicon announced today that Canaan Technology's K230, the world's first commercial mass-produced end-side AIoT chip that supports the RISC-V Vector 1.0 standard, integrates
[Embedded]
Canaan's RISC-V-based end-side AIoT SoC uses VeriSilicon's ISP IP and GPU IP
CEVA and ASSETS collaborate to deliver exceptional voice experience on Cupola360 SoC
CEVA, the world's leading licensor of wireless connectivity and smart sensing technologies and integrated IP solutions (NASDAQ: CEVA) and ASPEED Technology announced that ASPEED has licensed the CEVA-BX1 audio/voice DSP for use in the second-generation Cupola360 SoC AST1230 for smart cameras and video conferencing sys
[Mobile phone portable]
Basic Principles of Practical Analog BIST
        introduction   Most IC designers understand how digital BIST works. It uses an LFSR (linear feedback shift register) to generate a pseudo-random bit pattern and applies this bit pattern to the circuit under test through a flip-flop that is temporarily configured as a serial shift register. Digital BIST captu
[Power Management]
Basic Principles of Practical Analog BIST
LTE development with a new multi-core SoC architecture
LTE technology improves the mobile user experience by increasing data rates through more efficient transmission, providing powerful new devices. For base station manufacturers and their suppliers, LTE revolutionizes and also presents new technical challenges. Effectively supporting 4G systems requires multiple innovati
[Embedded]
LTE development with a new multi-core SoC architecture
Latest Test Measurement Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号