article · 2024
OriGen: Enhancing RTL Code Generation with Code-to-Code Augmentation and Self-Reflection
Fan Cui, Chenyang Yin, Kexing Zhou, Youwei Xiao, Guangyu Sun, Qiang Xu, Qipeng Guo, Yun Liang, Xingcheng Zhang, Demin Song, Dahua Lin
Cited by 21Abstract and details only
Abstract
Recent studies have demonstrated the significant potential of Large Language Models (LLMs) in generating Register Transfer Level (RTL) code, with notable advancements showcased by commercial models such as GPT-4 and Claude3-Opus. However, these proprietary LLMs often raise concerns regarding privacy and security. While open-source LLMs offer solutions to these concerns, they typically underperform commercial models in RTL code generation tasks, primarily due to the scarcity of high-quality open-source RTL datasets. To address this challenge, we introduce OriGen, a fully open-source framework that incorporates self-reflection capabilities and a novel dataset augmentation methodology for generating high-quality, large-scale RTL code. Our approach employs a code-to-code augmentation technique to enhance the quality of open-source RTL code datasets. Furthermore, OriGen can rectify syntactic errors through a self-reflection process that leverages compiler feedback.
Cite this paper
Cui, F., Yin, C., Zhou, K., Xiao, Y., Sun, G., Xu, Q., Guo, Q., Liang, Y., Zhang, X., Song, D., & Lin, D. (2024). OriGen: Enhancing RTL Code Generation with Code-to-Code Augmentation and Self-Reflection. https://doi.org/10.1145/3676536.3676830
Cui, Fan, et al. “OriGen: Enhancing RTL Code Generation with Code-to-Code Augmentation and Self-Reflection.” 2024, pp. 1–9, https://doi.org/10.1145/3676536.3676830.
Cui, Fan, Chenyang Yin, Kexing Zhou, Youwei Xiao, Guangyu Sun, Qiang Xu, Qipeng Guo, et al. 2024. “OriGen: Enhancing RTL Code Generation with Code-to-Code Augmentation and Self-Reflection.” https://doi.org/10.1145/3676536.3676830.
Cui, F. et al. (2024) ‘OriGen: Enhancing RTL Code Generation with Code-to-Code Augmentation and Self-Reflection’. Available at: https://doi.org/10.1145/3676536.3676830.
@article{cui2024origen,
title = {{OriGen: Enhancing RTL Code Generation with Code-to-Code Augmentation and Self-Reflection}},
author = {Cui, Fan and Yin, Chenyang and Zhou, Kexing and Xiao, Youwei and Sun, Guangyu and Xu, Qiang and Guo, Qipeng and Liang, Yun and Zhang, Xingcheng and Song, Demin and Lin, Dahua},
pages = {1--9},
year = {2024},
doi = {10.1145/3676536.3676830}
}Made from the index record. Check names, capitalisation and page numbers against the paper. Need another style? AI for Research has over 10,000.
Related papers
Dynamic Code Generation with the E-Code Language
Greg Eisenhauer · 2005
Cited by 11
A Template-Based Code Generator for the OpenModelica Compiler
Rickard Lindberg · KTH Publication Database DiVA (KTH Royal Institute of Technology) · 2010
Cited by 0Open access
Generating optimized code from SCR specifications
Tom Rothamel, Yanhong A. Liu, Constance Heitmeyer et al. · ACM SIGPLAN/SIGBED Conference on Languages, Compilers, and Tools for Embedded Systems (LCTES) · 2006
Cited by 17
Assessing the Overhead of Automatic Code Generation for a Component Approach Compared with Hand-Written Code: Experiments with the MyCCM Code Generation Tool Chain
Thomas Vergnaud, David Pardessus, Pascal Guerin · Euromicro Conference on Software Engineering and Advanced Applications (SEAA) · 2014
Cited by 0
Phase-Coupled Mapping of Data Flow Graphs to Irregular Data Paths
Steven Bashford, Rainer Leupers · Design Automation for Embedded Systems · 1999
Cited by 30
Generating optimized code from SCR specifications
Tom Rothamel, Yanhong A. Liu, Constance Heitmeyer et al. · ACM SIGPLAN Notices · 2006
Cited by 0
Verification of code generators via higher-order model checking
Takashi Suwa, Takeshi Tsukada, Naoki Kobayashi et al. · ACM SIGPLAN Workshop on Partial Evaluation and Program Manipulation (PEPM) · 2016
Cited by 0
Code Generating Implementation in Model Driven Architecture
Quanyuan Wu · Jisuanji yingyong yanjiu · 2006
Cited by 0