Skip to content

ram: bloat occupied layers in abstract lef tests#10169

Merged
maliberty merged 1 commit intoThe-OpenROAD-Project:masterfrom
tarunWebBuilder:ram-bloat-occupied-layers-tests
Apr 18, 2026
Merged

ram: bloat occupied layers in abstract lef tests#10169
maliberty merged 1 commit intoThe-OpenROAD-Project:masterfrom
tarunWebBuilder:ram-bloat-occupied-layers-tests

Conversation

@tarunWebBuilder
Copy link
Copy Markdown
Contributor

Summary

Update RAM abstract LEF tests to call write_abstract_lef -bloat_occupied_layers.

This changes the RAM LEF golden files to expect whole-layer obstructions instead of detailed obstruction geometry.

Type of Change

  • Bug fix

Impact

RAM test LEFs now use simplified cover obstructions for occupied layers. This reduces LEF complexity for generated RAM abstracts while keeping the existing RAM generation flow unchanged.

Verification

  • I have verified that the local build succeeds (./etc/Build.sh).
  • I have run the relevant tests and they pass.
  • My code follows the repository's formatting guidelines.
  • I have signed my commits (DCO).

Local tests were not run because this Windows checkout does not have tclsh or a built OpenROAD executable available.

Related Issues

Fixes #10154

Copy link
Copy Markdown
Contributor

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

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 RAM generation tests for Nangate45 and Sky130 by adding the -bloat_occupied_layers flag to the write_abstract_lef command. Consequently, the reference .lefok files have been updated to reflect simplified obstruction (OBS) layers, replacing numerous small rectangles with single bounding boxes for each metal layer. I have no feedback to provide.

Copy link
Copy Markdown
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

Welcome to OpenROAD! Thanks for opening your first PR.
Before we review:

Please ensure:

  • CI passes
  • Code is properly formatted
  • Tests are included where applicable
    A maintainer will review shortly!

@maliberty maliberty requested a review from rovinski April 17, 2026 14:44
@rovinski rovinski requested review from maliberty and removed request for maliberty April 17, 2026 19:16
@rovinski
Copy link
Copy Markdown
Collaborator

@tarunWebBuilder thank you for the contribution, please read the test details to fix the DCO. Please also investigate why the CI is failing on the change.

Signed-off-by: Tarun <tarunpahade55@gmail.com>
@tarunWebBuilder tarunWebBuilder force-pushed the ram-bloat-occupied-layers-tests branch from 952c476 to 63aa86f Compare April 17, 2026 20:55
@maliberty maliberty enabled auto-merge April 18, 2026 00:19
@maliberty maliberty merged commit a00a575 into The-OpenROAD-Project:master Apr 18, 2026
15 of 16 checks passed
@github-actions
Copy link
Copy Markdown
Contributor

clang-tidy review says "All clean, LGTM! 👍"

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ram: bloat occupied layers in test lefs

3 participants