arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.14239cs.CLcs.AIcs.ARcs.LG
收藏

QiMeng-CodeV-SVA: 通过RTL基础双向数据合成训练专用LLM进行硬件断言生成

QiMeng-CodeV-SVA: Training Specialized LLMs for Hardware Assertion Generation via RTL-Grounded Bidirectional Data Synthesis

Yutong Wu, Chenrui Cao, Pengwei Jin, Di Huang, Rui Zhang, Xishan Zhang, Zidong Du, Qi Guo, Xing Hu

AI总结:

本文提出通过RTL基础双向数据合成训练专用LLM生成硬件断言,解决数据稀缺和语义等价性判断问题,CodeV-SVA-14B在NL2SVA任务中表现优异。

摘要:

系统Verilog断言(SVAs)对于硬件验证至关重要。近期研究利用通用目的大语言模型(LLMs)将自然语言属性翻译成SVAs(NL2SVA),但它们表现不佳,原因是数据有限。我们提出了一种数据合成框架来解决两个挑战:高质量真实世界SVA语料库的稀缺性和缺乏可靠的方法来确定NL-SVA语义等价性。对于前者,使用大规模开源RTLs引导LLMs生成真实世界的SVAs;对于后者,双向翻译用作数据选择方法。利用合成的数据,我们训练了CodeV-SVA系列SVA生成模型。值得注意的是,CodeV-SVA-14B在NL2SVA-Human任务中达到75.8%,在NL2SVA-Machine任务中达到84.0%(Func.@1),与先进的LLMs如GPT-5和DeepSeek-R1相当或更优。

英文摘要:

SystemVerilog Assertions (SVAs) are crucial for hardware verification. Recent studies leverage general-purpose LLMs to translate natural language properties to SVAs (NL2SVA), but they perform poorly due to limited data. We propose a data synthesis framework to tackle two challenges: the scarcity of high-quality real-world SVA corpora and the lack of reliable methods to determine NL-SVA semantic equivalence. For the former, large-scale open-source RTLs are used to guide LLMs to generate real-world SVAs; for the latter, bidirectional translation serves as a data selection method. With the synthesized data, we train CodeV-SVA, a series of SVA generation models. Notably, CodeV-SVA-14B achieves 75.8% on NL2SVA-Human and 84.0% on NL2SVA-Machine in Func.@1, matching or exceeding advanced LLMs like GPT-5 and DeepSeek-R1.

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

↑