Why Is This Simulation So Slow? Performance Diagnosis of Circuit Simulators, with Attribution to Devices, Nodes, Time Steps and Model Branches, Structural Suspects and Measurement-Preserving Relaxations
Circuit simulators sometimes fail by not converging. More often they succeed, slowly: a transient that should have finished overnight is still shrinking its time step at dawn. The literature on operating-point failure, on numerically fragile compact models, and on the performance of early SPICE implementations explains important special cases. It does not give the user of a modern simulator a diagnosis of a run that works but does not finish, nor a way to relax the run without silently changing the measurements the run was started for. This paper proposes a performance-diagnosis framework. An instrumented simulation attributes wall time and iteration counts to device evaluation, stamping, sparse solves, accepted and rejected time steps, and then to device instances, nodes, model branches and time windows. Structural suspects—timestep traps, hidden discontinuities, tight but irrelevant nodes, excessive fill-in, event storms—are ranked with evidence. Suggested relaxations are admitted only when a measurement contract shows that declared threshold crossings, delays or spectra cannot move by more than a stated tolerance.
Authors
- I-Wei Tseng
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-12-02
- DOI
- https://doi.org/10.5281/zenodo.24724740
- Primary Topic
- VLSI and FPGA Design Techniques
- Type
- preprint