Introduction: The Data Scarcity Bottleneck in AI for EDA
The integration of Artificial Intelligence into Electronic Design Automation (EDA) has shown significant potential for predicting chip power, performance, and area (PPA). However, a primary obstacle remains: the scarcity of high-quality training data. Most advanced circuit designs are proprietary, leaving researchers with a limited set of public benchmarks.
Generating synthetic circuits is non-trivial. Circuits are represented as Directed Cyclic Graphs (DCGs) with strict functional constraints, such as fan-in limits and the absence of combinational loops. Traditional graph generators often fail to respect these constraints, producing "junk" data that is discarded by synthesis tools.
The SynCircuit Framework
SynCircuit is the first framework designed to automatically generate functional synthetic Register Transfer Level (RTL) circuits. It employs a three-phase pipeline to ensure structural realism and functional validity.
Phase 1: DCG Generation via Diffusion
The framework utilizes a diffusion-based generative model. In the forward pass, noise is added to a circuit's adjacency matrix. The reverse pass employs a Message Passing Neural Network (MPNN) to reconstruct the circuit. A key innovation is the asymmetric edge decoder, which uses learnable relation embeddings to capture the inherent directionality of signal flow in circuits, distinguishing between inputs and outputs of logic gates.
Phase 2: Validity Refinement
To ensure the generated graphs are "legal" circuits, a post-processing algorithm enforces critical constraints. It utilizes probability scores from the diffusion model to greedily assign parent nodes while strictly adhering to fan-in limits and preventing combinational loops (cycles without registers).
Phase 3: MCTS-based Optimization
Synthetic circuits often contain redundant logic that commercial compilers would optimize away. SynCircuit addresses this through Monte Carlo Tree Search (MCTS). By performing atomic edge swaps, the search maximizes the "Post-Synthesis Size" (PCS), ensuring the synthetic data remains complex and useful after synthesis. This addresses the "redundancy gap," where naive synthetic designs often lose over 90% of their registers during synthesis.
Experimental Setup and Results
The authors evaluated SynCircuit using a curated dataset of 22 open-source designs from ITC’99, OpenCores, and Chipyard. SynCircuit demonstrated superior performance in capturing the "scale-free" nature of digital circuits, where degree distributions follow a power law, outperforming baselines like GraphRNN across structural metrics.
The impact on downstream ML tasks is significant. Augmenting a small dataset of five real designs with SynCircuit-generated data led to:
- Register Slack MAPE: Reduced from 34% to 25%.
- Area MAPE: Reduced from 66% to 36%.
Furthermore, SynCircuit produces circuits with realistic timing characteristics. The distribution of "Worst Negative Slack" (WNS) in synthetic designs closely mirrors real-world benchmarks, providing challenging and useful training examples for timing prediction models.
Conclusion and Future Directions
SynCircuit represents a major advancement in synthetic data generation for EDA. By identifying and addressing the structural and functional requirements of RTL designs, the framework provides a viable path toward "Big Data" in circuit design. Future work will focus on scaling MCTS optimization for larger designs and exploring the generation of circuits with more complex, high-level functional logic.
Summary updated