ppl: place_pin -force_to_die_boundary rescans PDN on every call (~165 ms/pin, regression from 26Q2-911)
メンテナーはふだん 1 日以内に返信
@eder-matheus がすでに取り組んでいます。
2026年10月7日 から。
評価
この issue はまだ評価されていません。
説明
Describe the bug
place_pin ... -force_to_die_boundary became about 7,000x slower between 26Q2-911-g731f8ff5a4 and 26Q4 (c4d317e4f). Master at 92a20a6b6 behaves the same.
Placing 3,172 pins with explicit place_pin -pin_name ... -layer met3|met4 -location {x y} -pin_size {0.3 0.8} -force_to_die_boundary calls, on a sky130hd block with a met4/met5 power grid already built:
| 26Q2-911 | 26Q4 | |
|---|---|---|
3,172 place_pin -force_to_die_boundary calls |
0.07 s | 524 s (about 165 ms per call) |
one place_pins call on the same block |
1.3 s | 0.7 s |
The cause appears to be in IOPlacer::placePin (src/ppl/src/IOPlacer.cpp). With force_to_die_bound, every call rebuilds the blocking state from scratch:
- it loops over every block BTerm and calls
addFixedPinKeepoutsfor supply pins; - it calls
getBlockedRegionsFromDbObstructions(); - it calls
getBlockedRegionsFromPDN().
The PDN scan is proportional to the size of the power grid, so the total cost is pins x PDN shapes. This came in with the place_pin changes of 2026-09-02 (91e71cc65, 051c4efcc, d6be48b2a).
Expected Behavior
Blocked regions are computed once and reused across consecutive place_pin calls, or invalidated only when the PDN or obstructions change. A batch form would also work.
Environment
OpenROAD 26Q4 (c4d317e4f, CMake Release) and master 92a20a6b6, on Rocky Linux 8.10.
To Reproduce
Any design with a full PDN and a few thousand IO pins placed one by one with -force_to_die_boundary should show it. The design here is proprietary.
Workaround: drop -force_to_die_boundary, and pass the pin centre half a pin depth inside the die. The resulting pins are identical to the forced placement.
- 主要言語
- Verilog
- スター
- 3.4k
- フォーク
- 1.1k
- 平均マージ
- 3日 11時間
- マージ済み PR(30日)
- 245
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
The-OpenROAD-Project/OpenROAD のほかの issue
-
odb LEF58_MINIMUMCUT: per-cut-class form never sets isPerCutClass, so drt silently drops the rule対応中かも @LucasYuki が 26 日前に担当しました。 オープンbug drt odb
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
The-OpenROAD-Project/OpenROAD#12176 · コメント 2 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
drt: LEF58_SPACING ENDOFLINE MINLENGTH l TWOSIDES is checked one-sided (io passes the TWOEDGES flag as TWOSIDES)対応中かも @osamahammad21 が 26 日前に担当しました。 オープンbug drt
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
The-OpenROAD-Project/OpenROAD#12173 · コメント 1 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
cleanup-opportunity: BUILD files never refer to mockturtle in third-partty/再び着手できるかも このイシューのプルリクエストはマージされずにクローズされました。 オープンbazel enhancement
難易度 1/5 1時間未満 初心者へのやさしさ 76/100
The-OpenROAD-Project/OpenROAD#12160 · コメント 4 件 ·
メンテナーはふだん 1 日以内に返信
-
odb: Bazel build fails on linux/aarch64 — char fc compared to EOF in def/lef lexers対応中かも @shivarammysore が 33 日前に担当しました。 オープンbazel bug odb
難易度 1/5 1時間未満 初心者へのやさしさ 80/100
The-OpenROAD-Project/OpenROAD#12095 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
syn: acd_resynth -apply segfaults on a database resynthesized in an earlier process再び着手できるかも @povik が 32 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンbug syn
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
The-OpenROAD-Project/OpenROAD#12046 · コメント 2 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信