跳到正文
arXiv (AI + Vision + Imaging)· Saeid Rajabi, Chengmo Yang, Satwik Patnaik·· 2 天前AI 评分22

VeriLadder:面向工具验证Verilog数据集的多智能体规格精炼系统

VeriLadder: A Multi-Agent Specification Refinement System for Tool-Verified Verilog Datasets

AI 导读

VeriLadder是一个五级Verilog数据集及配套多智能体框架,由LLM智能体撰写和修订规格,再由综合器与形式等价检查器决定是否接纳。其Level 3将可重建设计占比从26.1%提升至78.2%,数据集标注了716,627个设计的可综合性,并提供11,247条精炼规格。

正文 · 原文

arXiv:2611.28617v1 Announce Type: new Abstract: Training data is a bottleneck in AI, especially for large language models (LLMs) that write Verilog, because register-transfer-level (RTL) code is rarely published and existing datasets mostly check code for syntax, not instruction correctness. This paper presents VeriLadder, a five-level Verilog dataset, and the multi-agent framework that builds it, in which LLM agents write and revise specifications, and EDA tools (a synthesizer and a formal equivalence checker) decide what is accepted. Its levels follow an engineer's checks. Level 1 labels designs from two large Verilog corpora, namely RTLCoder and PyraNet, with synthesis results, failure causes, critical warnings and post-synthesis metrics. 28% of RTLCoder designs fail synthesis and are kept as negatives. Level 2 grades each instruction on four specification qualities, and low grades predict failed rebuilds. Level 3 rewrites each instruction into a refined specification and accepts it only if an LLM from another model family, reading only that specification, writes a circuit formally equivalent to the original. This raises the share of rebuildable designs from 26.1% to 78.2%, keeping every failed specification with its counterexample. Levels 4 and 5 add verified paraphrases and one-fact variants, hard negatives that differ only in one behavior from the verified design. VeriLadder labels the synthesizability of 716,627 designs and, from RTLCoder, provides 11,247 refined specifications, 32,393 paraphrases and 8,397 one-fact variants. Fine-tuning Qwen2.5-Coder-7B-Instruct on VeriLadder raises functional pass@1 from 31.7% to 50.0% on VerilogEval v2 and from 35.0% to 45.2% on RTLLM v2. The dataset and fine-tuned models are publicly available.

来源:arXiv (AI + Vision + Imaging) · arxiv.org