RTLuminate: Illuminating RTL Code Generation with Assertion Feedback
Abstract
Open-source small language models (SLMs) enable local deployment, customization, and cost-effective RTL generation while preserving the confidentiality of sensitive hardware designs. Despite these advantages, open-source SLMs generally lag behind frontier proprietary large language models (LLMs) in generating functionally correct RTL. To narrow this performance gap, we introduce RTLuminate, a reference-assisted framework that leverages assertion-based verification feedback to iteratively refine SLM-generated RTL without fine-tuning. RTLuminate employs an open-source assertion mining tool to extract behavioral properties from trusted reference simulation traces. However, the mined assertions and their failure reports are often difficult to interpret and provide limited actionable guidance for RTL refinement. To address this challenge, RTLuminate uses the same open-source SLM employed for RTL generation to interpret assertion failures, summarize the underlying behavioral discrepancies, and then generate actionable feedback for subsequent refinement iterations. We evaluate RTLuminate on two established RTL generation benchmarks, VerilogEval-Human v2 and RTLLM v2.1 using open-source SLMs ranging from 1.3B to 14B parameters. With the proposed iterative refinement approach, RTLuminate improves problem pass rates by up 34.6 percentage points on VerilogEval-Human v2 and by up to 22.0 percentage points on RTLLM v2.1 across various open-source SLMs. These results demonstrate the potential of assertion-guided feedback to improve the functional correctness of RTL generated by open-source SLMs.
Create a lesson
Related papers
CPU-Eval: Evaluating Large Language Models for CPU Hardware Code Generation
Shared title terminologycs.ARYuisei Iwata, Yutaka Masuda, Tohru Ishihara
MicroAssert: Microarchitecture-Aware Structured Assertion Generation for CPU Verification
Shared title terminologycs.ARHongqin Lyu, Yonghao Wang, Zhiteng Chao et al.
Large Language Models for RTL Design: A Review of Generation, Verification, Evaluation, and Implementation
Shared title terminologycs.ARHepziba Susan, Shivaranjani G. R., Malik Imran et al.
SDCoder: LLM-Based Timing Constraint Generation via RL and Type-Routed Reference Injection
Shared title terminologycs.ARQingyun Zou, Bin Gao, Chunlin Tian et al.
ChipArc: Auditable Multi-Agent RTL Generation, Repair and Optimization with Verifier-Gated Memory
Shared title terminologycs.ARKaili Wang, Ben Stoffelen, Alejandra Lopez de Aberasturi Gomez et al.
NoP Generator: Package-Aware Co-Design of Chiplet Systems
Shared title terminologycs.ARYishan Zhang, Lei Shen