Computational Graph Representation of Equations System Constructors in Hierarchical Circuit Simulation
<|reference_start|>Computational Graph Representation of Equations System Constructors in Hierarchical Circuit Simulation: Equations system constructors of hierarchical circuits play a central role in device modeling, nonlinear equations solving, and circuit design automation. However, existing constructors present limitations in applications to different extents. For example, the costs of developing and reusing device models -- especially coarse-grained equivalent models of circuit modules -- remain high while parameter sensitivity analysis is complex and inefficient. Inspired by differentiable programming and leveraging the ecosystem benefits of open-source software, we propose an equations system constructor using the computational graph representation, along with its JSON format netlist, to address these limitations. This representation allows for runtime dependencies between signals and subcircuit/device parameters. The proposed method streamlines the model development process and facilitates end-to-end computation of gradients of equations remainders with respect to parameters. This paper discusses in detail the overarching concept of hierarchical subcircuit/device decomposition and nested invocation by drawing parallels to functions in programming languages, and introduces rules for parameters passing and gradient propagation across hierarchical circuit modules. The presented numerical examples, including (1) an uncoupled CMOS model representation using "equivalent circuit decomposition+dynamic parameters" and (2) operational amplifier (OpAmp) auto device sizing, have demonstrated that the proposed method supports circuit simulation and design and particularly subcircuit modeling with improved efficiency, simplicity, and decoupling compared to existing techniques.<|reference_end|>
@article{long2024computational,
    title={Computational Graph Representation of Equations System Constructors in
  Hierarchical Circuit Simulation},
    author={Zichao Long, Lin Li, Lei Han, Xianglong Meng, Chongjun Ding, Ruiyan
  Li, Wu Jiang, Fuchen Ding, Jiaqing Yue, Zhichao Li, Yisheng Hu, Ding Li, Heng
  Liao},
    journal={arXiv preprint arXiv:2407.04206},
    year={2024},
    archivePrefix={arXiv},
    eprint={2407.04206},
    primaryClass={math.NA cs.CE cs.NA}
}