用於 PPO 式全域繞線的深度強化學習架構
A Deep Reinforcement Learning Structure for PPO-Based Global Routing
摘要
全域繞線在超大型積體電路(VLSI)設計中始終是一項高度具挑戰性且至關重要的
階段,其目標是在受限的設計條件下(例如有限的繞線資源與壅塞情況)為大量電路
組件建立互連。傳統繞線演算法通常依賴啟發式方法或靜態規則式技術,但這些方法
在面對多樣化的版圖或動態壅塞情境時,其泛化能力可能有限。
在本研究中,我們提出一個以 Proximal Policy Optimization(PPO)為基礎的學習驅
動式架構,利用深度強化學習方法於虛擬的 GCell-based 環境中解決全域繞線問題。我
們的 PPO 智能體透過與環境的持續互動取得繞線策略,使其能處理複雜的 net 配置並
動態適應壅塞情況。
為支援可擴展的訓練與評估流程,我們開發了一套全域繞線問題生成器,能依需求
合成多樣化的測試案例,包括可自訂的網格尺寸、net 數量、pin 分佈與容量限制等。實
驗結果顯示,基於 PPO 的智能體能有效降低 overflow 與線長,同時保有對挑戰性壅塞
模式的適應能力。
這些結果顯示,在現代電子設計自動化(EDA)流程中,使用強化學習來驅動具壅
塞感知的繞線決策極具潛力,並相較於傳統方法提供更大的彈性與優化能力。
階段,其目標是在受限的設計條件下(例如有限的繞線資源與壅塞情況)為大量電路
組件建立互連。傳統繞線演算法通常依賴啟發式方法或靜態規則式技術,但這些方法
在面對多樣化的版圖或動態壅塞情境時,其泛化能力可能有限。
在本研究中,我們提出一個以 Proximal Policy Optimization(PPO)為基礎的學習驅
動式架構,利用深度強化學習方法於虛擬的 GCell-based 環境中解決全域繞線問題。我
們的 PPO 智能體透過與環境的持續互動取得繞線策略,使其能處理複雜的 net 配置並
動態適應壅塞情況。
為支援可擴展的訓練與評估流程,我們開發了一套全域繞線問題生成器,能依需求
合成多樣化的測試案例,包括可自訂的網格尺寸、net 數量、pin 分佈與容量限制等。實
驗結果顯示,基於 PPO 的智能體能有效降低 overflow 與線長,同時保有對挑戰性壅塞
模式的適應能力。
這些結果顯示,在現代電子設計自動化(EDA)流程中,使用強化學習來驅動具壅
塞感知的繞線決策極具潛力,並相較於傳統方法提供更大的彈性與優化能力。
Global routing continues to be a highly challenging and essential phase in VLSI development, where the goal is to interconnect numerous circuit components under tight design constraints, such as limited routing resources and congestion. Traditional routing algorithms often rely on heuristics or static rule-based methods, which may not generalize well across diverse layouts or dynamic congestion scenarios. With this work, we present a learning-driven framework that employs Proximal Policy Optimization (PPO), a deep reinforcement learning method,
to address the global routing problem in a virtual GCell-based environment. Our PPO agent acquires routing strategies through continuous interaction with the environment, allowing it to handle complex network configurations and adapt to congestion dynamically.
To support scalable training and evaluation, we develop a global routing problem set generator that can synthesize a variety of test cases with customizable grid sizes, net counts, pin distributions and capacity constraints. Through experiments, we demonstrate that the PPO-based agent effectively minimizes overflow and wirelength while maintaining adaptability to challenging congestion patterns. The results show promising potential for reinforcement learning to drive congestion-aware routing decisions in modern EDA workflows, offering greater
flexibility and optimization capacity compared to traditional methods.
to address the global routing problem in a virtual GCell-based environment. Our PPO agent acquires routing strategies through continuous interaction with the environment, allowing it to handle complex network configurations and adapt to congestion dynamically.
To support scalable training and evaluation, we develop a global routing problem set generator that can synthesize a variety of test cases with customizable grid sizes, net counts, pin distributions and capacity constraints. Through experiments, we demonstrate that the PPO-based agent effectively minimizes overflow and wirelength while maintaining adaptability to challenging congestion patterns. The results show promising potential for reinforcement learning to drive congestion-aware routing decisions in modern EDA workflows, offering greater
flexibility and optimization capacity compared to traditional methods.