MeltRTL: Multi-Expert LLMs with Inference-time Intervention for RTL Code Generation
Nowfel Mashnoor, Mohammad Akyash, Hadi Kamali, Kimia Azar

TL;DR
MeltRTL enhances large language models for RTL code generation by integrating multi-expert attention and inference-time intervention, significantly improving accuracy and correctness without retraining.
Contribution
Introduces MeltRTL, a novel framework combining multi-expert attention and inference-time intervention to improve RTL code generation accuracy at inference time.
Findings
Achieves 96% synthesizability and 60% correctness on VerilogEval.
Operates with only 27% additional computational overhead.
No retraining required, enabling immediate deployment.
Abstract
The automated generation of hardware register-transfer level (RTL) code with large language models (LLMs) shows promise, yet current solutions struggle to produce syntactically and functionally correct code for complex digital designs. This paper introduces MeltRTL, a novel framework that integrates multi-expert attention with inference-time intervention (ITI) to significantly improve LLM-based RTL code generation accuracy without retraining the base model. MeltRTL introduces three key innovations: (1) A multi-expert attention architecture that dynamically routes design specifications to specialized expert networks, enabling targeted reasoning across various hardware categories; (2) An inference-time intervention mechanism that employs non-linear probes to detect and correct hardware-specific inaccuracies during generation; and (3) An efficient intervention framework that selectively…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsEmbedded Systems Design Techniques · Natural Language Processing Techniques · Parallel Computing and Optimization Techniques
