VAPY: Circuit Optimization with Backpropagation
Anthony Yang, Ron Dubinsky, Yu-Neng Wang, Sara Achour
Key points
From the paper's conclusion- We present VAPY, a Verilog-A to JAX transpiler that compiles Verilog-A device models into autodifferentiable JAX code, enabling optimization with Circulax, a JAX-based circuit simulator.
Abstract
Parameter sensitivities of analog circuits enable the use of gradient-based design optimization methods and unlock a range of sensitivity analyses. However, it remains a challenge to compute exact design parameter sensitivities for circuits that use PDKs, which use Verilog-A device models comprised of thousands of lines of code. Finite difference methods, which estimate gradients through simulation, require N + 1 to 2N simulations for each gradient depending on the method, which can become prohibitively expensive when many parameters are optimized. We present VAPY, a Verilog-A to JAX transpiler that compiles Verilog-A device models into autodifferentiable JAX code, enabling optimization with Circulax, a JAX-based circuit simulator. VAPY employs taint analysis to ensure only the necessary control-flow is rewritten with JAX-compatible calls, reducing control-flow overheads. We use VAPY and Circulax to optimize three analog circuits implemented in the SkyWater SKY130 PDK, which is built on the BSIM4 device model. VAPY-generated model gradients closely match finite-difference gradients, achieving comparable design quality in over 40X fewer circuit solves and up to 40% lower loss than Bayesian optimization.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- CktHGVAE: A Symmetric Design/State Heterogeneous Graph Variational Autoencoder for Transistor-level Analog/Mixed-signal Circuit Design and AnalysisarXiv · 2026
- SLIC: Reinforcement Fine-Tuning Small LMs for Multi-Turn Analog Circuit OptimizationarXiv · 2026
- ADSPICE: A Method of Automatic Differentiation for Gradient-Based Lumped Circuit Optimization with Native SPICEarXiv · 2026
- AnalogCoder-Pro: Unifying Analog Circuit Generation and Optimization via Multi-modal LLMsIEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems · 2026
- PVTSizing 2.0: A Fast and Reliable Analog Circuit Sizing Operator for Agentic EDA WorkflowsarXiv · 2026
- Backpropagation Through Compiled CodeACM Transactions on Mathematical Software · 2026