mlsanityData to 7 Oct 2026

CodeV: Empowering LLMs with HDL Generation through Multi-Level Summarization

arXiv 2407.10424 ↗First posted 15 Jul 2024cs.PL cs.AIcited by 38

Not on the map. Why?

Abstract (arXiv)

The design flow of processors, particularly in hardware description languages (HDL) like Verilog and Chisel, is complex and costly. While recent advances in large language models (LLMs) have significantly improved coding tasks in software languages such as Python, their application in HDL generation remains limited due to the scarcity of high-quality HDL data. Traditional methods of adapting LLMs for hardware design rely on synthetic HDL datasets, which often suffer from low quality because even advanced LLMs like GPT perform poorly in the HDL domain. Moreover, these methods focus solely on chat tasks and the Verilog language, limiting their application scenarios. In this paper, we observe that: (1) HDL code collected from the real world is of higher quality than code generated by LLMs. (2) LLMs like GPT-3.5 excel in summarizing HDL code rather than generating it. (3) An explicit language tag can help LLMs better adapt to the target language when there is insufficient data. Based on these observations, we propose an efficient LLM fine-tuning pipeline for HDL generation that integrates a multi-level summarization data synthesis process with a novel Chat-FIM-Tag supervised fine-tuning method. The pipeline enhances the generation of HDL code from natural language descriptions and enables the handling of various tasks such as chat and infilling incomplete code. Utilizing this pipeline, we introduce CodeV, a series of HDL generation LLMs. Among them, CodeV-All not only possesses a more diverse range of language abilities, i.e. Verilog and Chisel, and a broader scope of tasks, i.e. Chat and fill-in-middle (FIM), but it also achieves performance on VerilogEval that is comparable to or even surpasses that of CodeV-Verilog fine-tuned on Verilog only, making them the first series of open-source LLMs designed for multi-scenario HDL generation.

Key facts. Cited by 38 papers in the map (data through 7 Oct 2026). Builds on 30 of its 58 references that are in the map. First posted on arXiv 15 Jul 2024.

Builds on

30 of 58 references.

References · 30

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2023GPT-4 Technical Reportcited by 18,132
  3. 2022Training language models to follow instructions with human feedbackcited by 15,712
  4. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  5. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  6. 2023Qwen Technical Reportcited by 3,273
  7. 2023Code Llama: Open Foundation Models for Codecited by 2,105
  8. 2023Is Your Code Generated by ChatGPT Really Correct? Rigorous Evaluation of Large Language Models for Code Generationcited by 1,332
  9. 2024DeepSeek-Coder: When the Large Language Model Meets Programming -- The Rise of Code Intelligencecited by 1,154
  10. 2018Adafactor: Adaptive Learning Rates with Sublinear Memory Costcited by 896
  11. 2022CodeGen: An Open Large Language Model for Code with Multi-Turn Program Synthesiscited by 876
  12. 2023StarCoder: may the source be with you!cited by 790
18 more
  1. 2019CTRL: A Conditional Transformer Language Model for Controllable Generationcited by 754
  2. 2023WizardCoder: Empowering Code Large Language Models with Evol-Instructcited by 728
  3. 2022InCoder: A Generative Model for Code Infilling and Synthesiscited by 492
  4. 2024StarCoder 2 and The Stack v2: The Next Generationcited by 484
  5. 2022Efficient Training of Language Models to Fill in the Middlecited by 248
  6. 2023VerilogEval: Evaluating Large Language Models for Verilog Code Generationcited by 246
  7. 2024OpenCodeInterpreter: Integrating Code Generation with Execution and Refinementcited by 242
  8. 2023OctoPack: Instruction Tuning Code Large Language Modelscited by 178
  9. 2023ChipNeMo: Domain-Adapted LLMs for Chip Designcited by 168
  10. 2023RTLLM: An Open-Source Benchmark for Design RTL Generation with Large Language Modelcited by 143
  11. 2023Chip-Chat: Challenges and Opportunities in Conversational Hardware Designcited by 136
  12. 2022Benchmarking Large Language Models for Automated Verilog RTL Code Generationcited by 112
  13. 2023ChipGPT: How far are we from natural language hardware designcited by 101
  14. 2024BetterV: Controlled Verilog Generation with Discriminative Guidancecited by 99
  15. 2023RTLFixer: Automatically Fixing RTL Syntax Errors with Large Language Modelscited by 98
  16. 2023RTLCoder: Outperforming GPT-3.5 in Design RTL Generation with Our Open-Source Dataset and Lightweight Solutioncited by 69
  17. 2024MG-Verilog: Multi-grained Dataset Towards Enhanced LLM-assisted Verilog Generationcited by 45
  18. 2024Data is all you need: Finetuning LLMs for Chip Design via an Automated design-data augmentation frameworkcited by 36

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 5; 2025: 22; 2026: 11.

38 papers.

Sort:

By area:

  1. 2024CraftRTL: High-quality Synthetic Data Generation for Verilog Code Models with Correct-by-Construction Non-Textual Representations and Targeted Code Repaircited by 41
  2. 2025QiMeng-CodeV-R1: Reasoning-Enhanced Verilog Generationcited by 34
  3. 2024MAGE: A Multi-Agent Engine for Automated RTL Code Generationcited by 31
  4. 2025ScaleRTL: Scaling LLMs with Reasoning Data and Test-Time Compute for Accurate RTL Code Generationcited by 22
  5. 2025DeepCircuitX: A Comprehensive Repository-Level Dataset for RTL Code Understanding, Generation, and PPA Analysiscited by 21
  6. 2024Large Language Model for Verilog Generation with Code-Structure-Guided Reinforcement Learningcited by 15
  7. 2024AIvril: AI-Driven RTL Generation With Verification In-The-Loopcited by 15
  8. 2025Insights from Verification: Training a Verilog Generation LLM with Reinforcement Learning with Testbench Feedbackcited by 14
  9. 2025AnalogCoder-Pro: Unifying Analog Circuit Generation and Optimization via Multi-modal LLMscited by 14
  10. 2025VeriMind: Agentic LLM for Automated Verilog Generation with a Novel Evaluation Metriccited by 12
  11. 2025ReasoningV: Efficient Verilog Code Generation with Adaptive Hybrid Reasoning Modelcited by 12
  12. 2025VeriCoder: Enhancing LLM-Based RTL Code Generation through Functional Correctness Validationcited by 11
26 more
  1. 2025TuRTLe: A Unified Evaluation of LLMs for RTL Generationcited by 8
  2. 2025VerilogDB: The Largest, Highest-Quality Dataset with a Preprocessing Framework for LLM-based RTL Generationcited by 8
  3. 2025RTLRepoCoder: Repository-Level RTL Code Completion through the Combination of Fine-Tuning and Retrieval Augmentationcited by 7
  4. 2025Large Language Model for Verilog Code Generation: Literature Review and the Road Aheadcited by 7
  5. 2025PRO-V-R1: Reasoning Enhanced Programming Agent for RTL Verificationcited by 6
  6. 2025DecoRTL: A Run-time Decoding Framework for RTL Code Generation with LLMscited by 4
  7. 2025REvolution: An Evolutionary Framework for RTL Generation driven by Large Language Modelscited by 4
  8. 2025VFocus: Better Verilog Generation from Large Language Model via Focused Reasoningcited by 4
  9. 2025VeriLoC: Line-of-Code Level Prediction of Hardware Design Quality from Verilog Codecited by 3
  10. 2025Large Language Models (LLMs) for Electronic Design Automation (EDA)cited by 3
  11. 2025Towards Optimal Circuit Generation: Multi-Agent Collaboration Meets Collective Intelligencecited by 1
  12. 2025Beyond Tokens: Enhancing RTL Quality Estimation via Structural Graph Learningcited by 1
  13. 2025DeepV: A Model-Agnostic Retrieval-Augmented Framework for Verilog Code Generation with a High-Quality Knowledge Basecited by 1
  14. 2025David vs. Goliath: Can Small Models Win Big with Agentic AI in Hardware Design?cited by 1
  15. 2026QiMeng-ChipV-RTL: Exploiting Information Locality for IP-level Verilog Generationcited by 1
  16. 2026UCAgent: An End-to-End Agent for Block-Level Functional Verificationcited by 1
  17. 2024EDA-Aware RTL Generation with Large Language Modelscited by 0
  18. 2026AutoFlows++: Hierarchical Message Flow Mining for System on Chip Designscited by 0
  19. 2026AutoPPA: Automated Circuit PPA Optimization via Contrastive Code-based Rule Library Learningcited by 0
  20. 2026LEGO: An LLM Skill-Based Front-End Design Generation Platformcited by 0
  21. 2026CktFormalizer: Autoformalization of Natural Language into Circuit Representationscited by 0
  22. 2026UniRTL: Unifying Code and Graph for Robust RTL Representation Learningcited by 0
  23. 2026EstRTL: Functional Estimation Guided RTL Code Generationcited by 0
  24. 2026Agentic Electronic Design Automation: A Handoff Perspectivecited by 0
  25. 2026When LLMs Over-Answer: Measuring and Mitigating Quality Issues in LLM-Based Hardware Description Language Question Answeringcited by 0
  26. 2026FinHardBench: Can LLMs Generate Latency-Aware Hardware for Financial Computing?cited by 0