FT-Pilot: Automated Fault-Tolerant RTL Rewriting via Vulnerability-Guided LLMs
Weixing Liu, Zizhen Liu, Jing Ye, Naixing Wang, Cheng Liu, Huawei Li, Xiaowei Li · 2026
Read FT-Pilot: Automated Fault-Tolerant RTL Rewriting via Vulnerability-Guided LLMs by Weixing Liu, Zizhen Liu, Jing Ye, Naixing Wang, Cheng Liu, Huawei Li, Xiaowei Li (2026) 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-2605-28169.txt.
Introduction
Liu and colleagues automate chip hardening against soft errors, which grow likelier as transistors shrink. FT-Pilot first uses a graph network to spot vulnerable circuit assets at RTL level, then lets a language-model engine rewrite the code for fault tolerance with retrieval help and auto-repair. The hardened designs check out as correct and synthesizable while cutting output error rates sharply.
Catalog record
| CREATOR | Weixing Liu, Zizhen Liu, Jing Ye, Naixing Wang, Cheng Liu, Huawei Li, Xiaowei Li |
|---|---|
| YEAR | 2026 |
| COLLECTION | PAPERS |
| FORMAT | TXT |
| FILE SIZE | 70161 |
| LICENSE | http://creativecommons.org/publicdomain/zero/1.0/ |
| RIGHTS | CC0 |
| SOURCE | arXiv |
Source: https://arxiv.org/abs/2605.28169
Browse the full library · About the Tower of Babel
Full text
The opening of the work, from the library's hosted text:
FT-Pilot: Automated Fault-Tolerant RTL Rewriting via Vulnerability-Guided LLMs Weixing Liu, Zizhen Liu, Jing Ye, Naixing Wang, Cheng Liu, Huawei Li, Xiaowei Li Abstract As integrated circuit technologies continue to scale toward advanced process nodes, the continual reduction in node capacitance and supply voltage has made digital systems increasingly vulnerable to soft errors. Although traditional full-chip hardening methods can improve reliability, they often incur unacceptable area and power overhead, making selective hardening a more practical engineering solution. However, existing approaches typically rely on time-consuming fault-injection simulation to determine hardening locations through vulnerability analysis, and still depend heavily on manual strategy selection and RTL modification during the hardening stage, making them ill-suited for efficient automated reliability optimization at early design stages. To address these challenges, this paper proposes FT-Pilot, a GNN-guided LLM framework for automatic RTL soft-error hardening. The framework first employs a GNN to identify critical vulnerable assets directly at the RTL level, and then introduces an LLM-driven rewriting engine composed of an analyzer and a rewriter, which performs RTL-level fault-tolerant code rewriting with the support of dual-knowledge-base retrieval-augmented generation and an automatic repair mechanism. Experimental results show that the proposed framework can automatically generate hardened RTL designs that are syntactically correct, functionally correct, and synthesizable across multiple benchmark circuits, while significantly reducing output error rates under soft-error scenarios. This work provides a practical automated path toward shift-left reliability optimization at the RTL level. I Introduction As semiconductor technology continues to scale toward advanced process nodes, digital circuits are becoming increasingly sensitive to environmental disturbances such as radiation and supply-voltage fluctuations, making soft errors a key threat to system reliability [ 3 ] . In safety-critical domains such as aerospace and autonomous driving, even a single transient fault can lead to severe consequences, necessitating effective soft-error protection mechanisms [ 14 ] . In practice, improving system reliability critically depends on fault-tolerant register-transfer level (RTL) rewriting, where the original design is transformed to incorporate appropriate protection strategies. Fig. 1: Motivation for FT-Pilot. Traditional RTL hardening faces two key bottlenecks: (1) an automation bottleneck due to the labor-intensive, expertise-dependent manual workflow; and (2) an efficiency bottleneck caused by uniform hardening strategies such as full TMR that incur excessive overhead. FT-Pilot addresses both challenges through GNN-guided vulnerability analysis and LLM-powered semantics-aware RTL rewriting, forming a closed-loop pipeline for selective and automated fault-tolerant hardening. However, despite its importance, RTL-level fault-tolerant rewriting remains largely manual. Designers are required to identify vulnerable components, analyze fault impact, select suitable protection strategies [ 24 , 12 ] (e.g., triple modular redundancy (TMR), error-correcting code (ECC), parity), and modify RTL code accordingly. This process is labor-intensive, error-prone, and difficult to scale to large and complex designs. Existing design flows further exacerbate this challenge. As illustrated in Fig. 1 , vulnerability analysis is typically performed through post-synthesis gate-level fault injection [ 41 ] , followed by manual RTL hardening. Each iteration can take days to weeks due to the high cost of gate-level simulation and repeated verification. More importantly, this workflow exposes a fundamental gap between vulnerability analysis and fault-tolerant implementation. While existing tools can identify critical components, they provide no systematic mechanism to translate analysis results into correct and effective RTL-level transformations. Consequently, fault-tolerant rewriting remains ad hoc and heavily dependent on designer expertise. This gap persists despite extensive research in electronic design automation (EDA). Existing tools provide strong support for soft-error analysis, such as fault-injection simulation [ 41 ] and soft-error rate (SER) estimation [ 39 ] , and offer limited protection mechanisms for specific structures (e.g., ECC for memories or TMR insertion [ 15 ] ). However, these techniques are typically restricted to predefined patterns and do not generalize to arbitrary RTL designs. Fundamentally, reliability-aware RTL rewriting is not a purely structural optimization problem, but a semantic-driven and strategy-dependent transformation task. Effective fault-tolerant modification requires understanding the functional role of design components (e.g., control logic, datapaths, and storage elements) and selecting appropriate protection strategies accordingly. Moreover, such transformations are often non-local, involving coordinated modifications across multiple modules and interfaces, which cannot be handled by localized rule-based or synthesis-driven approaches. Due to the lack of semantic understanding and the inability to perform context-aware, non-local transformations, existing EDA tools are insufficient to automate this process. As a result, RTL-level fault-tolerant rewriting remains largely manual in practice. Recent advances in machine learning provide new opportunities to address these challenges. In particular, large language models (LLMs) have demonstrated strong capabilities in code understanding, generation, and transformation, making them promising candidates for automating RTL rewriting tasks [ 21 , 38 ] . However, directly applying general-purpose LLMs to reliability-aware RTL hardening is fundamentally challenging. Although LLMs can capture code semantics, they lack domain-specific knowledge of circuit fault tolerance and protection strategy selection. Consequently, they may generate syntactically valid modifications without ensuring that the applied transformations are appropriate for soft-error mitigation. Moreover, since hardening effectiveness cannot be inferred from syntax alone, the generation process lacks reliable feedback, leading to potentially incorrect or ineffective results. Therefore, effective LLM-based RTL hardening requires explicit fault-tolerance knowledge and verification-driven guidance. A second fundamental challenge is that fault-tolerant rewriting must be guided by structural vulnerability rather than applied uniformly. Selective hardening [ 28 ] is necessary to balance reliability and overhead, which requires identifying vulnerable and critical assets prior to rewriting. However, such structural vulnerability information is not directly accessible to general-purpose LLMs, as it depends on circuit topology and fault-impact propagation rather than local code semantics. Existing approaches address this problem using fault-injection simulation or machine-learning models on post-synthesis gate-level netlists [ 2 , 22 , 16 , 17 ] , which incur high analysis cost and are tightly coupled to specific technology libraries. In contrast, RTL-level representations preserve higher-level structural properties that are more stable across implementations, enabling earlier-stage and more portable vulnerability estimation. Therefore, vulnerability prediction must be integrated into the rewriting process to provide explicit structural guidance for selective RTL hardening. To address the above challenges, this paper proposes FT-Pilot, an automated framework for reliability-aware RTL rewriting, which establishes a closed loop from vulnerability identification to fault-tolerant implementation. Specifically, the framework first converts RTL designs into And-Inverter Graph (AIG) based graph [ 35 ] representations and employs a graph neural network (GNN) to identify vulnerable assets directly at the RTL level, thereby eliminating the dependence on post-synthesis gate-level netlists and enabling earlier-stage reliability analysis and optimization. Building on this foundation, we further design a two-stage LLM-driven rewriting pipeline consisting of an RTL Analyzer and an RTL Rewriter. The Analyzer is responsible for examining vulnerable assets and assigning appropriate fault-tolerance strategies, producing a structured hardening plan. Guided by this plan, the Rewriter performs strategy-aware RTL rewriting with retrieval augmentation from both a fault-tolerance semantic knowledge base and a fault-tolerance example knowledge base. Through the integration of automatic repair and multi-level verification, the proposed framework establishes an automated closed loop from vulnerability identification to RTL fault-tolerant implementation, providing a practical path toward shift-left design for reliability optimization. The main contributions of this work are as follows: • We formulate reliability-aware RTL rewriting as a unified problem that bridges vulnerability analysis and fault-tolerant implementation, and propose an automated framework that enables a closed-loop design flow for scalable soft-error