Skip to content

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

Open
oharboe wants to merge 1 commit intoThe-OpenROAD-Project:masterfrom
oharboe:fix-riscv32i-mock-sram-pdn
Open

fix: override PDN_TCL for riscv32i-mock-sram to fix PDN-0232/0233#4091
oharboe wants to merge 1 commit intoThe-OpenROAD-Project:masterfrom
oharboe:fix-riscv32i-mock-sram-pdn

Conversation

@oharboe
Copy link
Copy Markdown
Collaborator

@oharboe oharboe commented Apr 1, 2026

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
Copy link
Copy Markdown
Collaborator Author

oharboe commented Apr 1, 2026

@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>
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.

1 participant