Introduction
Designing modern microchips is an immensely complex engineering challenge, often involving billions of transistors. To manage this complexity, engineers rely on Electronic Design Automation (EDA) tools. A pivotal early stage in this process is logic synthesis, where high-level hardware descriptions (such as Verilog) are transformed into a netlist of logic gates.
The objective of synthesis is to optimize "Quality of Result" (QoR) metrics, specifically area, power, and delay. However, logic synthesis is a combinatorial optimization problem classified as $\Sigma_p^2$-Hard. Current industry tools utilize "recipes"—sequences of optimization heuristics like logic refactoring or rewriting. Since no single recipe is optimal for all designs, engineers often spend weeks manually tuning these sequences. While Machine Learning (ML) offers a potential solution, the field has historically lacked standardized, large-scale datasets, relying instead on small or proprietary benchmarks that hinder reproducible research.
Methodology and Framework
To bridge this gap, the authors introduced OpenABC-D, an end-to-end data generation pipeline built on leading open-source EDA tools including OpenROAD, Yosys, and ABC. The framework automates the transition from RTL design to ML-ready graph representations.
The pipeline consists of four primary stages:
- Synthesis: 29 diverse open-source hardware designs (including RISC-V processors, communication protocols like SPI/I2C, and cryptographic cores like AES) were processed through 1,500 distinct synthesis recipes each.
- Graph Representation: Circuits are represented as And-Inverter-Graphs (AIGs)—directed acyclic graphs where nodes are 2-input AND gates and edges denote connections, with a bit indicating signal inversion.
- Feature Extraction: These AIGs are converted into formats compatible with Graph Neural Networks (GNNs) using the PyTorch Geometric library.
- Benchmarking: The authors trained Graph Convolutional Networks (GCNs) for QoR prediction, enabling the estimation of final node counts and delay without executing the computationally expensive synthesis process.
Dataset Characteristics and Diversity
The primary contribution, the OpenABC-D dataset, comprises 870,000 data samples generated from over 200,000 compute hours. Each sample is labeled with comprehensive metrics, including primary inputs/outputs, node and edge counts, netlist depth, and post-mapping area/delay.
As shown in the distribution heatmaps, the dataset captures a wide variance in synthesis outcomes across different IPs. This diversity confirms that "best" recipes are highly sensitive to the specific hardware architecture; a sequence optimizing a processor may perform poorly on a cryptographic accelerator.
Key Insights and Results
- Structural Fingerprints: A significant finding was that GCNs could identify a circuit's function (e.g., distinguishing an AES core from a memory controller) based solely on graph structure with 98.05% accuracy. This suggests that netlists possess deep structural patterns exploitable by ML.
- QoR Prediction: GCN models successfully predicted the quality of results for unseen recipes with low Mean Squared Error (MSE). While generalizing to entirely unseen hardware designs remains a challenge, more complex GCN architectures (Net3) demonstrated superior generalization capabilities.
- Graph Embeddings: By utilizing GCNs, researchers can create lower-dimensional embeddings of complex circuits, which serve as powerful features for downstream tasks like predicting physical mapping behavior.
Limitations and Future Directions
While OpenABC-D is a landmark contribution, the authors note that the individual designs are currently "medium-scale" due to the scarcity of massive, industrial-scale open-source hardware. Future work involves utilizing the dataset for self-supervised learning—pre-training models to predict basic properties like logic depth to improve performance on complex tasks like power prediction. Additionally, the dataset paves the way for Reinforcement Learning (RL)-guided synthesis, where agents learn to construct optimal recipes step-by-step.
Summary updated