Skip to content

fix: override PDN_TCL for riscv32i-mock-sram to fix PDN-0232/0233 - #4091

Merged
maliberty merged 1 commit into
The-OpenROAD-Project:masterfrom
oharboe:fix-riscv32i-mock-sram-pdn
Apr 3, 2026
Merged

maliberty merged 1 commit into
The-OpenROAD-Project:masterfrom
oharboe:fix-riscv32i-mock-sram-pdn

Conversation

@oharboe

@oharboe oharboe commented Apr 1, 2026

Copy link
Copy Markdown
Collaborator

The platform default BLOCKS_grid_strategy.tcl defines an ElementGrid macro grid with only an M5-M6 connection rule but no stripes, producing empty macro PDN grids. Use BLOCK_grid_strategy.tcl instead, which has M4-M5 connections matching the block's MAX_ROUTING_LAYER=M4 constraint.

This is the same pattern used by aes-block (via block.mk).

The platform default BLOCKS_grid_strategy.tcl defines an ElementGrid
macro grid with only an M5-M6 connection rule but no stripes, producing
empty macro PDN grids. Use BLOCK_grid_strategy.tcl instead, which has
M4-M5 connections matching the block's MAX_ROUTING_LAYER=M4 constraint.

This is the same pattern used by aes-block (via block.mk).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
@oharboe
oharboe requested a review from maliberty April 1, 2026 04:36
@oharboe

oharboe commented Apr 1, 2026 •

Copy link
Copy Markdown
Collaborator Author

@maliberty If this needs regeneration of the rules.json, could you do it?

oharboe added a commit to oharboe/OpenROAD-flow-scripts that referenced this pull request Apr 2, 2026
The platform default BLOCKS_grid_strategy.tcl produces empty PDN
grids. Use BLOCK_grid_strategy.tcl which has M4-M5 connections
matching the block's MAX_ROUTING_LAYER=M4 constraint.

Cherry-pick of PR The-OpenROAD-Project#4091.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
oharboe added a commit to oharboe/OpenROAD-flow-scripts that referenced this pull request Apr 2, 2026
The platform default BLOCKS_grid_strategy.tcl produces empty PDN
grids. Use BLOCK_grid_strategy.tcl which has M4-M5 connections
matching the block's MAX_ROUTING_LAYER=M4 constraint.

Cherry-pick of PR The-OpenROAD-Project#4091.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
oharboe added a commit to oharboe/OpenROAD-flow-scripts that referenced this pull request Apr 3, 2026
The platform default BLOCKS_grid_strategy.tcl produces empty PDN
grids. Use BLOCK_grid_strategy.tcl which has M4-M5 connections
matching the block's MAX_ROUTING_LAYER=M4 constraint.

Cherry-pick of PR The-OpenROAD-Project#4091.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
@maliberty
maliberty merged commit 755a40c into The-OpenROAD-Project:master Apr 3, 2026
5 checks passed
@oharboe
oharboe deleted the fix-riscv32i-mock-sram-pdn branch April 19, 2026 19:29
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.

2 participants