SpiceFuzz: LLM-Based Fuzzing for Spice Circuit Simulator Tools Bug Detection
ACM Transactions on Design Automation of Electronic Systems · 30.11.2026 · 31 (6) · 1-22
DOI: 10.1145/3797154 ↗Kurz gefasst
Fachartikel in der Zeitschrift ACM Transactions on Design Automation of Electronic Systems, online erschienen am 14.06.2026. Verfasst von Zhilei Ren und 5 weiteren Autor:innen. Die Arbeit nennt 50 Literaturangaben. Der Volltext ist frei zugänglich (Open Access, CC BY 4.0). Gefördert von: National Natural Science Foundation of China, Dalian Science and Technology Innovation Fund, Applied Basic Research Project of Liaoning Province.
Abstract (Originalsprache)
Analog circuits play a vital role in electronic design and are key in connecting digital circuits with the physical environment. Ensuring the accuracy and reliability of analog circuit simulation tools (i.e., Simulation Program with Integrated Circuit Emphasis (SPICE)) is crucial; any errors in analog circuit simulation tools may lead to defects in analog circuit design, which may cause major problems and losses in the design and production process. Due to the lack of complete and unified specifications for analog circuit design, existing simulation tool testing works face the challenge of how to generate more effective analog circuits and improve test efficiency. To overcome these challenges, we propose a new fuzz testing method called SpiceFuzz, which is the first to use training-free LLMs to generate effective and diverse SPICE netlists to test SPICE simulators. First, SpiceFuzz combines carefully constructed mutation prompts with a flow with feedback to automatically generate effective analog circuits. Then, SpiceFuzz guides mutation selection by memorizing the historical selections and their results, thereby selecting mutations that are more likely to trigger bugs for the specific analog circuits. Finally, the differential testing component compares the simulation results of generated SPICE netlists to find potential bugs in the simulators. Experimental results show that SpiceFuzz outperforms the state-of-the-art methods, in terms of the number and simulation success rate of SPICE netlists generated. Meanwhile, in one month, SpiceFuzz reports 12 discovered bugs in NgSPICE and LtSPICE, 7 of which are confirmed by the developers.
Förderung
- National Natural Science Foundation of China
- Dalian Science and Technology Innovation Fund
- Applied Basic Research Project of Liaoning Province
- Fundamental Research Funds for the Central Universities
Zitieren
APA
Ren, Z., Liu, H., Guo, S., Guo, Y., Li, X., & Jiang, H. (2026). SpiceFuzz: LLM-Based Fuzzing for Spice Circuit Simulator Tools Bug Detection. ACM Transactions on Design Automation of Electronic Systems, 31(6), 1-22. https://doi.org/10.1145/3797154
Vancouver
Ren Z, Liu H, Guo S, Guo Y, Li X, Jiang H. SpiceFuzz: LLM-Based Fuzzing for Spice Circuit Simulator Tools Bug Detection. ACM Transactions on Design Automation of Electronic Systems. 2026;31(6):1-22. doi:10.1145/3797154
BibTeX
@article{Ren2026,
author = {Ren, Zhilei and Liu, Huijiang and Guo, Shikai and Guo, Yi and Li, Xiaochen and Jiang, He},
title = {SpiceFuzz: LLM-Based Fuzzing for Spice Circuit Simulator Tools Bug Detection},
journal = {ACM Transactions on Design Automation of Electronic Systems},
year = {2026},
volume = {31},
number = {6},
pages = {1--22},
doi = {10.1145/3797154}
}
EUVIMED