arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.28169cs.AR
收藏

FT-Pilot:通过漏洞引导的LLM实现自动化容错RTL重写

FT-Pilot: Automated Fault-Tolerant RTL Rewriting via Vulnerability-Guided LLMs

University of Chinese Academy of Sciences(中国科学院大学);State Key Lab of Processors, Institute of Computing Technology, Chinese Academy of Sciences(中国科学院计算技术研究所处理器与存储系统国家重点实验室);CASTEST Co., Ltd.(北京芯测科技有限公司);Bodesi Technologies(博德思科技)

Weixing Liu, Zizhen Liu, Jing Ye, Naixing Wang, Cheng Liu, Huawei Li, Xiaowei Li

AI总结:

提出FT-Pilot框架,结合GNN和LLM实现RTL级自动软错误加固,通过漏洞分析和代码重写降低输出错误率。

摘要:

随着集成电路技术不断向先进工艺节点发展,节点电容和供电电压的持续降低使得数字系统对软错误越来越敏感。虽然传统的全芯片加固方法可以提高可靠性,但通常会带来不可接受的面积和功耗开销,因此选择性加固成为更实用的工程解决方案。然而,现有方法通常依赖耗时的故障注入仿真通过漏洞分析确定加固位置,并且在加固阶段仍然严重依赖手动策略选择和RTL修改,这使得它们不适合在早期设计阶段进行高效的自动化可靠性优化。为了解决这些挑战,本文提出了FT-Pilot,一个GNN引导的LLM框架,用于自动RTL软错误加固。该框架首先使用GNN直接在RTL级别识别关键易受攻击的资产,然后引入一个由分析器和重写器组成的LLM驱动的重写引擎,该引擎在双知识库检索增强生成和自动修复机制的支持下执行RTL级别的容错代码重写。实验结果表明,所提出的框架可以自动生成语法正确、功能正确且可在多个基准电路上综合的加固RTL设计,同时在软错误场景下显著降低输出错误率。这项工作为在RTL级别实现左移可靠性优化提供了一条实用的自动化路径。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑