Skip to content

Commit 2fddd2c

Browse files
committed
asap7: less repetition
Signed-off-by: Øyvind Harboe <[email protected]>
1 parent be4b5b5 commit 2fddd2c

File tree

3 files changed

+4
-39
lines changed

3 files changed

+4
-39
lines changed

flow/designs/asap7/mock-array/BLOCKS_grid_strategy.tcl

Lines changed: 0 additions & 37 deletions
This file was deleted.

flow/designs/asap7/mock-array/config.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export BLOCKS ?= Element
2828
ifneq ($(BLOCKS),)
2929
export GDS_ALLOW_EMPTY = Element
3030
export MACRO_PLACEMENT_TCL = ./designs/asap7/mock-array/macro-placement.tcl
31-
export PDN_TCL = designs/asap7/mock-array/BLOCKS_grid_strategy.tcl
31+
export PDN_TCL = $(PLATFORM_DIR)/openRoad/pdn/BLOCKS_grid_strategy.tcl
3232
endif
3333

3434
export IO_CONSTRAINTS = designs/asap7/mock-array/io.tcl

flow/platforms/asap7/openRoad/pdn/BLOCKS_grid_strategy.tcl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ add_pdn_connect -grid {top} -layers {M5 M6}
3030
# Element grid
3131
####################################
3232
# The halo around the macro prevents pdn from blocking pin access
33-
define_pdn_grid -macro -cells $::env(MACROS) -halo "2.0 2.0 2.0 2.0" -voltage_domains {CORE} -name ElementGrid
33+
define_pdn_grid -macro -cells $::env(MACROS) \
34+
-halo "$::env(MACRO_HALO_X) $::env(MACRO_HALO_Y) $::env(MACRO_HALO_X) $::env(MACRO_HALO_Y)" \
35+
-voltage_domains {CORE} -name ElementGrid
3436

3537
add_pdn_connect -grid {ElementGrid} -layers {M5 M6}

0 commit comments

Comments
 (0)