EDA-Aware RTL Generation with Large Language Models
Mubashir ul Islam, Humza Sami, Pierre-Emmanuel Gaillardon, and Valerio, Tenace

TL;DR
This paper introduces AIvril2, a multi-agent framework that improves RTL code generation from LLMs by automatically correcting syntax and functional errors, significantly enhancing code quality and reliability.
Contribution
We propose a novel self-verifying, multi-agent system that leverages EDA tool feedback to automatically correct errors in RTL code generated by LLMs, reducing manual debugging.
Findings
Achieved 3.4× improvement over prior methods.
Functional pass rates of 77% for Verilog and 66% for VHDL.
Significantly enhanced code quality and reliability.
Abstract
Large Language Models (LLMs) have become increasingly popular for generating RTL code. However, producing error-free RTL code in a zero-shot setting remains highly challenging for even state-of-the-art LLMs, often leading to issues that require manual, iterative refinement. This additional debugging process can dramatically increase the verification workload, underscoring the need for robust, automated correction mechanisms to ensure code correctness from the start. In this work, we introduce AIvril2, a self-verifying, LLM-agnostic agentic framework aimed at enhancing RTL code generation through iterative corrections of both syntax and functional errors. Our approach leverages a collaborative multi-agent system that incorporates feedback from error logs generated by EDA tools to automatically identify and resolve design flaws. Experimental results, conducted on the VerilogEval-Human…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdvanced Database Systems and Queries · Data Management and Algorithms
