RTLDetective: Agentic RTL Debugging through Dataflow Analysis and Simulation-Guided Fault Localization
Neusha Javidnia, Ruisi Zhang, Farinaz Koushanfar
Key points
From the paper's conclusion- We propose RTLDetective, a multi-agent framework that integrates signal dependency analysis, simulation-guided fault localization, and knowledge-based reasoning for automated RTL debugging and repair.
Abstract
Large language model (LLM) agents have shown promise in RTL debugging, yet accurately localizing functional errors and generating reliable repairs remain challenging. We propose RTLDetective, a multi-agent framework that integrates signal dependency analysis, simulation-guided fault localization, and knowledge-based reasoning for automated RTL debugging and repair. RTLDetective constructs signal dependency graphs from RTL code and extracts failure information from waveform traces. A lightweight localizer agent predicts expected intermediate signal values and evaluates them through targeted simulation interventions, iteratively probing signal dependencies to isolate suspicious logic and identify potential fault locations. A debug agent combines this evidence with static analysis, a curated knowledge base of hardware design principles and RTL bug patterns, and reasoning to generate corrected RTL. To reduce inference overhead, the framework reuses cached context across debugging iterations. We evaluate RTLDetective on the MEIC benchmark, achieving an 86.1% fix rate, 13.9 percentage points above the best baseline, while making fewer LLM calls.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Automated Multi-Line Bug Repair Using Model Checker Aided LLMs: A Case Study on RISC-V ProcessorsarXiv · 2026
- GRODE-RTL: Source-Mapped Dependency Views for LLM-Based RTL RepairarXiv · 2026
- REFORGE: LLM-Assisted RTL Bug Repair with Structured Context and Verification FeedbackarXiv · 2026
- CorrectRTL: Boost RTL Generation Quality Through Automated Self-Correction with Instruction DecompositionarXiv · 2026
- Verified Netlist-to-RTL Recovery with LLM AgentsarXiv · 2026
- RTLReviewBench: LLM Hardware Reviewers Rarely Miss Bugs but Routinely Reject Correct RTLarXiv · 2026