[From ABKGroup] check_drc reports false end-of-line markers for split wires outside worker regions
メンテナーはふだん 1 日以内に返信
@bnmfw がすでに取り組んでいます。
2026年11月30日 から。
評価
この issue はまだ評価されていません。
説明
Describe the bug
Hi,
I am Yucheng Wang from ABKGroup/UCSD.
drt::check_drc splits the design into 7x7-GCell tiles and checks each tile independently. Each worker loads every wire segment whose bounding box touches its extBox (tile + 2000 DBU) in full, but does not load a continuing segment that starts outside extBox.
Because the continuation is missing, the worker sees a fake line end where the loaded segment stops and flags false end-of-line or spacing violations (such as Lef58EolKeepOut). Those markers are kept even when they lie outside the tile's drcBox (tile + 500 DBU). Checking the exact same layout as a single tile reports 0 markers.
In routed designs, this can occur where a wire splits at a via whose bounding box falls just outside extBox.
Related to #11697 (fixed in PR #11698 for via figures crossing extBox); wire segments are still loaded whole and markers outside drcBox are still kept.
Expected Behavior
drt::check_drc should report 0 markers on continuous wires regardless of how segments are split or where GCELLGRID tile boundaries fall, matching a single-tile check.
Environment
OpenROAD: reproduced on commit 5ad6131
Tech LEF: ASAP7 1x tech LEF (asap7_tech_1x_201209.lef from OpenROAD-flow-scripts)
OS: Linux
To Reproduce
- Set the ASAP7 tech LEF to 4000 DBU/um so M5's
LEF58_EOLKEEPOUTside extension (0.02425 um= 97 DBU) does not round down to the 96 DBU track gap:
sed 's/DATABASE MICRONS 1000 ;/DATABASE MICRONS 4000 ;/' asap7_tech_1x_201209.lef > tech_4000dbu.lef
- Save
b_edge.def. It defines one net with two parallel M5 wires on adjacent tracks (x = 13488and13680, width 96, gap 96), each split into two segments meeting aty = 36000(true wire ends are staggered). WithGCELLGRIDstep4012, the first tile row hasrouteBoxtopy = 28084,drcBoxtopy = 28584, andextBoxtopy = 30084:
VERSION 5.8 ;
DIVIDERCHAR "/" ;
BUSBITCHARS "[]" ;
DESIGN B_edge ;
UNITS DISTANCE MICRONS 4000 ;
DIEAREA ( 0 0 ) ( 80240 80240 ) ;
TRACKS X 36 DO 557 STEP 144 LAYER M1 ;
TRACKS Y 36 DO 557 STEP 144 LAYER M1 ;
TRACKS X 36 DO 557 STEP 144 LAYER M2 ;
TRACKS Y 36 DO 557 STEP 144 LAYER M2 ;
TRACKS X 36 DO 557 STEP 144 LAYER M3 ;
TRACKS Y 36 DO 557 STEP 144 LAYER M3 ;
TRACKS X 48 DO 418 STEP 192 LAYER M4 ;
TRACKS Y 48 DO 418 STEP 192 LAYER M4 ;
TRACKS X 48 DO 418 STEP 192 LAYER M5 ;
TRACKS Y 48 DO 418 STEP 192 LAYER M5 ;
TRACKS X 64 DO 314 STEP 256 LAYER M6 ;
TRACKS Y 64 DO 314 STEP 256 LAYER M6 ;
TRACKS X 64 DO 314 STEP 256 LAYER M7 ;
TRACKS Y 64 DO 314 STEP 256 LAYER M7 ;
GCELLGRID X 0 DO 20 STEP 4012 ;
GCELLGRID Y 0 DO 20 STEP 4012 ;
NETS 1 ;
- n1
+ ROUTED M5 ( 13488 28000 ) ( 13488 36000 )
NEW M5 ( 13488 36000 ) ( 13488 40000 )
NEW M5 ( 13680 30000 ) ( 13680 36000 )
NEW M5 ( 13680 36000 ) ( 13680 44000 )
+ USE SIGNAL ;
END NETS
END DESIGN
- Run
check_drc:
# check.tcl
read_lef tech_4000dbu.lef
read_def b_edge.def
drt::check_drc -output_file b_edge.rpt
openroad -no_init -no_splash -exit -threads 1 check.tcl
- Change only the
GCELLGRIDlines inb_edge.defto check the same layout as a single tile:
GCELLGRID X 0 DO 1 STEP 80240 ;
GCELLGRID Y 0 DO 1 STEP 80240 ;
Re-running check_drc gives 0 markers. Using a different GCell step (DO 16 STEP 5000) or shifting the wires away from the border also gives 0 markers.
Relevant log output
Contents of b_edge.rpt on b_edge.def (1 marker):
violation type: Lef58EolKeepOut
srcs: net:n1
bbox = (3.3840, 9.0120) - (3.4080, 9.0120) on Layer M5
The lower segments cross extBox (y <= 30084) and are loaded whole up to y = 36048 (9.0120 um), while the upper segments start at y = 35952 and are skipped. The marker sits at the fake line ends, outside both drcBox (y <= 28584) and extBox (y <= 30084).
With the single-tile GCELLGRID (or STEP 5000), b_edge.rpt is empty (0 markers).
Screenshots
No response
Additional Context
Possible fix direction: Drop markers outside the reporting tile's drcBox (in getDRCMarkers or addMarker, where every point is covered by a tile that loaded shapes 1500 DBU beyond drcBox), or load continuing same-net objects when a loaded wire segment ends outside extBox.
- 主要言語
- Verilog
- スター
- 3.4k
- フォーク
- 1.1k
- 平均マージ
- 3日 11時間
- マージ済み PR(30日)
- 247
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
The-OpenROAD-Project/OpenROAD のほかの issue
-
drt: min-area patch owner search compares the origin-relative patch box with absolute shapes, so patches are dropped対応中かも @bnmfw が 11 日前に担当しました。 オープンbug drt
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
The-OpenROAD-Project/OpenROAD#12191 · コメント 5 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
odb LEF58_MINIMUMCUT: per-cut-class form never sets isPerCutClass, so drt silently drops the rule対応中かも @LucasYuki が 25 日前に担当しました。 オープン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 が 25 日前に担当しました。 オープン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 が 32 日前に担当しました。 オープンbazel bug odb
難易度 1/5 1時間未満 初心者へのやさしさ 80/100
The-OpenROAD-Project/OpenROAD#12095 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信