arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2601.01765cs.AIcs.SE
收藏

为RTL代码优化提供新的基准测试

A New Benchmark for the Appropriate Evaluation of RTL Code Optimization

Hong Kong University of Science and Technology(香港科技大学)

Yao Lu, Shang Liu, Hangan Zhou, Wenji Fang, Qijun Zhang, Zhiyao Xie

AI总结:

本文提出RTL-OPT基准测试,用于评估大语言模型在RTL代码优化中的能力,通过手工设计的36个数字电路和人工优化的参考代码,提供标准化的评估框架以量化PPA改进。

摘要:

人工智能的快速发展越来越依赖于高效的集成电路(IC)设计。近期研究探索了使用大语言模型(LLMs)生成寄存器传输级(RTL)代码,但现有基准测试主要评估语法正确性,而非在功率、性能和面积(PPA)方面的优化质量。本文介绍了RTL-OPT,一个用于评估LLMs在RTL优化能力的基准测试。RTL-OPT包含36个手工设计的数字电路,涵盖组合逻辑、流水线数据路径、有限状态机和内存接口等多样化的实现类别。每个任务提供一对RTL代码,一个次优版本和一个人工优化的参考,反映了行业验证的优化模式,这些模式未被传统综合工具捕捉。此外,RTL-OPT集成了自动化评估框架,用于验证功能正确性并量化PPA改进,使生成模型在硬件设计优化中的标准化和有意义评估成为可能。

英文摘要:

The rapid progress of artificial intelligence increasingly relies on efficient integrated circuit (IC) design. Recent studies have explored the use of large language models (LLMs) for generating Register Transfer Level (RTL) code, but existing benchmarks mainly evaluate syntactic correctness rather than optimization quality in terms of power, performance, and area (PPA). This work introduces RTL-OPT, a benchmark for assessing the capability of LLMs in RTL optimization. RTL-OPT contains 36 handcrafted digital designs that cover diverse implementation categories including combinational logic, pipelined datapaths, finite state machines, and memory interfaces. Each task provides a pair of RTL codes, a suboptimal version and a human-optimized reference that reflects industry-proven optimization patterns not captured by conventional synthesis tools. Furthermore, RTL-OPT integrates an automated evaluation framework to verify functional correctness and quantify PPA improvements, enabling standardized and meaningful assessment of generative models for hardware design optimization.

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

↑