Parallel AIG Refactoring via Conflict Breaking

Ye Cai,Zonglin Yang,Liwei Ni,Junfeng Liu,Biwei Xie,Xingquan Li
2024-04-21
Abstract:Algorithm parallelization to leverage multi-core platforms for improving the efficiency of Electronic Design Automation~(EDA) tools plays a significant role in enhancing the scalability of Integrated Circuit (IC) designs. Logic optimization is a key process in the EDA design flow to reduce the area and depth of the circuit graph by finding logically equivalent graphs for substitution, which is typically time-consuming. To address these challenges, in this paper, we first analyze two types of conflicts that need to be handled in the parallelization framework of refactoring And-Inverter Graph~(AIG). We then present a fine-grained parallel AIG refactoring method, which strikes a balance between the degree of parallelism and the conflicts encountered during the refactoring operations. Experiment results show that our parallel refactor is 28x averagely faster than the sequential algorithm on large benchmark tests with 64 physical CPU cores, and has comparable optimization quality.
Distributed, Parallel, and Cluster Computing
What problem does this paper attempt to address?
This paper primarily proposes a new parallelization algorithm for the logic optimization process in Electronic Design Automation (EDA) tools. Specifically, the research focuses on improving the refactoring operation of And-Inverter Graphs (AIG) to enhance the efficiency of large-scale Integrated Circuit (IC) design. In traditional sequential refactoring processes, although the area and depth of the circuit graph can be effectively reduced, this approach becomes very time-consuming as the circuit size continues to increase. Therefore, the main objectives of the paper are: 1. **Analyze and resolve conflicts in parallel refactoring**: The authors first identify two types of conflicts—Data Race and Data Dependency—that hinder the effective parallelization of refactoring operations. 2. **Propose and implement a fine-grained parallel refactoring method**: This method significantly increases the speed of refactoring operations while ensuring the quality of refactoring. The method achieves this goal by balancing parallelism with encountered conflicts, and experimental results show that with 64 physical CPU cores, an average speedup of 28 times is achieved while maintaining optimization quality comparable to the sequential algorithm. In summary, this paper aims to provide an efficient and high-quality solution for logic optimization in large-scale circuit design by addressing the key challenges in the parallelization process.