paper-with-me

홈 › Papers

ReChisel: Effective Automatic Chisel Code Generation by LLM with Reflection

2025-05-26 · Juxin Niu, Xiangfeng Liu, Dan Niu, Xi Wang, Zhe Jiang, Nan Guan

Coding with hardware description languages (HDLs) such as Verilog is a time-intensive and laborious task. With the rapid advancement of large language models (LLMs), there is increasing interest in applying LLMs to assist with HDL coding. Recent efforts have demonstrated the potential of LLMs in translating natural language to traditional HDL Verilog. Chisel, a next-generation HDL based on Scala, introduces higher-level abstractions, facilitating more concise, maintainable, and scalable hardware designs. However, the potential of using LLMs for Chisel code generation remains largely unexplored. This work proposes ReChisel, an LLM-based agentic system designed to enhance the effectiveness of Chisel code generation. ReChisel incorporates a reflection mechanism to iteratively refine the quality of generated code using feedback from compilation and simulation processes, and introduces an escape mechanism to break free from non-progress loops. Experiments demonstrate that ReChisel significantly improves the success rate of Chisel code generation, achieving performance comparable to state-of-the-art LLM-based agentic systems for Verilog code generation.

📄 PDF Abstract BibTeX arXiv:2505.19734

Code (1)

niujuxin/rechisel 공식 구현

Tasks

Code Generation

Similar Papers 제목 키워드 기반

ChiseLLM: Unleashing the Power of Reasoning LLMs for Chisel Agile Hardware Development

2025-04-27 · Bowei Wang, Jiaran Gao, Yelai Feng, Renzhi Chen 외

The growing demand for Domain-Specific Architecture (DSA) has driven the development of Agile Hardware Development Methodology (AHDM). Hardware Construction Language (HCL) like Chisel offers high-level abstraction featur…

Code GenerationDomain Adaptation

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

2024-07-15 · Yang Zhao, Di Huang, Chongxiao Li, Pengwei Jin 외

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…

TAG

Carving out the low surface brightness universe with NoiseChisel

2019-09-24 · Mohammad Akhlaghi

NoiseChisel is a program to detect very low signal-to-noise ratio (S/N) features with minimal assumptions on their morphology. It was introduced in 2015 and released within a collection of data analysis programs and libr…

Astronomy

Chiseling: Powerful and Valid Subgroup Selection via Interactive Machine Learning

2025-09-23 · Nathan Cheng, Asher Spector, Lucas Janson arxiv

In regression and causal inference, controlled subgroup selection aims to identify, with inferential guarantees, a subgroup (defined as a subset of the covariate space) on which the average response or treatment effect i…

Causal Inference

hdl2v: A Code Translation Dataset for Enhanced LLM Verilog Generation

2025-06-05 · Charles Hong, Brendan Roberts, Huijae An, Alex Um 외

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 Ver…

Code GenerationCode TranslationData AugmentationKnowledge Distillation