Verified Netlist-to-RTL Recovery with LLM Agents
Ahmet Efe, Recep Bugra Uludag, Ulya R. Karpuzcu
Key points
From the paper's conclusion- We propose LOCA (LOgic Cone Attack), an LLM-based attack that divides an anonymized netlist into logic cones, has parallel agents rewrite them, and assembles compact RTL.
Abstract
Gate-level netlists circulate among IP integrators and foundries and can be extracted from chips. Reverse engineering them into readable register-transfer-level (RTL) code would help an adversary understand and modify a design, but remains difficult because word-level operations are scattered across many gates. Large language models (LLMs) can write and optimize RTL, but often fail to recover it from a whole netlist. We propose LOCA (LOgic Cone Attack), an LLM-based attack that divides an anonymized netlist into logic cones, has parallel agents rewrite them, and assembles compact RTL. Each cone contains the complete next-state logic of a group of related registers, giving an agent a small, meaningful task. Of five partitioning methods tested, only grouped cones lead to recovery. LOCA keeps only RTL proven equivalent to the netlist and measures its quality by compression. Function-preserving obfuscation does not stop LOCA on the tested designs, whereas unknown keys or hidden cell functions prevent it from proving recovery of the original design. Across 21 model-design pairs, LOCA recovers 17, versus 6 with whole-netlist prompting. Per-run recovery across models rises from 5% to 74%, at a median cost below one dollar with a low-cost model.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- RTLREX: LLM-Guided Framework for Exact High-Level RTL RecoveryarXiv · 2026
- RTLDetective: Agentic RTL Debugging through Dataflow Analysis and Simulation-Guided Fault LocalizationarXiv · 2026
- HWRE-Bench: Can LLM Agents Understand Hardware They Did Not Design?arXiv · 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
- Learn the Interface, Not the Implementation: Output Representation Dominates Training Regime in LLM-Based RTL GenerationarXiv · 2026