Post-layout simulation driven analog circuit sizing

Xiaohan Gao, Haoyi Zhang, Siyuan Ye, Mingjie Liu, David Z. Pan, Linxiao Shen, Runsheng Wang, Yibo Lin, Ru Huang

TL;DR

This paper introduces a "post-simulation-driven" framework for analog circuit sizing that directly optimizes for real-world performance by integrating automated layout generation into the design loop. By using a novel coupled Bayesian optimization approach, the system leverages fast (but inaccurate) pre-layout simulations to guide expensive (but accurate) post-layout simulations, achieving over 20% better performance than traditional methods in comparable timeframes.

What Problem Does This Paper Address?

In analog IC design, "sizing" involves choosing the dimensions (width, length, number of fingers) of transistors to meet performance specs like gain or bandwidth. Traditionally, this is done at the schematic level (pre-layout). However, as transistors shrink to nanometer scales (e.g., 40nm and below), the "parasitic" effects of the physical wires and layout geometry—which aren't visible in a schematic—drastically alter the circuit's behavior.

The challenge is a classic "speed vs. accuracy" trade-off:

  1. Pre-layout simulation is fast but often overly optimistic and inaccurate.
  2. Post-layout simulation is accurate but requires a finished layout, which is historically slow and manual to create.

Because of this, designers often find that a "perfect" schematic fails once it's actually laid out, leading to time-consuming manual redesign cycles.

Methods

The authors propose a framework that breaks the barrier between schematic and layout phases using three key components:

  1. Automated Layout Generation: They integrate tools like MAGICAL to generate physical layouts automatically and "no-human-in-the-loop," allowing layout to become a repeatable step in an optimization algorithm.
  2. Coupled Bayesian Optimization (BO): This is the core innovation. Instead of one model, they use two:
  3. Bayes-α: Explores the wide parameter space using fast pre-layout simulations.
  4. Bayes-β: Focuses on "exploiting" high-performance areas using expensive post-layout simulations.
  5. Transfer Learning via Re-parameterization: The two models are "coupled" because they share information. The authors assume that while pre-layout and post-layout results differ in absolute values, they are strongly correlated. They use a re-parameterization trick to transfer the "belief" from the pre-layout model to the post-layout model, significantly reducing the number of expensive post-layout runs needed.
  6. Asynchronous Execution: To save time, the framework runs pre-layout and post-layout simulations in parallel. While the system is waiting for a slow post-layout result, it continues to refine its understanding of the design space using quick pre-layout checks.

Datasets

The framework was evaluated on two real-world analog circuit benchmarks designed using TSMC 40nm technology:

  • Inverter-based Operational Transconductance Amplifier (OTA): A 20-parameter design problem.
  • Low-Dropout Regulator (LDO): A 12-parameter design problem.

The results were compared against manual designs, a "Plain" Bayesian optimization (pre-layout only), and Bayesian Model Fusion (BMF), a previous state-of-the-art technique.

Key Insights and Ideas

  • The Trend is Your Friend: Even if pre-layout simulation is "wrong" about the exact gain of a circuit, it usually correctly identifies which direction to move the transistor sizes to improve that gain. The coupled BO exploits this correlation.
  • Mixed-Variable Handling: Circuit sizing involves both continuous (width) and discrete (number of fingers) variables. The authors adapted the Tree-structured Parzen Estimator (TPE) to handle this mixed-variable space more effectively than standard Gaussian Processes.
  • Efficiency through Asynchrony: By treating the optimization as an asynchronous process, the "overhead" of layout generation is partially hidden, making the total wall-clock time competitive with much less accurate schematic-only methods.

Key Results

  • Performance Boost: For the OTA circuit, the framework achieved a 45% improvement in gain and a 76% improvement in unity gain bandwidth compared to manual design.
  • Superiority over Baselines: It outperformed the "Plain" (pre-layout only) optimization by 20% in gain and 27% in bandwidth.
  • Efficiency: The "Ours-5" method (running post-layout sim every 5 iterations) achieved the best Figure of Merit (FOM) for the OTA in about 104 minutes, which is significantly faster than the BMF-32 baseline (198 minutes) while yielding better results.
  • Constraint Satisfaction: The framework successfully navigated complex constraints (like maintaining a specific Phase Margin range) while maximizing the primary performance objectives.

Limitations and Future Work

  • Tool Dependency: The framework's success relies heavily on the quality of the automated layout tool (MAGICAL). If the layout tool produces sub-optimal routing, the "post-layout" optimization will be limited by those flaws.
  • Computational Cost: While more efficient than manual iteration, the process still requires hundreds of simulations and layout generations. Scaling this to much larger, multi-block systems (like a full ADC or PLL) would require even more advanced hierarchical optimization.
  • Future Directions: The authors suggest further enhancing the efficiency of the framework, potentially by incorporating more sophisticated surrogate models or multi-fidelity optimization techniques.

Summary updated

BibTeX
@article{gao2024post,
  author = {Xiaohan Gao and Haoyi Zhang and Siyuan Ye and Mingjie Liu and David Z. Pan and Linxiao Shen and Runsheng Wang and Yibo Lin and Ru Huang},
  title = {{Post-layout simulation driven analog circuit sizing}},
  journal = {Science China Information Sciences},
  year = {2024},
  url = {https://openreview.net/forum?id=8SpSvF0Rer},
}
Figure