introduction
With the continuous development of science and technology, the manufacturing process and design level of integrated circuits have been rapidly improved, and designers can integrate very complex functions into silicon chips. The system of multiple chips on the PCB board is integrated into a chip. This chip is a system-level chip, namely SoC (System on Chip). The characteristics of SoC chips are mainly two aspects: the first is its high complexity, and the second is the extensive use of reusable IP (Intellectual Property) modules. In the past, chip design often only focused on the module design of a specific function, such as compression/decompression, wireless module, network module, etc. The function of a SoC chip may be the sum of multiple independent modules. In addition, the manufacture of chips requires chemical, metallurgical, optical and other process processes, in which physical defects may be introduced, causing them to not work properly. Therefore, chip testing has become an indispensable link. Design for Test (DFT) is to consider the need for future testing at the chip design stage, making chip testing easier and more sufficient, and reducing testing costs. A SoC contains various reusable functional IP cores, among which the embedded microprocessor core is the key part, and most of them are embedded with one or more microprocessor cores to obtain the best performance. Therefore, the research on microprocessor core testability is becoming more and more urgent.
1 Traditional testing methods
Before the 1970s and 1980s, when integrated circuits were still small-scale circuits, most tests were completed by adding stimulus and probing the corresponding methods. This method is still feasible when the circuit scale is small and the frequency is not fast, but as the scale of integrated circuits grows, the functional verification content increases, or when asynchronous stimulus signals are needed, this test method has limitations. In order to improve the test coverage of fault points, automatic vector generation (ATPG) tools have emerged. Using ATPG algorithms and powerful computers, as many fault points as possible can be detected. As the scale of chips grows, the ratio of the number of chip gates to the number of pins becomes too disparate, and the method of testing only through input/output pins can hardly be applied. Therefore, another scan-based test technology, DFT, has emerged. However, when the scan chain is very long and the number is large, the test time of a single chip is still very long. At the same time, the price of advanced test instruments has risen rapidly, making the emergence of BIST (Built-In Self-Test), i.e., the on-chip test method, inevitable.
2 Several Commonly Used BIST Methods and Their Advantages and Disadvantages
On-chip testing is an effective means to save chip testing time and cost. The test speed of external testing increases by 12% per year, while the speed of on-chip chips increases by 30% per year. This contradiction further promotes the application of BIST. Due to the wide variety of IPs inside SoC chips, different BIST test methods are used for different IP cores. The advantages of using BIST technology are: reducing test costs, improving error coverage, shortening test time, facilitating customer service and independent testing. At present, the main BIST test methods are MemBIST and LogicBIST.
2.1 MemBIST
MemBIST is a test method for embedded chip memory, used to test whether the memory is working properly. There is a BISTController inside the chip, which is used to generate various modes and expected results of memory testing, and compare the read results of the memory with the expected results. MemBIST can be divided into RAMBIST and ROMBIST. Currently, the more commonly used memory BIST algorithms are March algorithm and its variants. Commonly used tools in the industry include Mentor Graphics' MBIST Architecture.
2.1.1 RAMBIST Test Structure
The data cache and instruction cache implemented by RAM use the common BIST method. Because the structures of the two RAMs are exactly the same, only one set of test circuits is used to reduce area consumption. During the test, external signals TE0 and TE1 control whether RAM1 and RAM2 are in the test state respectively. TE0 and TE1 cannot be valid at the same time. The test circuit structure is shown in Figure 1.
Under the control of the external input signal BIST, the controller generates read and write control signals, access addresses and test codes, compresses and analyzes the corresponding data of the RAM, and compares the obtained characteristic values with the standard characteristic values stored in the chip. The test results are reported through two I/O ports, and the preliminary fault diagnosis function is also realized. When a fault is found, the TAP controller can remove the wrong address from the chip to provide information for further fault diagnosis and repair. [page]
2.1.2 ROMBIST Test Structure
Cyclic Redundancy Check (CRC) circuit is usually used to test ROM. Although the test results of this method are very reliable, it requires reading information bit by bit, and the access to ROM is 32 bits at a time. If this method is used, a buffer mechanism is required, and the speed will be very slow. Here, parallel data compression in RAM testing is still used, and the fault coverage can meet the requirements. The test circuit is also simpler than the CRC circuit. The test circuit is shown in Figure 2.
The BIST test signal is input from the TDT port of the TAP controller and is the enable signal for the entire test circuit. After the test process is triggered, it is completed completely inside the circuit and the test result is reported through an I/O port. The multiple input register (MISR) is used as the data register of the TAP controller and is set to the initial state when the test is initialized.
2.2 LogicBIST
The LogicBIST method uses an internal vector generator to generate test vectors one by one, applies them to the circuit under test, and then generates an identification code through digital compression and identification, and compares this identification code with the expected value.
LogicBIST is usually used to test random logic circuits. It generally uses a pseudo-random test pattern generator to generate input test patterns, which are applied to the internal mechanism of the device; MISR is used as the output signal generator. Due to the structure of MI-SR and the inherent characteristics of the identification code of multiple input sequences, this is a many-to-one mapping relationship. Different input sequences may generate the same identification code after passing through MISR, which is called alias.
LogicBIST test can only get the result of whether the chip can pass the test. Once the chip fails the test, how to determine where the fault point inside the chip is? This is the diagnosis work, but LogicBIST's support for fault diagnosis is too weak. If a chip fails, it is difficult to determine where the fault point is based on the wrong identification code alone. Sometimes, the combined effect of multiple fault points inside the chip makes the identification code correct. This is called a missed test. The probability of its occurrence is very small, and there are algorithms to minimize the probability of missed tests. One method is to input the correct sequence and make a single mapping with the correct identification code. Other incorrect inputs will definitely get incorrect identification codes. This method requires specific analysis of MISR, PRRG and CUT to change their structure or the generation order of PRPG.
Conclusion
This article introduces the current status of research on the testability technology of embedded microprocessor cores on SoC chips; it introduces the technology of implanting relevant functional circuits in the circuit during design to provide self-test functions, so as to reduce the dependence of device testing on automatic test equipment (ATE). BIST technology can realize self-testing and solve the problem that many circuits cannot be directly tested (because they have no external pins).
It is foreseeable that in the near future even the most advanced ATE will not be able to fully test the fastest circuits, which is one of the reasons for adopting BIST. However, BIST also has some disadvantages, such as additional circuits occupying valuable area, generating additional pins and possible test blind spots. BIST technology is becoming an alternative to high-priced ATE, but it cannot completely replace ATE at present, and they will coexist for a long time in the future.
Previous article:Motor Synchronous Control System and Communication Based on DSP and CAN
Next article:Design of Isolated Word Speech Recognition System Based on TMS320VC5402
Recommended ReadingLatest update time:2024-11-16 23:54
- Popular Resources
- Popular amplifiers
- Research on collaborative energy-saving optimization control method for connected hybrid vehicle fleet
- Research on image recognition for SoC deep learning algorithms_Yang Donghong
- Implementing a perception system for autonomous vehicles using a detection and segmentation network on a SoC FPGA
- Multi-port and shared memory architecture for high-performance ADAS SoCs
- Huawei's Strategic Department Director Gai Gang: The cumulative installed base of open source Euler operating system exceeds 10 million sets
- Analysis of the application of several common contact parts in high-voltage connectors of new energy vehicles
- Wiring harness durability test and contact voltage drop test method
- Sn-doped CuO nanostructure-based ethanol gas sensor for real-time drunk driving detection in vehicles
- Design considerations for automotive battery wiring harness
- Do you know all the various motors commonly used in automotive electronics?
- What are the functions of the Internet of Vehicles? What are the uses and benefits of the Internet of Vehicles?
- Power Inverter - A critical safety system for electric vehicles
- Analysis of the information security mechanism of AUTOSAR, the automotive embedded software framework
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- Innolux's intelligent steer-by-wire solution makes cars smarter and safer
- 8051 MCU - Parity Check
- How to efficiently balance the sensitivity of tactile sensing interfaces
- What should I do if the servo motor shakes? What causes the servo motor to shake quickly?
- 【Brushless Motor】Analysis of three-phase BLDC motor and sharing of two popular development boards
- Midea Industrial Technology's subsidiaries Clou Electronics and Hekang New Energy jointly appeared at the Munich Battery Energy Storage Exhibition and Solar Energy Exhibition
- Guoxin Sichen | Application of ferroelectric memory PB85RS2MC in power battery management, with a capacity of 2M
- Analysis of common faults of frequency converter
- In a head-on competition with Qualcomm, what kind of cockpit products has Intel come up with?
- Dalian Rongke's all-vanadium liquid flow battery energy storage equipment industrialization project has entered the sprint stage before production
- Allegro MicroSystems Introduces Advanced Magnetic and Inductive Position Sensing Solutions at Electronica 2024
- Car key in the left hand, liveness detection radar in the right hand, UWB is imperative for cars!
- After a decade of rapid development, domestic CIS has entered the market
- Aegis Dagger Battery + Thor EM-i Super Hybrid, Geely New Energy has thrown out two "king bombs"
- A brief discussion on functional safety - fault, error, and failure
- In the smart car 2.0 cycle, these core industry chains are facing major opportunities!
- The United States and Japan are developing new batteries. CATL faces challenges? How should China's new energy battery industry respond?
- Murata launches high-precision 6-axis inertial sensor for automobiles
- Ford patents pre-charge alarm to help save costs and respond to emergencies
- New real-time microcontroller system from Texas Instruments enables smarter processing in automotive and industrial applications
- C2000 MCU implements grid-connected micro solar inverter
- EEWORLD University Hall----Microcomputer Principles and System Design
- EEWORLD University Hall----RF Amplifier Design Tian Qingcheng, Chinese University, Taiwan
- Human body sensing circuit analysis help
- [National Technology N32G457 Review] 2. Unboxing + Lighting
- KiCad Production File Generator
- Those who work in transportation electronics can come out and talk.
- 5G base station architecture and antenna measurement technology
- Brief Introduction of AGC, ALC, AFC, ANC, ARC and APC Automatic Control Circuits
- GitHub reveals: Attackers compromised dozens of organizations using stolen OAuth tokens