PulseExploreJournal ClubDebatesTrendingResearchersJournals
Instagram
HomeExploreJournal ClubTrending
Synapse
⌘+K
Synapse
February 9, 2024ACM Transactions on Design Automation of Electronic Systems212 citationsOpen Access

VeriGen: A Large Language Model for Verilog Code Generation

View Full Paper
STShailja ThakurBABaleegh AhmadHPHammond Pearce

Key Points

Key points are not available for this paper at this time.

Abstract

In this study, we explore the capability of Large Language Models (LLMs) to automate hardware design by automatically completing partial Verilog code, a common language for designing and modeling digital systems. We fine-tune pre-existing LLMs on Verilog datasets compiled from GitHub and Verilog textbooks. We evaluate the functional correctness of the generated Verilog code using a specially designed test suite, featuring a custom problem set and testing benches. Here, our fine-tuned open-source CodeGen-16B model outperforms the commercial state-of-the-art GPT-3.5-turbo model with a 1.1% overall increase. Upon testing with a more diverse and complex problem set, we find that the fine-tuned model shows competitive performance against state-of-the-art gpt-3.5-turbo, excelling in certain scenarios. Notably, it demonstrates a 41% improvement in generating syntactically correct Verilog code across various problem categories compared to its pre-trained counterpart, highlighting the potential of smaller, in-house LLMs in hardware design automation. We release our training/evaluation scripts and LLM checkpoints as open-source contributions.

Ask AI
Helpful
Bookmark
Share
View Full Paper

Cite This Study

Thakur et al. (2024) studied this question.

synapsesocial.com/papers/68e79c4cb6db64358770b77dhttps://doi.org/10.1145/3643681
Ask AI
Helpful
Bookmark
Share
View Full Paper

Also Consider

Synapse has enriched 5 closely related papers on similar clinical questions. Consider them for comparative context:

  1. 1DeepSpeed2020 · 805 citations
  2. 2Benchmarking Large Language Models for Automated Verilog RTL Code Generation2023 · 161 citations
  3. 3Proceedings of the 1987 International Conference on Neural Information Processing Systems1987 · 612 citations
  4. 4ZeRO-infinity2021 · 249 citations
  5. 5GLAsT: Learning Formal Grammars to Translate Natural Language Specifications into Hardware Assertions2016 · 38 citations