paper-with-me

홈 › Papers

Exploring Code Language Models for Automated HLS-based Hardware Generation: Benchmark, Infrastructure and Analysis

2025-02-19 · Jiahao Gai, Hao Mark Chen, Zhican Wang, HongYu Zhou, Wanru Zhao, Nicholas Lane, Hongxiang Fan

Recent advances in code generation have illuminated the potential of employing large language models (LLMs) for general-purpose programming languages such as Python and C++, opening new opportunities for automating software development and enhancing programmer productivity. The potential of LLMs in software programming has sparked significant interest in exploring automated hardware generation and automation. Although preliminary endeavors have been made to adopt LLMs in generating hardware description languages (HDLs), several challenges persist in this direction. First, the volume of available HDL training data is substantially smaller compared to that for software programming languages. Second, the pre-trained LLMs, mainly tailored for software code, tend to produce HDL designs that are more error-prone. Third, the generation of HDL requires a significantly higher number of tokens compared to software programming, leading to inefficiencies in cost and energy consumption. To tackle these challenges, this paper explores leveraging LLMs to generate High-Level Synthesis (HLS)-based hardware design. Although code generation for domain-specific programming languages is not new in the literature, we aim to provide experimental results, insights, benchmarks, and evaluation infrastructure to investigate the suitability of HLS over low-level HDLs for LLM-assisted hardware design generation. To achieve this, we first finetune pre-trained models for HLS-based hardware generation, using a collected dataset with text prompts and corresponding reference HLS designs. An LLM-assisted framework is then proposed to automate end-to-end hardware code generation, which also investigates the impact of chain-of-thought and feedback loops promoting techniques on HLS-design generation. Limited by the timeframe of this research, we plan to evaluate more advanced reasoning models in the future.

📄 PDF Abstract BibTeX arXiv:2502.13921

Code (0)

등록된 구현이 없습니다.

Tasks

Code GenerationHigh-Level Synthesis

Methods 이 논문이 사용한 방법론

ADOPT Please enter a description about the method here

Similar Papers 제목 키워드 기반

Exploring LLM-based Verilog Code Generation with Data-Efficient Fine-Tuning and Testbench Automation

2026-04-16 · Mu-Chi Chen, Po-Hsuan Huang, Yu-Hung Kao, Yen-Fu Liu 외 arxiv

Recent advances in large language models have improved code generation, but their use in hardware description languages is still limited. Moreover, training data and testbenches for these models are often scarce. This pa…

Code Generation

Large Language Model for Verilog Code Generation: Literature Review and the Road Ahead

2025-10-29 · Guang Yang, Wei Zheng, Xiang Chen, Dong Liang 외 arxiv

Code generation has emerged as a critical research area at the intersection of Software Engineering (SE) and Artificial Intelligence (AI), attracting significant attention from both academia and industry. Within this bro…

Code Generation

Proof2Silicon: Prompt Repair for Verified Code and Hardware Generation via Reinforcement Learning

2025-09-07 · Manvi Jha, Jiaxin Wan, Deming Chen arxiv

Large Language Models (LLMs) have demonstrated impressive capabilities in automated code generation but frequently produce code that fails formal verification, an essential requirement for hardware and safety-critical do…

Reinforcement LearningCode Generation

LLM4DV: Using Large Language Models for Hardware Test Stimuli Generation

2023-10-06 · Zixi Zhang, Balint Szekely, Pedro Gimenes, Greg Chadwick 외

Hardware design verification (DV) is a process that checks the functional equivalence of a hardware design against its specifications, improving hardware reliability and robustness. A key task in the DV process is the te…

BenchmarkingMathematical Reasoning

When Forgetting Builds Reliability: LLM Unlearning for Reliable Hardware Code Generation

2025-12-05 · Yiwen Liang, Qiufeng Li, Shikai Wang, Weidong Cao arxiv

Large Language Models (LLMs) have shown strong potential in accelerating digital hardware design through automated code generation. Yet, ensuring their reliability remains a critical challenge, as existing LLMs trained o…

Code Generation