ResearchTrend.AI
  • Papers
  • Communities
  • Events
  • Blog
  • Pricing
Papers
Communities
Social Events
Terms and Conditions
Pricing
Parameter LabParameter LabTwitterGitHubLinkedInBlueskyYoutube

© 2025 ResearchTrend.AI, All rights reserved.

  1. Home
  2. Papers
  3. 2505.19734
29
0

ReChisel: Effective Automatic Chisel Code Generation by LLM with Reflection

26 May 2025
Juxin Niu
Xiangfeng Liu
Dan Niu
Xi Wang
Zhe Jiang
Nan Guan
ArXiv (abs)PDFHTML
Main:6 Pages
8 Figures
Bibliography:1 Pages
4 Tables
Abstract

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.

View on arXiv
@article{niu2025_2505.19734,
  title={ ReChisel: Effective Automatic Chisel Code Generation by LLM with Reflection },
  author={ Juxin Niu and Xiangfeng Liu and Dan Niu and Xi Wang and Zhe Jiang and Nan Guan },
  journal={arXiv preprint arXiv:2505.19734},
  year={ 2025 }
}
Comments on this paper