Verified Netlist-to-RTL Recovery with LLM Agents
Ahmet Efe, Recep Bugra Uludag, Ulya R. Karpuzcu
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.
Create a lesson
Related papers
Tether: Verified Stateful Policy Engine for System-Level Monitoring of Agents
Shared title terminology · Meghana Aparna Sistla, Alaia Solko-Breslin, Somesh Jha et al.
Mjolnir: Finding and Reproducing Vulnerabilities in Root-of-Trust Firmware and RTL with Project-Grounded Agents
Shared title terminology · Collin MacDonald, Carl Lundin, Stephen Herwig et al.
Subverting Tool Arguments: Defense-Evading Metadata Poisoning in LLM Agents
Shared title terminology · Shih-Chieh Dai, Xinyu Sun, Haichuan Zhang et al.
Privacy Protection in Self-Evolving Personal Agents: Persistent Memory and Cross-Carrier Transfer
Shared title terminology · Zibin Lin, Taotao Wang, Shengli Zhang
Replication of Agentic Security Events: Audit and Investigation (ROGUE-AI)
Shared title terminology · Mengxiao Wang, Mahbub Alam, Kalyan Nakka et al.
Backtracking Agent Applications Security Incidents
Shared title terminology · Yicheng Cai, Taegyu Kim, Peng Liu