[From ABKGroup] check_drc reports false end-of-line markers for split wires outside worker regions
Los mantenedores suelen responder en 1 día
@bnmfw ya está trabajando en esto.
Desde el 30/11/2026.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
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.
- Lenguaje dominante
- Verilog
- Estrellas
- 3.4k
- Forks
- 1.1k
- Merge medio
- 3 d 11 h
- PR fusionados (30 d)
- 247
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de The-OpenROAD-Project/OpenROAD
-
drt: min-area patch owner search compares the origin-relative patch box with absolute shapes, so patches are droppedPosiblemente ocupada @bnmfw la tomó hace 11 días. Abiertobug drt
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
The-OpenROAD-Project/OpenROAD#12191 · 5 comentarios · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
odb LEF58_MINIMUMCUT: per-cut-class form never sets isPerCutClass, so drt silently drops the rulePosiblemente ocupada @LucasYuki la tomó hace 25 días. Abiertobug drt odb
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
The-OpenROAD-Project/OpenROAD#12176 · 2 comentarios · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
drt: LEF58_SPACING ENDOFLINE MINLENGTH l TWOSIDES is checked one-sided (io passes the TWOEDGES flag as TWOSIDES)Posiblemente ocupada @osamahammad21 la tomó hace 25 días. Abiertobug drt
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
The-OpenROAD-Project/OpenROAD#12173 · 1 comentario · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
cleanup-opportunity: BUILD files never refer to mockturtle in third-partty/Quizá libre de nuevo Un pull request para esta issue se cerró sin fusionarse. Abiertobazel enhancement
Dificultad 1/5 Menos de una hora Aptitud para principiantes 76/100
The-OpenROAD-Project/OpenROAD#12160 · 4 comentarios ·
Los mantenedores suelen responder en 1 día
-
odb: Bazel build fails on linux/aarch64 — char fc compared to EOF in def/lef lexersPosiblemente ocupada @shivarammysore la tomó hace 32 días. Abiertobazel bug odb
Dificultad 1/5 Menos de una hora Aptitud para principiantes 80/100
The-OpenROAD-Project/OpenROAD#12095 · 2 comentarios ·
Los mantenedores suelen responder en 1 día