VeriGRAG: Enhancing LLM-Based Verilog Code Generation with Structure-Aware Soft Prompts
Not on the map. Why?
Abstract (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.
Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 17 of its 25 references that are in the map. First posted on arXiv 27 Sep 2025.
Builds on
17 of 25 references.
References · 17
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2018Representation Learning with Contrastive Predictive Codingcited by 7,777
- 2023QLoRA: Efficient Finetuning of Quantized LLMscited by 3,418
- 2017Billion-scale similarity search with GPUscited by 2,497
- 2023Code Llama: Open Foundation Models for Codecited by 2,139
- 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,310
- 2024Qwen2.5-Coder Technical Reportcited by 1,203
- 2024DeepSeek-Coder: When the Large Language Model Meets Programming -- The Rise of Code Intelligencecited by 1,181
- 2019Strategies for Pre-training Graph Neural Networkscited by 971
- 2023VerilogEval: Evaluating Large Language Models for Verilog Code Generationcited by 252
- 2024BetterV: Controlled Verilog Generation with Discriminative Guidancecited by 100
- 2024AutoVCoder: A Systematic Framework for Automated Verilog Code Generation using LLMscited by 36
5 more
- 2024MAGE: A Multi-Agent Engine for Automated RTL Code Generationcited by 31
- 2025HaVen: Hallucination-Mitigated LLM for Verilog Code Generation Aligned with HDL Engineerscited by 25
- 2024PyraNet: A Multi-Layered Hierarchical Dataset for Verilogcited by 19
- 2025Insights from Verification: Training a Verilog Generation LLM with Reinforcement Learning with Testbench Feedbackcited by 14
- 2025ReasoningV: Efficient Verilog Code Generation with Adaptive Hybrid Reasoning Modelcited by 12
Built on by
Citing papers per year: 2025: 1; 2026: 1.
2 papers.