arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2309.03208cs.ARcs.AI
收藏

用于芯片设计中高效逻辑综合的电路域泛化框架

A Circuit Domain Generalization Framework for Efficient Logic Synthesis in Chip Design

University of Science and Technology of China(中国科学技术大学);Hefei Comprehensive National Science Center(合肥综合性国家科学中心);Huawei Noah’s Ark Lab(华为诺亚方舟实验室);Tianjin University(天津大学)

Zhihai Wang, Lei Chen, Jie Wang, Xing Li, Yinqi Bai, Xijun Li, Mingxuan Yuan, Jianye Hao, Yongdong Zhang, Feng Wu

AI总结:

本文提出数据驱动逻辑综合算子范式PruneX,通过基于变换不变领域知识学习域不变表示的电路域泛化框架,解决未见电路的OOD泛化问题,减少无效变换,使Resub和Mfs2算子运行时最高加速3.1倍且保持优化性能。

摘要:

逻辑综合(Logic Synthesis, LS)在芯片设计中扮演着至关重要的角色——这是半导体行业的基石。LS中的一项关键任务是将电路——由有向无环图(DAGs)建模——转换为具有等效功能的简化电路。为了解决这一任务,许多LS算子按顺序对以输入DAG上每个节点为根的子图应用变换。然而,我们发现大量的变换是无效的,这使得应用这些算子非常耗时。特别是,我们注意到Resub和Mfs2算子的运行时间通常主导LS优化过程的总体运行时间。为了应对这一挑战,我们提出了一种新颖的数据驱动LS算子范式,即PruneX,以减少无效变换。开发PruneX的主要挑战是学习能够很好地泛化到未见电路的模型,即分布外(OOD)泛化问题。因此,PruneX的主要技术贡献是新颖的电路域泛化框架,该框架基于变换不变的领域知识学习域不变表示。据我们所知,PruneX是解决LS算子中OOD问题的第一种方法。我们将PruneX与上述Resub和Mfs2算子集成。实验表明,PruneX显著提高了它们的效率,同时在工业和超大规模电路上保持可比的优化性能,实现了高达3.1倍的运行时加速。

英文摘要:

Logic Synthesis (LS) plays a vital role in chip design -- a cornerstone of the semiconductor industry. A key task in LS is to transform circuits -- modeled by directed acyclic graphs (DAGs) -- into simplified circuits with equivalent functionalities. To tackle this task, many LS operators apply transformations to subgraphs -- rooted at each node on an input DAG -- sequentially. However, we found that a large number of transformations are ineffective, which makes applying these operators highly time-consuming. In particular, we notice that the runtime of the Resub and Mfs2 operators often dominates the overall runtime of LS optimization processes. To address this challenge, we propose a novel data-driven LS operator paradigm, namely PruneX, to reduce ineffective transformations. The major challenge of developing PruneX is to learn models that well generalize to unseen circuits, i.e., the out-of-distribution (OOD) generalization problem. Thus, the major technical contribution of PruneX is the novel circuit domain generalization framework, which learns domain-invariant representations based on the transformation-invariant domain-knowledge. To the best of our knowledge, PruneX is the first approach to tackle the OOD problem in LS operators. We integrate PruneX with the aforementioned Resub and Mfs2 operators. Experiments demonstrate that PruneX significantly improves their efficiency while keeping comparable optimization performance on industrial and very large-scale circuits, achieving up to $3.1\times$ faster runtime.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑