Table of Contents
Fetching ...

AnaFlow: Agentic LLM-based Workflow for Reasoning-Driven Explainable and Sample-Efficient Analog Circuit Sizing

Mohsen Ahmadzadeh, Kaichang Chen, Georges Gielen

TL;DR

This paper tackles the bottleneck of analog circuit sizing by introducing AnaFlow, a multi-agent LLM-based workflow that grounds design decisions in explicit reasoning and explanations to achieve sample-efficient automation. The approach distributes tasks across specialized agents that interpret topology, set design goals, perform DC-OP sizing, and, when necessary, invoke external optimizers, all within a four-phase process. Key contributions include a concrete agentic architecture with context-engineered prompts, tool integration, and explainable outputs, demonstrated on two circuits with substantial reductions in full simulations and transparent justification for decisions. The work advances analog EDA by showing how AI agents can act as transparent design assistants, potentially shortening design cycles and increasing designer trust through traceable reasoning.

Abstract

Analog/mixed-signal circuits are key for interfacing electronics with the physical world. Their design, however, remains a largely handcrafted process, resulting in long and error-prone design cycles. While the recent rise of AI-based reinforcement learning and generative AI has created new techniques to automate this task, the need for many time-consuming simulations is a critical bottleneck hindering the overall efficiency. Furthermore, the lack of explainability of the resulting design solutions hampers widespread adoption of the tools. To address these issues, a novel agentic AI framework for sample-efficient and explainable analog circuit sizing is presented. It employs a multi-agent workflow where specialized Large Language Model (LLM)-based agents collaborate to interpret the circuit topology, to understand the design goals, and to iteratively refine the circuit's design parameters towards the target goals with human-interpretable reasoning. The adaptive simulation strategy creates an intelligent control that yields a high sample efficiency. The AnaFlow framework is demonstrated for two circuits of varying complexity and is able to complete the sizing task fully automatically, differently from pure Bayesian optimization and reinforcement learning approaches. The system learns from its optimization history to avoid past mistakes and to accelerate convergence. The inherent explainability makes this a powerful tool for analog design space exploration and a new paradigm in analog EDA, where AI agents serve as transparent design assistants.

AnaFlow: Agentic LLM-based Workflow for Reasoning-Driven Explainable and Sample-Efficient Analog Circuit Sizing

TL;DR

This paper tackles the bottleneck of analog circuit sizing by introducing AnaFlow, a multi-agent LLM-based workflow that grounds design decisions in explicit reasoning and explanations to achieve sample-efficient automation. The approach distributes tasks across specialized agents that interpret topology, set design goals, perform DC-OP sizing, and, when necessary, invoke external optimizers, all within a four-phase process. Key contributions include a concrete agentic architecture with context-engineered prompts, tool integration, and explainable outputs, demonstrated on two circuits with substantial reductions in full simulations and transparent justification for decisions. The work advances analog EDA by showing how AI agents can act as transparent design assistants, potentially shortening design cycles and increasing designer trust through traceable reasoning.

Abstract

Analog/mixed-signal circuits are key for interfacing electronics with the physical world. Their design, however, remains a largely handcrafted process, resulting in long and error-prone design cycles. While the recent rise of AI-based reinforcement learning and generative AI has created new techniques to automate this task, the need for many time-consuming simulations is a critical bottleneck hindering the overall efficiency. Furthermore, the lack of explainability of the resulting design solutions hampers widespread adoption of the tools. To address these issues, a novel agentic AI framework for sample-efficient and explainable analog circuit sizing is presented. It employs a multi-agent workflow where specialized Large Language Model (LLM)-based agents collaborate to interpret the circuit topology, to understand the design goals, and to iteratively refine the circuit's design parameters towards the target goals with human-interpretable reasoning. The adaptive simulation strategy creates an intelligent control that yields a high sample efficiency. The AnaFlow framework is demonstrated for two circuits of varying complexity and is able to complete the sizing task fully automatically, differently from pure Bayesian optimization and reinforcement learning approaches. The system learns from its optimization history to avoid past mistakes and to accelerate convergence. The inherent explainability makes this a powerful tool for analog design space exploration and a new paradigm in analog EDA, where AI agents serve as transparent design assistants.

Paper Structure

This paper contains 12 sections, 6 figures, 1 table.

Figures (6)

  • Figure 1: Historic trend of different approaches used for the automation of analog circuit sizing.
  • Figure 2: Overview of the four phases in AnaFlow.
  • Figure 3: Detailed diagram of all agents in the AnaFlow workflow with the four phases of Figure \ref{['fig:FlowGraph']}.
  • Figure 4: Schematic of the fully differential folded-cascode opamp (its CMFB is not shown), and user input for sizing the circuit fully automatically in AnaFlow.
  • Figure 5: Runtime comparison of AnaFlow and AnaCraft AnaCraftMBTD3 in reaching optimized design solutions.
  • ...and 1 more figures