Skip to content

asap7: fix V5.M6.AUX.2 and V7.M8.AUX.2 edge orientation in KLayout DRC - #4799

Merged
maliberty merged 1 commit into
The-OpenROAD-Project:masterfrom
bandhambalaji:fix-asap7-drc-via-enclosure-angle
Nov 7, 2026
Merged

maliberty merged 1 commit into
The-OpenROAD-Project:masterfrom
bandhambalaji:fix-asap7-drc-via-enclosure-angle

Conversation

@bandhambalaji

Copy link
Copy Markdown
Contributor

In asap7_tech_1x_201209.lef, Metal 6 and Metal 8 are horizontal routing layers. In flow/platforms/asap7/drc/asap7.lydrc, rules V5.M6.AUX.2 and V7.M8.AUX.2 check that via width matches metal width along the direction perpendicular to metal length using .edges.with_angle(90).

Because M6 and M8 are horizontal, selecting 90-degree edges checks vertical edges along the length of the metal instead of across its width. This falsely flags legal standard vias (e.g. VIA56 and VIA78) and wide power strap vias as DRC violations.

Fix both rules by selecting horizontal edges with .edges.with_angle(0), matching the M4 check on rule V3.M4.AUX.2.

Fixes #4738.

In asap7_tech_1x_201209.lef, Metal 6 and Metal 8 are horizontal routing layers. In flow/platforms/asap7/drc/asap7.lydrc, rules V5.M6.AUX.2 and V7.M8.AUX.2 check that via width matches metal width along the direction perpendicular to metal length using .edges.with_angle(90).

Because M6 and M8 are horizontal, selecting 90-degree edges checks vertical edges along the length of the metal instead of across its width. This falsely flags legal standard vias (e.g. VIA56 and VIA78) and wide power strap vias as DRC violations.

Fix both rules by selecting horizontal edges with .edges.with_angle(0), matching the M4 check on rule V3.M4.AUX.2.

Fixes The-OpenROAD-Project#4738.

Signed-off-by: Bandham Balaji <bandhambalaji@gmail.com>

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the ASAP7 DRC script (asap7.lydrc) by changing the angle parameter from 90 to 0 in the with_angle filter for V5/M6 and V7/M8 enclosure checks (rules V5.M6.AUX.2 and V7.M8.AUX.2). This ensures the correct edge direction is evaluated perpendicular to the metal routing. I have no additional feedback to provide.

@openroad-ci

Copy link
Copy Markdown
Member

🔍 QoR check

Metrics reflect the PR merge build — i.e. what will land on the target branch.

Commit 7c5f386 · Jenkins build #1 · Baseline: build · View build on dashboard

62 design(s) checked — 0 with regression(s), 0 without a comparable baseline.

@maliberty
maliberty merged commit aef47dd into The-OpenROAD-Project:master Nov 7, 2026
12 checks passed
@maliberty

Copy link
Copy Markdown
Member

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

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

3 participants