Abstract
Modern integrated circuit (IC) design faces significant challenges due to the extreme complexity of predicting Power, Performance, and Area (PPA) metrics. Traditional Electronic Design Automation (EDA) tools are computationally expensive and slow. While AI-assisted methods have been proposed, they often lack semantic depth or task generality. This paper presents CircuitFusion, the first multimodal and implementation-aware circuit encoder. By fusing hardware description language (HDL) code, structural graphs, and functional summaries into a shared latent space, CircuitFusion achieves state-of-the-art performance across multiple design quality tasks, including power and timing prediction.
Introduction
The design of modern digital chips is a high-stakes optimization problem. Engineers rely on EDA tools to estimate critical metrics, but the feedback loop can take hours or even days. Existing AI models for circuit analysis typically suffer from "tunnel vision," focusing solely on structural graphs while ignoring the rich semantic information in HDL code or the high-level functional intent. Furthermore, these models are often specialized for single tasks, limiting their utility in a general design flow.
CircuitFusion addresses these limitations by treating circuit representation as a multimodal learning problem. By integrating diverse information sources, it creates a robust foundation model for agile chip design.
Methodology
CircuitFusion encodes circuits using three distinct modalities to capture both structural and semantic information:
- Hardware Code (M1): Raw Verilog/HDL snippets are processed using a frozen LLM-based text encoder (NV-Embed-V1) to capture syntactic patterns.
- Functionality Summary (M2): Natural language descriptions of the circuit's intent (e.g., "division logic") are generated via large language models (LLMs) like GPT-4o, providing high-level context.
- Structural Graph (M3): A 7-layer Graph Transformer encodes the "skeleton" of logic gates and their interconnections.
Key Innovations
- Sub-circuit Generation: To manage the scale of modern designs, circuits are partitioned into "sub-circuits" based on register boundaries. This approach aligns the model with the fundamental unit of synchronous hardware behavior.
- Implementation-Aware Alignment: During pre-training, an auxiliary netlist encoder is used to align early-stage Register Transfer Level (RTL) representations with their eventual physical implementations. This allows the model to "foresee" physical bottlenecks during the early design stages.
- Retrieval-Augmented Inference (RAI): CircuitFusion utilizes a "VectorStore" of known designs to perform retrieval-augmented inference, allowing for zero-shot calibration on new, unknown circuits.
Experimental Results
The model was evaluated on a dataset of 57,328 sub-circuits derived from 41 open-source RTL designs, including ITC’99, OpenCores, VexRiscv, and Chipyard. Labels for Power, Area, and Timing (WNS, TNS, Register Slack) were generated using industrial-standard EDA tools like Synopsys Design Compiler and PrimeTime.
CircuitFusion consistently outperformed state-of-the-art (SOTA) supervised models across all metrics. As shown in Figure 1, the multimodal approach significantly reduces prediction error compared to single-modality baselines and existing specialized tools.
Specifically, CircuitFusion achieved a 13% improvement in Mean Absolute Percentage Error (MAPE) for power prediction and a 10% improvement for Total Negative Slack (TNS). The results demonstrate that the inclusion of functional summaries ("the why") and structural graphs ("the how") provides a synergistic effect that single-modality models cannot replicate.
Conclusion and Future Work
CircuitFusion represents a significant step toward a "foundation model" for hardware design. By leveraging multimodal learning and implementation-aware pre-training, it provides fast, accurate PPA estimates that can drastically accelerate the design cycle.
Future work will focus on expanding the dataset through synthetic generation and addressing the complexities of multi-clock domain designs. Additionally, the authors envision extending this encoding framework to generative tasks, potentially enabling automated RTL optimization and synthesis.
Summary updated