GraPhSyM: Graph Physical Synthesis Model

Ahmed Agiza, Rajarshi Roy, Teodor-Dumitru Ene, Saad Godil, Sherief Reda, Bryan Catanzaro · DOI

Abstract

GraPhSyM is a graph-based machine learning model designed to predict the final area and delay of digital circuit netlists in milliseconds. By bypassing slow physical synthesis tools, it provides high-accuracy feedback (98%+) nearly instantaneously. This enables hardware designers and AI-driven optimizers to explore vast design spaces that were previously computationally prohibitive.

Introduction

In Electronic Design Automation (EDA), early-stage decisions in logic synthesis significantly impact the final Quality of Results (QoR), such as area and delay. However, a "visibility gap" exists where early-stage metrics poorly predict final performance. Accurate evaluation typically requires running physical synthesis, which is computationally expensive and slow—taking upwards of 17 seconds for even simple designs like a 32-bit adder. This latency prevents "in-the-loop" optimization for modern AI techniques. GraPhSyM addresses this by acting as a fast, accurate "oracle" to bridge the gap.

GraPhSyM replaces slow physical synthesis in the optimization loop, enabling rapid design space exploration.

Methods

GraPhSyM utilizes a Graph Attention Network (GATv2) to model circuit netlists as Directed Acyclic Graphs (DAGs). Each pin is a node, and connections are edges, annotated with features like cell type and pre-synthesis delay. A key innovation is Delta Labeling: instead of predicting absolute final metrics, the model predicts the change (delta) introduced by physical synthesis. This accounts for structural changes like buffer insertion that are not present in the initial netlist.

The model architecture consists of a node encoder, six GATv2 layers with multi-head attention, and a linear predictor for per-node metrics. Additionally, a compositional graph sweeping algorithm estimates the area-delay trade-off curve by systematically swapping nodes from the predicted optimized graph into the original structure.

Results and Insights

GraPhSyM achieves a 77x speedup over traditional physical synthesis, performing inference in 0.22 seconds. On unseen adder designs, it maintains high accuracy with a Mean Absolute Error (MAE) of 1.69% for delay and 3.86% for area.

Crucially, the model demonstrates zero-shot generalization. When tested on diverse designs like AES Sboxes and MD5 cores, it reduced delay estimation error from 34.8% (using standard pre-synthesis metrics) to 9.7%. This suggests that GraPhSyM learns universal physical optimization patterns that transcend specific logic types. Furthermore, the sweeping algorithm successfully recreated the Pareto front, allowing designers to navigate the trade-off between speed and size effectively.

Conclusion and Future Work

While currently tied to specific libraries like NanGate45, GraPhSyM demonstrates that machine learning can effectively bridge the EDA visibility gap. By providing granular, node-level predictions, it captures local structural bottlenecks that global metrics miss. Future work includes expanding the model to include power consumption metrics and integrating GraPhSyM directly into Reinforcement Learning frameworks to accelerate the discovery of optimal hardware designs.

Summary updated

BibTeX
@inproceedings{agiza2023graphsym,
  author = {Ahmed Agiza and Rajarshi Roy and Teodor-Dumitru Ene and Saad Godil and Sherief Reda and Bryan Catanzaro},
  title = {{GraPhSyM: Graph Physical Synthesis Model}},
  booktitle = {ICCAD},
  year = {2023},
  url = {https://openreview.net/forum?id=nLsuJBo3QX},
}
Figure