用强化学习统一处理3D芯片布局设计规则,减少人工调整
RulePlanner: All-in-One Reinforcement Learner for Unifying Design Rules in 3D Floorplanning
- 设计新矩阵表示法建模复杂硬件规则
- 通过动作空间约束和奖励机制避免违规
- 可扩展新规则,适合未来芯片设计需求
芯片布局决定集成电路中每个模块的坐标与形状。随着技术节点演进,尤其在多层堆叠的3D布局场景下,遵守复杂的硬件设计规则变得日益困难。现有方法仅能处理特定有限的设计规则,其他规则的违反需专家手动精细修正,导致后期处理耗时耗力。本文提出一种基于深度强化学习的一体化方法,设计了此前未被解决的真实芯片设计规则的新表示方式。将多种硬件设计规则统一到一个框架中,包含三个关键组件:1)新颖的矩阵表示以建模设计规则;2)对动作空间施加约束,过滤引发规则违反的无效动作;3)以约束满足程度作为量化奖励信号。在公开基准上的实验验证了该方法的有效性与可行性。此外,在未见电路数据上展现出良好泛化能力。本框架具备可扩展性,可灵活适配新增设计规则,为未来芯片设计挑战提供应对方案。代码将开源于:https://github.com/Thinklab-SJTU/EDA-AI
原文摘要 · Abstract (English)
Floorplanning determines the coordinate and shape of each module in Integrated Circuits. With the scaling of technology nodes, in floorplanning stage especially 3D scenarios with multiple stacked layers, it has become increasingly challenging to adhere to complex hardware design rules. Current methods are only capable of handling specific and limited design rules, while violations of other rules require manual and meticulous adjustment. This leads to labor-intensive and time-consuming post-processing for expert engineers. In this paper, we propose an all-in-one deep reinforcement learning-based approach to tackle these challenges, and design novel representations for real-world IC design rules that have not been addressed by previous approaches. Specifically, the processing of various hardware design rules is unified into a single framework with three key components: 1) novel matrix representations to model the design rules, 2) constraints on the action space to filter out invalid actions that cause rule violations, and 3) quantitative analysis of constraint satisfaction as reward signals. Experiments on public benchmarks demonstrate the effectiveness and validity of our approach. Furthermore, transferability is well demonstrated on unseen circuits. Our framework is extensible to accommodate new design rules, thus providing flexibility to address emerging challenges in future chip design. Code will be available at: https://github.com/Thinklab-SJTU/EDA-AI
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。