Wenxuan Shi, Yaoyu Zhu, Di Huang, Chongxiao Li, Xiaoyun Zhang, Muxin Song, Yutong Wu, Ziyuan Nan
Solid, well-engineered unification of tool-integrated SFT and shaped GRPO for RTL with strong CVDP results and open release, but incremental in idea and with thin statistical support for several ablations.
Large language models offer a promising route to register-transfer-level (RTL) design, but reliable implementations require checking and revision based on electronic design automation (EDA) tools' feedback. Existing RTL-specialized models often lack learned interaction with such EDA tools or rely on separate generation and repair components. We introduce RTL-Interact, a multi-task post-training framework that trains a single RTL-specialized model to generate RTL, construct task-appropriate EDA checks, and revise implementations using tool feedback. The framework combines automatically constructed multi-task demonstrations with staged supervision from chain-of-thought to tool-integrated reasoning. We further introduce Pattern-Aware Policy Optimization (PAPO) for multi-task reinforcement learning. PAPO augments Group Relative Policy Optimization with correctness-gated rewards that favor concise successful checking while rewarding effective revision, and uses task grouping to preserve coverage across objectives. On CVDP, RTL-Interact-32B achieves 48.7% weighted Pass@1 and 68.9% Pass@5, surpassing its teacher model, DeepSeek-V3.2, while RTL-Interact-8B achieves 44.9% weighted Pass@1. Additionally, we show that PAPO can reduce average tool calls by 63.8% while improving Pass@1. Both models also outperform all RTL-specialized baselines on VerilogEval v2 and RTLLM v2, demonstrating the effectiveness of our method.
RTL-Interact trains a single RTL-specialized LLM (Qwen3-8B/32B base) to generate Verilog, write its own task-appropriate EDA checks (simulation testbenches, lint, synthesis analysis, equivalence checks), and revise designs from the tool feedback. It has three parts:
The framing is a useful one. Prior RTL RL work (CodeV-R1, ChipSeek) uses EDA tools only as reward oracles. Agentic workflows (MAGE, VerilogCoder) use tools only through prompting. OriGen and ChipMATE need separate generator and repair components. Here one policy learns inference-time tool use. The novelty is mostly a sensible combination of known ingredients applied to a new domain: TIR (ToRA/ReAct-style) plus GRPO with a shaped reward. The reward shaping and task grouping are modest, heuristic additions.
Strengths:
Weaknesses:
The result is practically relevant to LLM-aided chip design. A small open model that approaches or surpasses frontier models on CVDP, with promised release of models, data, and code, would be a useful baseline and starting point. The tool-call efficiency analysis is a moderately interesting observation: RL shrinks tool use while increasing thinking, so the model internalizes verification. The recipe (teacher TIR distillation → staged SFT → pattern-shaped GRPO with task quotas) may transfer to other tool-grounded code domains (HLS, formal verification, analog netlists). But it is domain-specific, and the contributions are engineering-flavored rather than conceptual.
Agentic and tool-integrated RL is a hot area, and CVDP is a recent, harder benchmark than VerilogEval. Interest in LLM-for-EDA is high, so the paper arrives at the right time. The competing landscape is crowded (ChipMATE, ACE-RTL, SiliconMind, InCoder, and others, all 2026), so the lasting value depends on the released artifacts.
Reproducibility is relatively good given the stated release, detailed hyperparameters, and prompts, though the full scoring prompt is in a supplementary artifact. Compute is moderate for SFT (8×A100), but the RL with 30K-token rollouts and tool calls on 32B is heavier. Rewards of the form "1 + δ" are simple and easy to port.
Generated Nov 2, 2026
Solid, well-engineered unification of tool-integrated SFT and shaped GRPO for RTL with strong CVDP results and open release, but incremental in idea and with thin statistical support for several ablations.