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

Abierto
#11,766 3 comentarios 0 reacciones 1 asignado Ver en GitHub

Los mantenedores suelen responder en 1 día

@bnmfw ya está trabajando en esto.

Desde el 22/10/2026.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
32/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
cpp
Área
devtools

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.
Lenguaje dominante
Verilog
Estrellas
3.4k
Forks
1.1k
Merge medio
3 d 11 h
PR fusionados (30 d)
245

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de The-OpenROAD-Project/OpenROAD

Todos los issues de The-OpenROAD-Project/OpenROAD

Issues similares

Más issues de DevTools

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.