RTL-REPAIR: Fast Symbolic Repair of Hardware Design Code

被引:4
作者
Laeufer, Kevin [1 ]
Fajardo, Brandon [1 ]
Ahuja, Abhik [1 ]
Iyer, Vighnesh [1 ]
Nikolic, Borivoje [1 ]
Sen, Koushik [1 ]
机构
[1] Univ Calif Berkeley, Berkeley, CA 94720 USA
来源
PROCEEDINGS OF THE 29TH ACM INTERNATIONAL CONFERENCE ON ARCHITECTURAL SUPPORT FOR PROGRAMMING LANGUAGES AND OPERATING SYSTEMS, VOL 3, ASPLOS 2024 | 2024年
关键词
D O I
10.1145/3620666.3651346
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
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.
引用
收藏
页码:867 / 881
页数:15
相关论文
共 49 条
[1]  
Ahmad B, 2023, Arxiv, DOI [arXiv:2302.01215, 10.48550/arXiv.2302.01215, DOI 10.48550/ARXIV.2302.01215]
[2]   CirFix: Automatically Repairing Defects in Hardware Design Code [J].
Ahmad, Hammad ;
Huang, Yu ;
Weimer, Westley .
ASPLOS '22: PROCEEDINGS OF THE 27TH ACM INTERNATIONAL CONFERENCE ON ARCHITECTURAL SUPPORT FOR PROGRAMMING LANGUAGES AND OPERATING SYSTEMS, 2022, :990-1003
[3]   Automatic correction of RTL designs using a lightweight partial high level synthesis [J].
Alizadeh, Bijan ;
Shiroei, Masoud .
INTEGRATION-THE VLSI JOURNAL, 2023, 91 :173-181
[4]  
[Anonymous], 2020, IEEE Std.1800.2
[5]  
[Anonymous], 2019, IEEE Std.1076
[6]  
[Anonymous], 2017, IEEE Std.1800
[7]  
[Anonymous], 2005, IEEE/IEC 62142
[8]  
Bachrach J, 2012, DES AUT CON, P1212
[9]  
Barrett Clark, 2008, Handbook of Satisfiability
[10]  
Barrett ClarkW., SMT LIB STANDARD VER