DAG-aware Synthesis Orchestration
Yingjie Li, Mingju Liu, Mark Ren, Alan Mishchenko, Cunxi Yu
TL;DR
This work introduces DAG-aware Synthesis Orchestration to overcome the limitations of stand-alone DAG optimizations in AIG-based logic synthesis. By orchestrating rewrite, resubstitution, and refactoring within a single AIG traversal, the approach exposes more optimization opportunities and improves node reductions on large benchmark sets, including ABC and OpenROAD flows. Two orchestration strategies are proposed: Local-greedy, which selects the best local gain at each node, and Priority-ordered, which follows predefined operation priorities; both are shown to outperform stand-alone methods in single-traversal and iterative contexts, with notable gains in 104 benchmark designs. End-to-end evaluations in OpenROAD reveal improved logic minimization and area during technology mapping for most designs, though some misalignments with downstream technology mapping and routing emphasize the need for technology-aware orchestration in future work.
Abstract
The key methodologies of modern logic synthesis techniques are conducted on multi-level technology-independent representations such as And-Inverter-Graphs (AIGs) of the digital logic via directed-acyclic-graph (DAGs) traversal based structural rewriting, resubstitution, and refactoring. Existing state-of-the-art DAG-aware logic synthesis algorithms are all designed to perform stand-alone optimizations during a single DAG traversal. However, we empirically identify and demonstrate that these algorithms are limited in quality-of-results and runtime complexity due to this design concept. This work proposes Synthesis Orchestration, which orchestrates stand-alone operations within the single traversal of AIG. Thus, orchestration method explores more optimization opportunities and results in better performance. Our experimental results are comprehensively conducted on all 104 designs collected from ISCAS'85/89/99, VTR, and EPFL benchmark suites, with consistent logic minimization improvements over rewriting, resubstitution, refactoring, leading to an average of 4% more node reduction with improved runtime efficiency for the single optimization. Moreover, we evaluate orchestration as a plug-in algorithm in resyn and resyn3 flows in ABC, which demonstrates consistent logic minimization improvements (3.8% and 10.9% more node reduction on average). The runtime analysis demonstrates the orchestration outperforms stand-alone algorithms in both AIG minimization and runtime efficiency. Finally, we integrate the orchestration into OpenROAD for end-to-end performance evaluation. Our results demonstrate the advantages of the orchestration optimization technique, even after technology mapping and post-routing in the design flow have been conducted.
