paperbot · PL 论文追踪

全部论文 待读 收藏

P2 RTL-Repair: Fast Symbolic Repair of Hardware Design Code

RTL-Repair:硬件设计代码的快速符号修复
ASPLOS Proceedings of the 29th ACM International Conference on Architectural Support for Programming Languages and Operating Systems, Volume 32024匹配度 3/10 · 论文属于基于SMT的硬件RTL程序修复,与用户关注的静态分析、LLM/Agent、浮点或贝叶斯程序分析核心方向交叉较少;仅形式化方法与程序修复这一PL子领域有间接关联。引用 29 inbox
Kevin Laeufer, Brandon Fajardo, Abhik Ahuja, Vighnesh Iyer, Borivoje Nikolić, Koushik Sen
crossref: 2026-09-12dblp: 2026-09-12

AI 速览

一句话:提出基于SMT的RTL硬件设计快速符号修复工具,可在秒级生成最小修复并适配IDE。

RTL 电路描述的调试与修复通常依赖人工或耗时搜索,现有最优工具生成修复需数分钟甚至数小时。RTL-Repair 是一个基于语义的寄存器传输级电路修复工具,采用 SMT 的一步式故障定位与修复算法,并通过优化生成用户易理解的最小改动;其自适应窗口方法将修复搜索聚焦于测试中最相关的部分,以缓解可扩展性问题。在从开源硬件项目收集的 12 个真实 bug 上,RTL-Repair 为其中 9 个生成了能通过测试平台的修复:2 个与真实修复完全一致,1 个部分一致,4 个改对了表达式但过拟合测试平台,仅 3 个与真实修复差异较大。

问题
RTL 硬件设计中的自动修复:如何基于语义和测试平台,快速定位并修复寄存器传输级电路 bug,同时生成最小、可理解且可扩展的补丁。
方法
使用 SMT 的一步式故障定位与修复算法,通过优化搜索最小改动,并用自适应窗口聚焦测试中最相关的部分,从而在秒级生成修复。
评估
在 12 个来自开源硬件项目的真实 bug 上评估,9 个修复能通过对应测试平台,并与 ground truth 比较修复质量。
原文摘要(Abstract)

We present RTL-Repair, a semantics-based repair tool for register transfer level circuit descriptions. Compared to the previous state-of-the-art tool, RTL-Repair generates more correct repairs within seconds instead of minutes or even hours. We imagine that RTL-Repair could thus be integrated into an IDE to give developers repair suggestions promptly. Our new SMT-based one-step fault localization and repair algorithm for digital hardware designs uses optimization to generate minimal changes that a user can easily understand. A novel adaptive windowing approach allows us to avoid scalability issues by focusing the repair search on the parts of the test that matter the most. RTL-Repair provides repairs that pass their testbench for 9 out of 12 real bugs collected from open-source hardware projects. Two repairs fully match the ground truth, one partially, four more repairs change the correct expression but in a way that overfits the testbench, and only three repairs differ strongly from the ground truth.

链接与引用

DOI 原文 · PDF(开放获取) · DBLP

BibTeX
@inproceedings{LaeuferFAINS24,
  title = {RTL-Repair: Fast Symbolic Repair of Hardware Design Code},
  author = {Kevin Laeufer and Brandon Fajardo and Abhik Ahuja and Vighnesh Iyer and Borivoje Nikolić and Koushik Sen},
  booktitle = {ASPLOS},
  year = {2024},
  doi = {10.1145/3620666.3651346}
}