[From ABKGroup] check_drc reports false end-of-line markers for split wires outside worker regions
I maintainer di solito rispondono entro 1 giorno
@bnmfw ci sta già lavorando.
Dal 30/11/2026.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
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.
- Lingua principale
- Verilog
- Stelle
- 3.3k
- Fork
- 1.1k
- Merge medio
- 3g 11h
- PR unite (30g)
- 247
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
-
drt: min-area patch owner search compares the origin-relative patch box with absolute shapes, so patches are droppedForse già presa @bnmfw l’ha presa 11 giorni fa. Apertabug drt
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
The-OpenROAD-Project/OpenROAD#12191 · 5 commenti · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
odb LEF58_MINIMUMCUT: per-cut-class form never sets isPerCutClass, so drt silently drops the ruleForse già presa @LucasYuki l’ha presa 25 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 25 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