Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

asap7.lydrc: V5.M6.AUX.2 and V7.M8.AUX.2 check vertical edges, but M6 and M8 are horizontal, so legal VIA56/VIA78 are flagged

Aperta Adatta ai principianti
#4,738 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
78/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
ruby

Direzione di ricerca

Leggi flow/platforms/asap7/drc/asap7.lydrc nei controlli V5.M6.AUX.2 e V7.M8.AUX.2, quindi confronta la selezione degli angoli con gli orientamenti M6 e M8 in asap7_tech_1x_201209.lef. Riproduci il problema con i layout di test descritti, realizzati a mano, oppure con il flusso asap7/gcd. Il lavoro è completato quando i via orizzontali M6/M8 conformi alle regole vengono accettati, i via più stretti continuano a generare violazioni e il numero di violazioni delle altre regole resta invariato.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Description

flow/platforms/asap7/drc/asap7.lydrc checks that a via is exactly as wide as the metal above it by looking for coincident edges, selecting the edges across the metal's width with with_angle:

  • line 377, V3.M4.AUX.2: .edges.with_angle(0) -- M4 is HORIZONTAL, correct;
  • lines 423 and 477, V4.M5.AUX.2 and V6.M7.AUX.2: .edges.with_angle(90) -- M5 and M7 are VERTICAL, correct;
  • line 431, V5.M6.AUX.2, and line 485, V7.M8.AUX.2: .edges.with_angle(90), but M6 and M8 are HORIZONTAL in asap7_tech_1x_201209.lef (lines 453 and 574), so the check looks at the wrong edges.

As a result every legal V5 under a horizontal M6 is flagged, including the tech LEF's own VIA56 (lines 683-690: V5 24 x 32 nm under a 32 nm wide M6) and pdngen's wide power vias (e.g. via5_6_120_288_1_2_58_322, a 24 x 288 nm cut under a 288 nm M6 strap).

Evidence
  • asap7/gcd (with DEF units fixed, see #4737): 81 V5.M6.AUX.2 markers (65 VIA56 x 1, 8 power vias x 2); with with_angle(0) on the two lines: 0, every other rule count unchanged.
  • A ~72k-instance block: 8,501 V5.M6.AUX.2 markers, all gone with the change; total 95,010 -> 86,509, nothing else changed.
  • Hand-made test layouts: a minimum-width (32 nm) horizontal M6 with a VIA56-shaped V5 is flagged by the current deck and passes with with_angle(0); a V5 that really is narrower than the M6 (24 nm high under 32 nm) is flagged by both, so the fixed check still catches real violations.
Suggested fix
-v5.not_interacting(m6.enclosing(v5, 1.dbu, projection, two_opposite_sides_allowed).edges.with_angle(90)).output("V5.M6.AUX.2", ...
+v5.not_interacting(m6.enclosing(v5, 1.dbu, projection, two_opposite_sides_allowed).edges.with_angle(0)).output("V5.M6.AUX.2", ...
-v7.not_interacting(m8.enclosing(v7, 1.dbu, projection, two_opposite_sides_allowed).edges.with_angle(90)).output("V7.M8.AUX.2", ...
+v7.not_interacting(m8.enclosing(v7, 1.dbu, projection, two_opposite_sides_allowed).edges.with_angle(0)).output("V7.M8.AUX.2", ...

ORFS commit c06bf3c; the two lines are unchanged on current master (the deck was last changed 2023-04-05). KLayout 0.28.16.

Lingua principale
Verilog
Stelle
777
Fork
549
Merge medio
2g 16h
PR unite (30g)
91

Preparare l'ambiente

  • Include un Dockerfile o un file Docker Compose
  • Nessun modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di The-OpenROAD-Project/OpenROAD-flow-scripts

Tutte le issue di The-OpenROAD-Project/OpenROAD-flow-scripts

Issue simili

Altre issue su Backend & API Design

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.