← ListarXivPDF

#1 Exploring LLM-based Verilog Code Generation with Data-Efficient Fine-Tuning and Testbench Automation

Score: 39.7 | Matched keywords: agent, benchmark, code generation, fine-tuning, large language models, llm, multi-agent

Categories: cs.AR, cs.AI

Abstract Snapshot

Compressed abstract

Recent advances in large language models have improved code generation, but their use in hardware description languages is still limited. Moreover, training data and testbenches for these models are often scarce.

Main idea

Recent advances in large language models have improved code generation, but their use in hardware description languages is still limited.

Method signal

Moreover, training data and testbenches for these models are often scarce. This paper presents a workflow that uses multi-agent models to generate testbenches for high-quality fine-tuning data.

Contribution signal

By automating testbench creation, the fine-tuned model for the specification-to-Verilog task achieves performance comparable to state-of-the-art methods on the refined VerilogEval v2 benchmark while using less training data. This study provides a basis for future work on LLM-based HDL generation and automated verification.

Original Abstract

Recent advances in large language models have improved code generation, but their use in hardware description languages is still limited. Moreover, training data and testbenches for these models are often scarce. This paper presents a workflow that uses multi-agent models to generate testbenches for high-quality fine-tuning data. By automating testbench creation, the fine-tuned model for the specification-to-Verilog task achieves performance comparable to state-of-the-art methods on the refined VerilogEval v2 benchmark while using less training data. This study provides a basis for future work on LLM-based HDL generation and automated verification.