RTLREX:LLM引导的精确高层次RTL恢复框架 RTLREX: LLM-Guided Framework for Exact High-Level RTL Recovery 预印本

⚠️ 本文为 预印本(arXiv 公开版本),尚未经过正式同行评审。作者自发公开,结论未经期刊审稿验证,阅读时请知悉。
发布时间:2026-11-07
⬇️ 3 次下载
👁️ 预览文献
💡 AI 中文简介
该研究提出RTLREX框架,利用大语言模型协调专用工具,从门级网表或输入输出描述中恢复精确的高层次RTL设计。通过独立验证确保恢复的RTL与原电路等价,并利用工具反馈优化语法成本。在30个ICCAD 2022基准测试中,全部成功恢复等价RTL,覆盖率超越WolFEx;在共同恢复的基准上平均语法成本降低20.5%。在IWLS 2026完全真值表基准上,相比LLM代理基线平均语法成本降低95.7%。
领域电子设计自动化(EDA)/ 硬件安全与逆向工程
适合谁读需要一定专业背景(熟悉数字电路、RTL设计和形式验证)
核心贡献1. 提出LLM引导的框架,协调专用工具实现从低层表示到精确RTL的恢复,并通过独立验证保证等价性;2. 利用工具反馈迭代优化RTL语法成本,显著优于现有方法。
关键数据在30个ICCAD 2022基准上全部恢复等价RTL,覆盖率超越WolFEx;共同基准上平均语法成本降低20.5%;在IWLS 2026基准上相比LLM代理基线平均语法成本降低95.7%。
推荐理由如果你对硬件逆向工程或LLM辅助EDA感兴趣,这篇工作展示了如何用LLM精准恢复RTL并大幅降低成本,实验数据亮眼,值得一读。
关键词["RTL恢复", "大语言模型", "形式等价验证", "语法成本优化", "硬件逆向工程"]

原文摘要

查看英文原文摘要

Hardware designs may be available only as gate-level netlists or input-output descriptions when the original register-transfer-level (RTL) design and documentation are not accessible. Low-level representations obscure word-level computation and its finite-width behavior. Recovering high-level RTL from such representations therefore helps engineers understand a circuit's functionality and enables RTL rewriting and resynthesis. A plausible function model is also insufficient unless the generated RTL is equivalent to the original circuit for all input combinations. In this paper, we present RTLREX, a large language model (LLM)-guided framework that coordinates domain-specific tools for function recovery, RTL generation, independent verification, and cost-guided rewriting. Independent verification establishes equivalence between the recovered RTL and the original circuit. The LLM uses tool feedback to select further analyses, revise candidate RTL, and propose syntax-cost reductions. Experiments on 30 benchmarks from Problem A of the ICCAD 2022 CAD Contest show that RTLREX recovers equivalent high-level RTL for all benchmarks, surpassing the state-of-the-art method WolFEx in recovery coverage. On benchmarks recovered by both methods, RTLREX reduces mean syntax cost by 20.5% relative to WolFEx. On complete truth-table benchmarks from the IWLS 2026 Contest, our framework reduces mean syntax cost by 95.7% relative to an LLM agent baseline on the benchmarks validated by both methods.