Skip to content

gf180: add Nwell masterslice layer to tech LEFs - #4699

Open
bandhambalaji wants to merge 1 commit into
The-OpenROAD-Project:masterfrom
bandhambalaji:fix-gf180-tech-lef-nwell
Open

bandhambalaji wants to merge 1 commit into
The-OpenROAD-Project:masterfrom
bandhambalaji:fix-gf180-tech-lef-nwell

Conversation

@bandhambalaji

Copy link
Copy Markdown

Problem

In flow/platforms/gf180/lef/, the platform technology LEFs declare Poly2 as a masterslice layer but omit the process Nwell masterslice layer.

When importing macros whose OBS sections reference Nwell (such as standard GF180 SRAM macros generated for GF180MCU), OpenDB emits:

ODB-0176: undefined layer (Nwell) referenced

Because Nwell is encountered as the first layer in the macro OBS, the subsequent Metal1/Metal2/Metal3 routing obstructions are silently dropped, leading to router shorts and detailed routing DRC violations inside the macro.

Fix

Declare LAYER Nwell TYPE MASTERSLICE with PROPERTY LEF58_TYPE "TYPE NWELL ;" across the 24 stack-specific GF180 technology LEFs, matching the convention used in Sky130 and ASAP7.

Verified that OpenROAD imports gf180mcu_*_tech.lef and SRAM macros declaring Nwell obstructions cleanly with zero warnings and preserves all subsequent metal obstruction geometries.

Fixes #4496

The GF180 platform technology LEFs define Poly2 as a masterslice layer
but omit the process Nwell masterslice layer. When importing macro LEFs
whose OBS sections declare Nwell geometry (such as GF180 SRAM blocks),
OpenDB reports undefined layer Nwell (ODB-0176) and drops subsequent
metal obstruction geometries.

Declare LAYER Nwell TYPE MASTERSLICE across the GF180 technology LEFs
so macro obstructions referencing Nwell parse cleanly without
dropping routing obstructions.

Fixes The-OpenROAD-Project#4496

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 adds the Nwell layer definition, configured as a MASTERSLICE with the LEF58_TYPE property set to "TYPE NWELL ;", across multiple GF180 MCU technology LEF files. There are no review comments, and I have no feedback to provide on these changes.

@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 1ca7fe3 · Jenkins build #1 · Baseline: build · View build on dashboard

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

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.

GF180 platform tech LEF omits Nwell, causing SRAM OBS truncation on OpenDB import

2 participants