paper-with-me

Papers

VeriGRAG: Enhancing LLM-Based Verilog Code Generation with Structure-Aware Soft Prompts

2025-09-27 · Jiayu Zhao, Song Chen arxiv

Large language models (LLMs) have demonstrated strong capabilities in generating Verilog code from natural language descriptions. However, Verilog code inherently encodes structural information of hardware circuits. Effectively leveraging this structural information to enhance the functional and syntactic correctness of LLM-generated Verilog code remains a significant challenge. To address this challenge, we propose VeriGRAG , a novel framework that extracts structural graph embeddings from Verilog code using graph neural networks (GNNs). A multimodal retriever then selects the graph embeddings most relevant to the given generation task, which are aligned with the code modality through the VeriFormer module to generate structure-aware soft prompts. Our experiments demonstrate that VeriGRAG substantially improves the correctness of Verilog code generation, achieving state-of-the-art or superior performance across both VerilogEval and RTLLM benchmarks.

📄 PDF Abstract BibTeX arXiv:2510.15914

Code (0)

등록된 구현이 없습니다.

Tasks

Code Generation

Similar Papers 제목 키워드 기반

hdl2v: A Code Translation Dataset for Enhanced LLM Verilog Generation

2025-06-05 · Charles Hong, Brendan Roberts, Huijae An, Alex Um 외

Large language models (LLMs) are playing an increasingly large role in domains such as code generation, including hardware code generation, where Verilog is the key language. However, the amount of publicly available Ver…

Code GenerationCode TranslationData AugmentationKnowledge Distillation

Large Language Model for Verilog Generation with Code-Structure-Guided Reinforcement Learning

2024-07-21 · Ning Wang, Bingkun Yao, Jie zhou, Xi Wang 외

Recent advancements in large language models (LLMs) have sparked significant interest in the automatic generation of Register Transfer Level (RTL) designs, particularly using Verilog. Current research on this topic prima…

Code GenerationLanguage ModelingLanguage ModellingLarge Language Model+2

QiMeng-CRUX: Narrowing the Gap Between Natural Language and Verilog via Core Refined Understanding eXpression for Circuit Design

2025-11-25 · Lei Huang, Rui Zhang, Jiaming Guo, Yang Zhang 외 arxiv

Large language models (LLMs) have shown promising capabilities in hardware description language (HDL) generation. However, existing approaches often rely on free-form natural language descriptions that are often ambiguou…

Code Generation

MAGE: A Multi-Agent Engine for Automated RTL Code Generation

2024-12-10 · Yujie Zhao, Hejia Zhang, Hanxian Huang, Zhongming Yu 외

The automatic generation of RTL code (e.g., Verilog) through natural language instructions has emerged as a promising direction with the advancement of large language models (LLMs). However, producing RTL code that is bo…

Code GenerationNavigate

VerilogLAVD: LLM-Aided Rule Generation for Vulnerability Detection in Verilog

2025-08-18 · Xiang Long, Yingjie Xia, Xiyuan Chen, Li Kuang arxiv

Timely detection of hardware vulnerabilities during the early design stage is critical for reducing remediation costs. Existing early detection techniques often require specialized security expertise, limiting their usab…

Vulnerability Detection