Rerun Only What the Change Can Reach: Safe Regression Test Selection for Analog and Mixed-Signal Design, with Electrical Cones of Influence, Adjoint-Sensitivity Change Bounds, Margin Certificates and Scheduled Full Regressions
Analog and mixed-signal regressions are expensive: hundreds of testbenches across corners and Monte Carlo samples, each a transistor-level simulation. After a change—a resized device, an edited subcircuit, a new model card—teams either rerun everything or rerun a hand-picked subset and hope. Software engineering solved the analogous problem with safe regression test selection, which reruns exactly those tests whose behaviour the change can affect, and digital hardware has begun to apply learned selection to RTL. Neither carries over directly to analog circuits, where a change can affect any node that shares a supply, a bias line or a coupling path, and where ``affected'' is a matter of degree. This paper proposes safe regression test selection for AMS design in two stages. A structural stage computes the electrical cone of influence of a change on the netlist graph, including supply, bias, substrate and parasitic coupling, and safely excludes testbenches whose measurements lie outside it. A quantitative stage uses adjoint sensitivities stored from the previous run to bound the change of each measurement caused by a parametric edit, and skips a test only when the bound, with a remainder allowance, is smaller than the test's stored margin, issuing a margin certificate that records the argument. Topological changes, large edits and expired certificates force a rerun, and scheduled full regressions bound the accumulation of skipped work. The result is a regression flow that saves simulation where it is provably safe and states why.
Authors
- I-Wei Tseng
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-12-01
- DOI
- https://doi.org/10.5281/zenodo.24722288
- Citations
- 1
- Primary Topic
- VLSI and Analog Circuit Testing
- Type
- preprint