mpl: MPL-0005 after the orientation step mirrors a macro whose pins cannot then be on the track grid
Los mantenedores suelen responder en 1 día
@AcKoucher ya está trabajando en esto.
Desde el 19/10/2026.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 35/100
Línea de trabajo
Start with the supplied reproduction archive and run ./run-me.sh using OpenROAD on PATH; then read src/mpl/snapper.cpp, clusterEngine.cpp, and hier_rtlmp.cpp. Compare the proposed snapping fallback with changing orientation selection, including the stated wire tradeoff and MPL-0081. Done means choosing a behavior that handles the pin-grid conflict while preserving the intended placement behavior, with the reproduction no longer failing on MPL-0005.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
rtl_macro_placer stops on MPL-0005 after its own orientation step mirrors a macro into an orientation in which no location puts the macro's pins on the track grid.
Download macro_place_mpl0005.tar.gz, then untar and run (openroad on PATH; reproduced with bfac0546a502f30db57e92d801f1eecea86e38ab, and src/mpl's snapper.cpp, clusterEngine.cpp and hier_rtlmp.cpp are unchanged at 3cc34a657d42b68f18fffb26235e9598e33f7899):
tar xf macro_place_mpl0005.tar.gz
cd macro_place_mpl0005
echo exit | ./run-me.sh
Reproduces in about 50 s. You'll see:
[ERROR MPL-0005] Couldn't align pin u_fe/q[36] from the RightWayOnGridOnly layer M5 with the track-grid.
The design is asap7, four hardened blocks of 200 x 194 um with all their signal pins on the top edge, on M3 and M5, on a 1.2 mm die. Before commitMacroPlacementToDb snaps them, correctAllMacrosOrientation has left three of the four in MY. asap7's M3 tracks are at 9 + 36k dbu and M5's at 12 + 48k, and the block's pins sit on its own tracks. Mirrored about Y, a pin at local x lands at origin - x, so M3 needs the origin at 18 mod 36 and M5 at 24 mod 48. Those disagree mod gcd(36, 48) = 12: no location aligns both layers, and the snapper's error is the only possible outcome. In R0 every location on a multiple of 144 dbu aligns them.
One way to fix it, carried in bazel-orfs and not sure it is the right one: Snapper::snapMacro reports whether every RightWayOnGridOnly pin was aligned instead of erroring, and commitMacroPlacementToDb, when it was not, keeps the macro's location and takes the first of R0, MX, MY, R180 that snaps (MPL-0081 says which); if none does, MPL-0005 as before. It only changes runs that stopped on MPL-0005. The open question is whether the orientation step should instead never choose an orientation that cannot snap, which would keep the wire it was chosen for. The patch:
This comes from a synthetic test parent (The-OpenROAD-Project/bazel-orfs#1294, test/pin_traps); no real design is known to hit it yet.
- Lenguaje dominante
- Verilog
- Estrellas
- 3.4k
- Forks
- 1.1k
- Merge medio
- 3 d 11 h
- PR fusionados (30 d)
- 245
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
-
odb LEF58_MINIMUMCUT: per-cut-class form never sets isPerCutClass, so drt silently drops the rulePosiblemente ocupada @LucasYuki la tomó hace 26 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 26 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 33 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
-
syn: acd_resynth -apply segfaults on a database resynthesized in an earlier processQuizá libre de nuevo @povik la tomó hace 31 días y no hay ningún pull request abierto. Abiertobug syn
Dificultad 2/5 1-3 horas Aptitud para principiantes 77/100
The-OpenROAD-Project/OpenROAD#12046 · 2 comentarios · 1 asignado ·
Los mantenedores suelen responder en 1 día
Todos los issues de The-OpenROAD-Project/OpenROAD
Issues similares
-
v3
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
pluginkollektiv/antispam-bee#952 ·
Los mantenedores suelen responder en 1 día
-
area: middleware enhancement good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
-
config: reject Proxy-Authorization and Proxy-Authenticate in server headersPosiblemente ocupada @haseemajaz la tomó hoy. Abiertobug good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
rohitgollarahalli/mcpx#38 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
area: API good first issue size/xs
Dificultad 2/5 1-3 horas Aptitud para principiantes 92/100
DahanItamar/DockNest#354 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100