English

SPICEPilot: Navigating SPICE Code Generation and Simulation with AI Guidance

Hardware Architecture 2024-10-29 v1 Artificial Intelligence

Abstract

Large Language Models (LLMs) have shown great potential in automating code generation; however, their ability to generate accurate circuit-level SPICE code remains limited due to a lack of hardware-specific knowledge. In this paper, we analyze and identify the typical limitations of existing LLMs in SPICE code generation. To address these limitations, we present SPICEPilot a novel Python-based dataset generated using PySpice, along with its accompanying framework. This marks a significant step forward in automating SPICE code generation across various circuit configurations. Our framework automates the creation of SPICE simulation scripts, introduces standardized benchmarking metrics to evaluate LLM's ability for circuit generation, and outlines a roadmap for integrating LLMs into the hardware design process. SPICEPilot is open-sourced under the permissive MIT license at https://github.com/ACADLab/SPICEPilot.git.

Keywords

Cite

@article{arxiv.2410.20553,
  title  = {SPICEPilot: Navigating SPICE Code Generation and Simulation with AI Guidance},
  author = {Deepak Vungarala and Sakila Alam and Arnob Ghosh and Shaahin Angizi},
  journal= {arXiv preprint arXiv:2410.20553},
  year   = {2024}
}

Comments

6 pages, 2 figures, 5 tables

R2 v1 2026-06-28T19:37:19.196Z