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

オープン
#11,766 コメント 3 件 リアクション 0 件 担当者 1 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@bnmfw がすでに取り組んでいます。

2026年10月22日 から。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
32/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
cpp
領域
devtools

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.
主要言語
Verilog
スター
3.4k
フォーク
1.1k
平均マージ
3日 11時間
マージ済み PR(30日)
245

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

The-OpenROAD-Project/OpenROAD のほかの issue

The-OpenROAD-Project/OpenROAD の issue をすべて見る

似ている issue

DevTools の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。