paper-with-me

Papers

hdl2v: A Code Translation Dataset for Enhanced LLM Verilog Generation

2025-06-05 · Charles Hong, Brendan Roberts, Huijae An, Alex Um, Advay Ratan, Yakun Sophia Shao

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 Verilog code pales in comparison to the amount of code available for software languages like Python. In this work, we present hdl2v ("HDL-to-Verilog"), a dataset which seeks to increase the amount of available human-written Verilog data by translating or compiling three other hardware description languages - VHDL, Chisel, and PyMTL3 - to Verilog. Furthermore, we demonstrate the value of hdl2v in enhancing LLM Verilog generation by improving performance of a 32 billion-parameter open-weight model by up to 23% (pass@10) in VerilogEvalV2, without utilizing any data augmentation or knowledge distillation from larger models. We also show hdl2v's ability to boost the performance of a data augmentation-based fine-tuning approach by 63%. Finally, we characterize and analyze our dataset to better understand which characteristics of HDL-to-Verilog datasets can be expanded upon in future work for even better performance.

📄 PDF Abstract BibTeX arXiv:2506.04544

Code (0)

등록된 구현이 없습니다.

Tasks

Code GenerationCode TranslationData AugmentationKnowledge Distillation

Methods 이 논문이 사용한 방법론

Knowledge Distillation A very simple way to improve the performance of almost any machine learning algorithm is to train many different models on the same data and then to average their predictions.…

Similar Papers 제목 키워드 기반

OpenRTLSet: A Fully Open-Source Dataset for Large Language Model-based Verilog Module Design

2026-06-09 · Jinghua Wang, Lily Jiaxin Wan, Sanjana Pingali, Scott Smith 외 arxiv

OpenRTLSet introduces the largest fully open-source dataset for hardware design, offering over 131,000 diverse Verilog code samples to the research community and industry. Our dataset uniquely combines Verilog code from …

Code Generation

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

CodeV-R1: Reasoning-Enhanced Verilog Generation

2025-05-30 · Yaoyu Zhu, Di Huang, Hanqi Lyu, Xiaoyun Zhang 외

Large language models (LLMs) trained via reinforcement learning with verifiable reward (RLVR) have achieved breakthroughs on tasks with explicit, automatable verification, such as software programming and mathematical pr…

Revisiting VerilogEval: A Year of Improvements in Large-Language Models for Hardware Code Generation

2024-08-20 · Nathaniel Pinckney, Christopher Batten, Mingjie Liu, Haoxing Ren 외

The application of large-language models (LLMs) to digital hardware code generation is an emerging field, with most LLMs primarily trained on natural language and software code. Hardware code like Verilog constitutes a s…

Code CompletionCode GenerationIn-Context LearningPrompt Engineering

ReasoningV: Efficient Verilog Code Generation with Adaptive Hybrid Reasoning Model

2025-04-20 · Haiyan Qin, Zhiwei Xie, Jingjing Li, Liangchen Li 외

Large Language Models (LLMs) have advanced Verilog code generation significantly, yet face challenges in data quality, reasoning capabilities, and computational efficiency. This paper presents ReasoningV, a novel model e…

Code GenerationComputational Efficiencyparameter-efficient fine-tuning