Manuscript Offprint

arXiv:2608.12197

NetlistBench: Evaluating LLM Reliability in SPICE Netlist Recognition and Manipulation

Jiarui Ma, Jianghan Wang, Yuheng Ma, Ziyi Zhuang, Xiaoguang Liu

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original. This text is shared under the same licence.

Abstract.

Large Language Models (LLMs) are increasingly used in circuit design workflows, yet their reliability on simulator-facing SPICE netlist recognition and manipulation remains poorly understood and is rarely separated from high-level design reasoning. Although netlists are textual, they encode structured circuit objects through topology and parameters. We present NetlistBench, a structure-verified benchmark for SPICE netlist recognition and manipulation. NetlistBench contains 2,342 cases across 24 task families, covering parameter and connectivity recognition and edits, hierarchical operations, equivalence judgment, and long-horizon compound editing. Model outputs are evaluated by a deterministic structure-aware oracle. Across six non-thinking LLMs, performance varies substantially with operation-level structural complexity. Simple local edits reach 96%96\%–100%100\% accuracy, while device addition drops to 41%41\%–83%83\% and equivalence judgment to 49%49\%–90%90\%. Enabling reasoning substantially improves weaker models but does not eliminate structure-preservation failures, with performance still degrading sharply as the edit horizon increases. NetlistBench identifies netlist reliability as a distinct bottleneck for trustworthy LLM-based circuit design automation.

Keywords:

Large language models, circuit representation, SPICE netlists, netlist recognition and manipulation

References (27)

  • a large-scale SPICE netlist dataset for analog circuits by harnessing AI. External Links: 2411.14299 Cited by: §1
  • syntactical bug and trojan pattern identification in A/MS circuits using LLM-enhanced detection
  • Evaluating Large Language Models Trained on Code
  • IEEE Transactions on Pattern Analysis and Machine Intelligence 26 (10), pp. 1367–1372
  • a system for automating analog layout
  • a unified AI agent for netlist generation
  • a generative engine for automatic discovery of analog circuit topologies
  • IEEE Transactions on Circuits and Systems 22 (6), pp. 504–509
  • transforming circuit schematics into netlists with deep learning
  • a circuit language model for analog topology design from natural language prompt
  • can language models resolve real-world GitHub issues?
  • graph convolutional network based automated netlist annotation for analog circuits
  • IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems 42 (9), pp. 2801–2814
  • analog circuit design via training-free code generation
  • domain-adapted LLMs for chip design
  • an LLM for netlist-to-schematic conversion
  • Technical report Technical Report UCB/ERL M382, Electronics Research Laboratory, University of California, Berkeley
  • External Links: 2507.10639 Cited by: §1, §1, §1, §2.2
  • ACM Transactions on Design Automation of Electronic Systems 30 (3)
  • Note: SoftwareAccessed 2026-07-28 External Links: Link Cited by: §3.3
  • a comprehensive benchmark for evaluating MLLM capabilities in AMS circuits
  • measuring long horizon execution in LLMs
  • a benchmark for circuit interpretation and reasoning capabilities of LLMs
  • navigating SPICE code generation and simulation with AI guidance
  • an LLM-aided framework of topology-based understanding and sizing for AMS circuits
  • Journal of the American Statistical Association 22 (158), pp. 209–212
  • datasets, benchmark and hybrid framework to convert analog circuit diagrams into netlists