atlas

Research map / Multi-agent systems and games / LLM agents

VerilogCoder: Autonomous Verilog Coding Agents with Graph-based Planning and Abstract Syntax Tree (AST)-based Waveform Tracing Tool

AAAI 2025 · Multi-agent systems and games › LLM agents · approach: GUI agent memory and trajectories · 46 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes VerilogCoder, a multi-agent system that plans Verilog designs via a Task and Circuit Relation Graph and debugs functional errors with an AST-based waveform tracing tool, reaching 94.2% on VerilogEval-Human v2.

Problem

Generating functionally correct Verilog code from specifications with LLMs is hard because plans lose signal and state-transition details and existing LLM approaches cannot fix functional errors.

Approach

A multi-agent ReAct framework where an LLM planner builds a Task and Circuit Relation Graph (TCRG) of sub-tasks, signals, transitions and examples, retrieved by agents, and a debug agent back-traces mismatched output signals through the Verilog AST (via Pyverilog) using simulator waveforms.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
use VerilogCoder with GPT-4 Turbo instead of GPT-4 Turbo promptingGPT-4 Turbo · VerilogEval-Human v2pass-rate: 60.3 -> 94.2Helped
use VerilogCoder with Llama3 instead of Llama 3 promptingLlama 3 · VerilogEval-Human v2pass-rate: 25.6%Helped
add AST-WT to Planner1 (ablation)Planner1 · VerilogEval-Human v2pass-rate: 66.7% -> 78.2%; 11.5%Helped
replace Planner1 with Planner2, without AST-WT (ablation)VerilogCoder · VerilogEval-Human v2pass-rate: 66.7% -> 74.4%; 7.7%Helped
combine Planner2 with AST-WT (ablation)VerilogCoder · VerilogEval-Human v2pass-rate: 66.7% -> 94.2%; 27.5%Helped
use Planner1 with AST-WT instead of Planner2 without AST-WT (ablation)VerilogCoder · Application (Descr.)pass-rate: 10.5%Helped
use Planner1 with AST-WT instead of Planner2 without AST-WT (ablation)VerilogCoder · Comb+Seq+FSM (Descr.)pass-rate: 39.1%Helped
use Planner1 with AST-WT instead of Planner2 without AST-WT (ablation)VerilogCoder · Comb+Seq+FSM (Waveform)pass-rate: 12.5%Helped
use Planner2 without AST-WT instead of Planner1 with AST-WT (ablation)VerilogCoder · Comb (Kmap)pass-rate: 33.3%Helped
use Planner2 without AST-WT instead of Planner1 with AST-WT (ablation)VerilogCoder · FSM (Trans. Table)pass-rate: 44.5%Helped

Surprising findings

Limitations

Experimental setup

Datasets: VerilogEval-Human v2

Benchmarks: VerilogEval-Human v2

Metrics: pass rate (pass@1)

Baselines: RTL-Coder DeepSeek Coder CodeGemma CodeLlama Llama 3 Mistral Large GPT-4 GPT-4 Turbo

Builds on: ReAct AutoGen Pyverilog iverilog

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy