[drt] DRT-0073 doesn't say which rule rejected the access points

Aperta
#11,766 3 commenti 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@bnmfw ci sta già lavorando.

Dal 22/10/2026.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
32/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
cpp
Ambito
devtools

Direzione di ricerca

The DRT-0073 message is raised in src/drt/src/pa/FlexPA_acc_point.cpp around lines 1521-1528, and the per-candidate checks are in genEndPoint and isPlanarViolationFree in the same file, with checkMetalShape_rectOnly in src/drt/src/gc/FlexGC_main.cpp. Reproduce with the attached tarball and run detailed_route_debug -pa -pa_markers on pin u_blk:p36 to see the rejection reasons per candidate. Done would mean the message names the rejecting constraints, but maintainers must first answer whether no access is the intended outcome.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

drt

Not urgent, possibly only a better message. We hit DRT-0073 on an asap7 block pin and could not tell from the output what DRT wanted changed.

OpenROAD eb14e40b7b9527a642a07548ed1dc39c4c611cb3, tech LEF unchanged from OpenROAD-flow-scripts 9c431405a71909ca9aa5b9000d3d11fa36b2a32a (M3). Reproducer, 6 kB of text, bring your own openroad: drt-rectonly-pin-access.tar.gz

./run.sh /path/to/openroad

A 10 x 10 um BLOCK with M3 pins p18, p36, p90 (18/36/90 nm wide, 360 nm long, on the top edge, centred on M3 tracks), M4 OBS over the whole block. run.sh runs pin_access with the tech LEF as is and with M3's LEF58_RECTONLY removed:

== asap7_tech_1x_201209.lef
[ERROR DRT-0073] No access point for u_blk/p36 (BLK).
== asap7_tech_no_m3_rectonly.lef
#macroValidPlanarAp    = 35
#macroNoAp             = 0

detailed_route_debug -pa -pa_markers -pin u_blk:p36 (debug.tcl in the tarball) gives the reasons, all candidates of p36:

  • planar, AP inside the pin: frcLef58RectOnlyConstraint at the pin/segment junctions
  • planar, AP on the pin's top or bottom edge: frcLef58EolKeepOutConstraint (the pin is 9 nm wider than the segment on each side), plus frcSpacingTablePrlConstraint at the bottom
  • VIA34: Short with the M4 OBS, plus RECTONLY on the M3 enclosure

p36 markers

p36 geometry

For comparison, p90 alone: 86 APs generated, 1 valid, the planar N exit from the top edge on its centre track; the same exit on its two edge tracks gets frcLef58EolKeepOutConstraint, everything else RectOnly or the M4 short. p18: 7 of 7 planar.

The 36 nm pin was a bug in our floorplanning script (pins drawn two wire widths wide); at the wire width the design routes, so nothing is blocked on our side.

Code, for reference: genEndPoint, isPlanarViolationFree, checkMetalShape_rectOnly, DRT-0073. Related: #6991 (DRT-0073 message discussed, fix went to mpl), #6112, #4462.

Two questions:

  1. Is no access for p36 the intended outcome here?
  2. If so, would DRT-0073 naming the constraints that rejected the candidates (e.g. "planar: RectOnly, EolKeepOut; via: Short") be welcome? That alone would have pointed us at the pin width.
Lingua principale
Verilog
Stelle
3.4k
Fork
1.1k
Merge medio
3g 11h
PR unite (30g)
245

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di The-OpenROAD-Project/OpenROAD

Tutte le issue di The-OpenROAD-Project/OpenROAD

Issue simili

Altre issue su DevTools

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.