TL;DR
LevelSyn bridges the traditional gap between logic synthesis and physical design by using a novel Level-Asynchronous Graph Neural Network (LA-GNN) to predict high-fidelity gate coordinates early in the chip design flow. By integrating these spatial insights directly into the technology mapping stage via a wirelength-driven cost function, it significantly optimizes power and timing while virtually eliminating post-routing design rule violations.
What Problem Does This Paper Address?
In modern nanometer-scale chip design, there is a painful disconnect between front-end logic synthesis (determining what gates to use) and back-end physical design (determining where to place them). Traditional logic synthesis tools rely on abstract, non-physical "Wire Load Models" to estimate delays. As a result, a netlist that looks optimal during synthesis often suffers severe power, performance, and area (PPA) degradation once it is actually placed and routed, leading to costly, time-consuming design iterations.
While recent machine learning approaches attempt to predict physical metrics early on, they often ignore the hierarchical logic depth and directional signal flow of the circuit netlist. Furthermore, standard Graph Neural Networks (GNNs) suffer from massive memory overhead, causing them to crash when scaling up to industrial-sized designs with millions of gates.
Methods
LevelSyn introduces an end-to-end, physical-aware logic synthesis flow built around three main pillars:
- Level-Asynchronous GNN (LA-GNN): Instead of using standard undirected graph convolutions, LevelSyn propagates features bi-directionally along the circuit's natural signal flow. A forward pass captures logical signal propagation, while a backward pass diffuses spatial constraints from the Primary Outputs (POs) back through the network.
- Level-Aligned Subgraph Partitioning (LASP): To solve the GPU memory bottleneck, LevelSyn slices massive And-Inverter Graphs (AIGs) into manageable, contiguous "logic slices" along the level dimension. To prevent the loss of global spatial awareness during partitioning, it injects a Normalized Level Index (NLI) into each node, acting as a global GPS that tells the GNN exactly how close a node is to the inputs or outputs.
- Physical-Informed Technology Mapping: The predicted spatial coordinates and row-consistent cell orientations are back-annotated into the Berkeley ABC synthesis engine. LevelSyn redefines ABC's mapping cost function to include a Predicted Wirelength (PWL) metric, guiding the engine to select library cells that minimize net stretching and routing congestion.
Datasets
The framework was evaluated using the EPFL Combinational Benchmark Suite, a standard industry dataset containing circuits ranging from hundreds of nodes to over 214,000 nodes (such as the hyp benchmark).
For the model's pre-training phase, the authors constructed a diverse synthetic dataset comprising 500 to 10,000 randomly generated AIGs with varying topological complexities to help the LA-GNN learn generalized geometric and logical features before fine-tuning on specific benchmarks.
Key Insights and Ideas
- Signal Flow is Spatial Guidance: Treating a circuit as an undirected graph throws away crucial physical hints. Because logic depth strongly correlates with physical placement from inputs to outputs, a level-asynchronous message-passing scheme naturally yields much higher-fidelity coordinate predictions.
- Row-Consistency by Design: Instead of predicting cell orientation as an independent machine learning variable, LevelSyn derives it deterministically from the predicted $y$-coordinates and the standard-cell row height specifications of the PDK. This ensures cells automatically align with power rails without needing post-processing fixes.
- Overcoming the Slicing Dilemma: Graph partitioning usually destroys global coordinate context. The introduction of the Normalized Level Index (NLI) elegantly solves this, allowing independent subgraphs to be processed in parallel batches on the GPU while maintaining a globally consistent coordinate system.
Key Results
- PPA Gains: Compared to the state-of-the-art physical-aware mapping framework (PigMap), LevelSyn achieved an average 6.89% power reduction and a 27.48% timing delay improvement.
- Dramatic DRC Reduction: In post-place-and-route validation using DREAMPlace and OpenROAD, LevelSyn reduced Design Rule Check (DRC) violations on the
barbenchmark by 99.59% (dropping violations from 966 down to just 4), proving it creates highly layout-friendly netlists. - Memory Efficiency: On the largest benchmark (
hyp), LevelSyn's partitioning strategy reduced peak GPU memory allocation by 47.4% compared to a standard GCN baseline, demonstrating true scalability for large-scale designs.
Limitations and Future Work
The primary limitation of the current work is that it is strictly tailored to combinational circuits. Real-world industrial designs are highly sequential, packed with registers and flip-flops. The authors acknowledge this and note that future work will focus on extending LevelSyn to sequential circuits by incorporating flip-flop positioning, as well as exploring multi-objective optimization targets like routing congestion and thermal distribution.
Summary updated