Non-interfering On-line and In-field SoC Testing
Tobias Strauch · 2024
Read Non-interfering On-line and In-field SoC Testing by Tobias Strauch (2024) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2412-19924.txt.
Introduction
Tobias Strauch designs a way to test computer chips while they work, without interrupting them. Chips in cars, spacecraft, and military systems must be checked in the field for radiation hits and aging faults, because failures there can be life threatening. Pausing a running system to test it is itself risky, and checkpoint-based recovery can lose vital data when a strike corrupts memory.
His solution repurposes a performance technique called System Hyper Pipelining, which blends fast context switching with a retiming method, so test operations ride along invisibly. The chip gains an upset-detection circuit with ultra-fast recovery, plus a test-generation framework that writes software self-tests covering all testable stuck-at faults. Reported results on performance per area and test cycles per net look promising. Strauch argues the architecture also fits production testing and other uses.
Catalog record
| CREATOR | Tobias Strauch |
|---|---|
| YEAR | 2024 |
| COLLECTION | PAPERS |
| FORMAT | TXT |
| FILE SIZE | 32 KB |
| VERSION | 1.0 |
| LICENSE | http://creativecommons.org/licenses/by/4.0/ |
| RIGHTS | CC BY |
| SOURCE | arXiv |
Source: https://arxiv.org/abs/2412-19924
Browse the full library · About the Tower of Babel
Full text
The opening of the work, from the library's hosted text:
Non-interfering On-line and In-field SoC Testing Tobias Strauch Abstract With increasing aging problems of advanced technologies, in-field testing becomes an inevitable challenge, on top of the already demanding requirements, such as the ISO26262 for automotive safety. SOCs used in space, automotive or military applications in particular are worst affected as the in-field failures in these applications could even be life threatening. We focus on on-line and in-field testing for Single Event Upsets (SEU, caused by a single ionizing particle) and aging defects (such as delay variation and stuck-at faults) which may appear during normal operation of the device. Interrupting normal operations for aging defects testing is a major challenge for the OS. Additionally, checkpointing with rollback-recovery can be costly and mission critical data can be lost in case of an SEU event. We eliminate many of these problems with our non-interfering in-field testing and recovery solution. We apply a hardware performance improvement technique called System Hyper Pipelining (SHP), which combines well-known context switching (Barrel CPU) and C-slow retiming techniques. The SoC is enhanced with an SEU detection and ultra-fast recovery mechanism. We also use an RTL ATPG framework that enables the generation of software-based self-tests to achieve 100% coverage of all testable stuck-at-faults. The paper finishes with very promising performance-per-area and test-cycles-per-net results. We argue that our robust system architecture and EDA solution, designed and developed primarily for in-field testing of SoCs, can also be used for production and on-line testing as well as other applications. R&D, EDAptix e.K. Munich, Germany Email: [email protected] I Introduction Chips used in aerospace, automotive, and military applications are subject to in-field failures that can be extremely mission costly or even life-threatening. Cosmic ray phenomena such as solar particle events cause high radiant flux that lasts for hours to days, increasing the likelihood of single-event upsets (SEUs) by several orders of magnitude. With the advent of nanoscale (high-)performance computing, soft errors that impact the reliability of modern electronic systems even at ground level have become one of the most challenging issues for the semiconductor industry. All parts of a design can be affected, including neural networks, where Failure In Time (FIT) rates can exceed safety standards, e.g. ISO 26262 for the automotive industry, by orders of magnitude, as shown in [ 1 ] . There are also device defects that can occur during in-field operation of the device and are mainly due to latent faults that may not be obvious or readily detectable during production or on-line testing but may develop over time under real-time applications in the field due to environmental conditions. The industry is responding to these challenges with standardizations such as ISO 26262. These new requirements must coexist with existing applications and testing must be carefully scheduled to avoid impacting the applications on the device. Efficient scheduling for on-line and in-field testing can be a major challenge for the operating system as [ 2 ] and [ 3 ] clearly demonstrate. Additionally, checkpointing with rollback-recovery can be costly (power, timing, …) [ 4 ] and mission critical data can be lost in case of an SEU event when a system rollback must be initiated. In this paper, we introduce a robust SoC architecture and EDA software solution to cope with the aforementioned challenges. The main goal is to continuously test for SEU and aging faults during on-line testing and in-field operation without interfering with the normal operation as well as to recover from an SEU detection very efficiently. In order to provide a self-contained work, we start the paper with a list of short introductions to the respective techniques on which this work is based, such as • an interleaved multithreading technique (Section II), • functional redundancy and failure recovery (Section III), • aging-related failure detection (Section IV) and • a gate inherent fault based RTL ATPG (Section IV). Our work is introduced in Section VI and compared to related work in Section VII, before results are presented in Section VII. II Barrel CPU and C-slow Retiming Fig. 1 a shows the basic structure of a sequential circuit with its combinational logic (CL) and original design registers (DR). Clock, in- and outputs are not shown for the sake of simplicity. The sequential circuit processes a single thread T(0) running at what we define here as macro-cycle speed. II- 1 Barrel CPU A barrel processor is a CPU that switches between threads of execution every cycle. The design technique is also known as ”interleaved” or ”fine-grained” temporal multithreading. A modern example of a barrel RISC-V CPU is shown in [ 5 ] . Fig. 1 b gives an abstract view of a design based on the barrel technique. The DRs are now replaced by memories (Mem) and the design is extended by a thread controller (TC). D is the number of threads the memory can hold (memory depth). The executed thread can now be freely selected within D threads (read pointer) and saved at the corresponding address (write pointer) using the thread index. The individual threads still run at macro-cycle speed. II- 2 C-slow retiming (CSR) The C-slow retiming (CSR) technique provides C copies of a given design by inserting an equal number of registers into each combinatorial path and therefore reusing the logic in a time sliced fashion [ 6 ] . Fig. 1 c outlines the CSR technique. The original logic is sliced into C (here C=3) sections, and each original path now has C-1 additional registers running at micro-cycle speed. This results in C functional independent design copies T(0, …, C-1) which use the logic in a time sliced fashion. Each thread has its own thread index. For each design copy it now takes C micro-cycles to achieve the same result as in one cycle of the original design (macro-cycle). The implemented register sets are called “CSR Registers“ (CR). Fig. 1: a) Simplified single clock design. b) Applying barrel technique c) Applying C-slow retiming d) Applying System-Hyper-Pipeling (SHP) e) SEU detection and recovery based on C-slow retiming and applyed on SHP II- 3 System Hyper Pipelining (SHP) System hyper-pipelining (SHP) is a technique introduced in [ 7 ] that combines the barrel and C-slow retiming techniques mentioned above. Fig. 1 d shows the modifications towards an SHP-ed design, which can run any number of threads (T <= D) in any possible interleaved order. II- 4 Thread mixing When applying SHP on an SoC, the number of individual threads (D, barrel technique) as well as the number of interleaved executed design copies C for individual subblocks can vary. For example, the less timing critical Ethernet design does not need to use C-slow retiming to achieve the required performance and therefore only the barrel technique needs to be applied. Accelerators, on the other hand, are usually time-critical and only the C-slow retiming technique might be relevant. The CPU is based on SHP to achieve the best possible performance-per-area trade-off. This approach allows for an optimal thread mixing and best serves our purpose while providing an optimal performance-per-area trade-off. II- 5 Load balancing Fig. 2 shows the advantages of the aforementioned techniques compared to the original design. The x-axis of the histogram shows different scenarios/solutions, the y-axis the system performance. Assuming a thread