Classification-Based Automatic HDL Code Generation Using LLMs
Not on the map. Why?
Abstract (arXiv)
While large language models (LLMs) have demonstrated the ability to generate hardware description language (HDL) code for digital circuits, they still suffer from the hallucination problem, which leads to the generation of incorrect HDL code or misunderstanding of specifications. In this work, we introduce a human-expert-inspired method to mitigate the hallucination of LLMs and improve the performance in HDL code generation. We first let LLMs classify the type of the circuit based on the specifications. Then, according to the type of the circuit, we split the tasks into several sub-procedures, including information extraction and human-like design flow using Electronic Design Automation (EDA) tools. Besides, we also use a search method to mitigate the variation in code generation. Experimental results show that our method can significantly improve the functional correctness of the generated Verilog and reduce the hallucination of LLMs.
Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 17 of its 23 references that are in the map. First posted on arXiv 4 Jul 2024.
Builds on
17 of 23 references.
References · 17
- 2023GPT-4 Technical Reportcited by 18,132
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 2022Rethinking the Role of Demonstrations: What Makes In-Context Learning Work?cited by 1,413
- 2023Prompting Large Language Model for Machine Translation: A Case Studycited by 247
- 2023VeriGen: A Large Language Model for Verilog Code Generationcited by 197
- 2020Generation-Augmented Retrieval for Open-domain Question Answeringcited by 186
- 2023ChipNeMo: Domain-Adapted LLMs for Chip Designcited by 168
- 2024Do Large Language Models Latently Perform Multi-Hop Reasoning?cited by 165
- 2023Chip-Chat: Challenges and Opportunities in Conversational Hardware Designcited by 136
- 2024BetterV: Controlled Verilog Generation with Discriminative Guidancecited by 99
- 2023RTLFixer: Automatically Fixing RTL Syntax Errors with Large Language Modelscited by 98
5 more
- 2023The Programmer's Assistant: Conversational Interaction with a Large Language Model for Software Developmentcited by 95
- 2023AutoChip: Automating HDL Generation Using LLM Feedbackcited by 80
- 2023GPT4AIGChip: Towards Next-Generation AI Accelerator Design Automation via Large Language Modelscited by 59
- 2024Data is all you need: Finetuning LLMs for Chip Design via an Automated design-data augmentation frameworkcited by 36
- 2024HDLdebugger: Streamlining HDL debugging with Large Language Modelscited by 25
Built on by
Citing papers per year: 2025: 2; 2026: 1.
3 papers.