VerilogASTBench: Benchmark Construction of Verilog AST Dataset with Dual-Stage AST Semantic Enhancement Framework

计算机科学 Verilog公司 水准点(测量) 程序设计语言 抽象语法树 编译程序 语义学(计算机科学) 编码(社会科学) 解析 网络列表 构造(python库) 硬件描述语言 语法 计算机工程 计算机体系结构 推论 树(集合论) 电子电路设计 数据挖掘 人工智能 工具链 接口(物质) 机器学习 自然语言处理 编码(集合论) 抽象语法 静态分析
作者
Luping Zhang,Chao Chen,Dapeng Yan,Hui Xu,Mingsheng Cao,Jingkuan Song,Zhikuang Cai,Yufeng Guo
出处
期刊: [Association for Computing Machinery]
卷期号:3 (FSE): 989-1010
标识
DOI:10.1145/3797073
摘要

With the increasing complexity and scale of integrated circuit (IC) designs, automated circuit design methods are essential for Verilog implementation. Although Large Language Models (LLMs) perform well in general-purpose coding such as C++ and Python, their performance in Verilog is constrained by domain-specific semantic and structural rules as well as the scarcity of high-quality training datasets. To address these issues, this work proposes a semantically enhanced Verilog code parsing and automatic repair framework based on Abstract Syntax Tree (AST). First, an advanced register-transfer level (RTL) analysis framework was developed to achieve semantic enhancement through static analysis–driven functional role inference and attribute annotation. Second, enhanced AST information is used to construct structured prompts and generate semantically rich module descriptions via an Application Programming Interface (API) for dataset construction. Finally, an AST-guided automatic Verilog repair framework was designed, which leverages enhanced AST analysis for precise defect localization and intelligent repair through compiler feedback loops. Experimental results indicate that the proposed method successfully repaired 15.24% of defective Verilog code, resulting in a high-quality RTL benchmark dataset containing 318,021 samples. Models fine-tuned on this dataset demonstrate significant performance improvements across three benchmarks, achieving average improvements of 13.76% and 16.95% on Eval-Machine pass@1 and pass@5, 8.97% and 14.56% on Eval-Human pass@1 and pass@5, and 15.70% and 12.20% on RTLLM V1.1 Syntax-VCS and Func.

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
李爱国的应助被无奈夏菡采纳,获得10
刚刚
Zephyr完成签到,获得积分10
刚刚
爱笑的荧完成签到,获得积分10
刚刚
刚刚
Rockicing完成签到,获得积分10
刚刚
枫叶发布了新的文献求助10
1秒前
小王关注了科研通微信公众号
1秒前
orixero的应助被烂漫起眸采纳,获得30
1秒前
Firsterchao的应助被aa采纳,获得10
1秒前
xuyufeng关注了科研通微信公众号
2秒前
明亮的颖完成签到,获得积分20
2秒前
布蕾翠翠奶芙完成签到,获得积分10
2秒前
handsome发布了新的文献求助10
2秒前
伯恩发布了新的文献求助30
2秒前
牛奶咖啡完成签到,获得积分10
2秒前
2秒前
呆萌彩虹发布了新的文献求助10
3秒前
Bruce发布了新的文献求助10
3秒前
3秒前
小马甲的应助被S1nCer0采纳,获得10
3秒前
3秒前
陈爱佳发布了新的文献求助10
4秒前
FashionBoy的应助被王力宏采纳,获得10
4秒前
Carolna完成签到,获得积分10
4秒前
桐桐的应助被涵涵采纳,获得30
4秒前
无情碧灵完成签到,获得积分10
5秒前
远方发布了新的文献求助30
5秒前
李爱国的应助被聪明短靴采纳,获得10
5秒前
5秒前
SciGPT的应助被hzy采纳,获得10
6秒前
6秒前
cui完成签到,获得积分20
6秒前
研友_8Q0P4Z发布了新的文献求助10
7秒前
热心热狗发布了新的文献求助10
7秒前
7秒前
kai完成签到,获得积分10
7秒前
Firsterchao的应助被克拉采纳,获得10
7秒前
Nicole完成签到,获得积分10
7秒前
7秒前
南风喜欢发布了新的文献求助10
7秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
VTFusion: A Vision–Text Multimodal Fusion Network for Few-Shot Anomaly Detection 547
Bonding in Metal(IV) Hexafluorides Examined Using Fluorine K-edge X-ray Absorption Spectroscopy 500
Trend and Out-of-Trend Analysis for Pharmaceutical Quality and Manufacturing Using Minitab 500
Sleisenger and Fordtran's Gastrointestinal and Liver Disease - 2 Volume Set Pathophysiology, Diagnosis, Management 500
[Radiotherapy of prostatic cancer at the loco-regional stage: therapeutic results and prognostic factors] 500
[Experiences with intensive radiotherapy of prostatic cancer in conjunction with surgery (transurethral resection, pelvic lymph node excision)] 500
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 计算机科学 工程类 有机化学 化学工程 生物化学 物理 复合材料 内科学 催化作用 光电子学 人工智能 细胞生物学 无机化学 物理化学 数学
热门帖子
关注 科研通微信公众号,转发送积分 8244360
求助须知:如何正确求助?哪些是违规求助? 9619421
关于积分的说明 22104540
捐赠科研通 7860361
什么是DOI,文献DOI怎么找? 3454663
关于科研通互助平台的介绍 2574337
邀请新用户注册赠送积分活动 2505428