RTLDetective: Agentic RTL Debugging through Dataflow Analysis and Simulation-Guided Fault Localization
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.
Create a lesson
Related papers
EdgeALM: An Efficient and Unified Edge Accelerator for Large Audio Language Models via Full-Stack Hardware-Software Co-Design and Agent-Driven Recursive Optimization
Shared title terminologycs.ARChenglin Yang, Feifan Xu, Xingyuan Li et al.
Making Protocol Effects Explicit: LLM-to-Packet Simulation for Superpod Interconnect Exploration
Shared title terminologycs.ARYu Zhu, Xinhao Yang, Zhaoshi Li et al.
Synapse: An HBM-Coordinated HBF Near-Memory Computing Architecture for Pipelined Agentic AI Execution
Shared title terminologycs.ARJuhyeong Jin, Hyunjun Cho, Joo-Young Kim
When to Test, Repair, or Regenerate: Decision-Guided Efficient RTL Generation
Shared title terminologycs.ARFeiyang Pan, Shenghe Zheng, Pengfei Xiao et al.
Mind the Delta: Early Pruning of RTL Variants for Agentic Hardware Optimization
Shared title terminologycs.ARSiyang Cai, Cangyuan Li, Haoyu Gao et al.
FoldSim: Scaling Cycle-Exact RTL Simulation with Hierarchical Folding and Static Scheduling
Shared title terminologycs.ARChengxuan Wang, Nikhil Rout, Yang-gon Kim et al.