ppl: place_pin -force_to_die_boundary rescans PDN on every call (~165 ms/pin, regression from 26Q2-911)
I maintainer di solito rispondono entro 1 giorno
@eder-matheus ci sta già lavorando.
Dal 7/10/2026.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
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.
- Lingua principale
- Verilog
- Stelle
- 3.4k
- Fork
- 1.1k
- Merge medio
- 3g 11h
- PR unite (30g)
- 245
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di The-OpenROAD-Project/OpenROAD
-
odb LEF58_MINIMUMCUT: per-cut-class form never sets isPerCutClass, so drt silently drops the ruleForse già presa @LucasYuki l’ha presa 26 giorni fa. Apertabug drt odb
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
The-OpenROAD-Project/OpenROAD#12176 · 2 commenti · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
drt: LEF58_SPACING ENDOFLINE MINLENGTH l TWOSIDES is checked one-sided (io passes the TWOEDGES flag as TWOSIDES)Forse già presa @osamahammad21 l’ha presa 26 giorni fa. Apertabug drt
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
The-OpenROAD-Project/OpenROAD#12173 · 1 commento · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
cleanup-opportunity: BUILD files never refer to mockturtle in third-partty/Forse di nuovo libera Una pull request per questa issue è stata chiusa senza essere unita. Apertabazel enhancement
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 76/100
The-OpenROAD-Project/OpenROAD#12160 · 4 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
odb: Bazel build fails on linux/aarch64 — char fc compared to EOF in def/lef lexersForse già presa @shivarammysore l’ha presa 32 giorni fa. Apertabazel bug odb
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 80/100
The-OpenROAD-Project/OpenROAD#12095 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
syn: acd_resynth -apply segfaults on a database resynthesized in an earlier processForse di nuovo libera @povik l’ha presa 31 giorni fa e non c’è nessuna pull request aperta. Apertabug syn
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
The-OpenROAD-Project/OpenROAD#12046 · 2 commenti · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno