Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docs/user/FlowVariables.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ configuration file.
| <a name="GDS_ALLOW_EMPTY"></a>GDS_ALLOW_EMPTY| Single regular expression of module names of macros that have no .gds file| |
| <a name="GDS_FILES"></a>GDS_FILES| Path to platform GDS files.| |
| <a name="GENERATE_ARTIFACTS_ON_FAILURE"></a>GENERATE_ARTIFACTS_ON_FAILURE| For instance Bazel needs artifacts (.odb and .rpt files) on a failure to allow the user to save hours on re-running the failed step locally, but when working with a Makefile flow, it is more natural to fail the step and leave the user to manually inspect the logs and artifacts directly via the file system. Set to 1 to change the behavior to generate artifacts upon failure to e.g. do a global route. The exit code will still be non-zero on all other failures that aren't covered by the "useful to inspect the artifacts on failure" use-case. Example: just like detailed routing, a global route that fails with congestion, is not a build failure(as in exit code non-zero), it is a successful(as in zero exit code) global route that produce reports detailing the problem. Detailed route will not proceed, if there is global routing congestion This allows build systems, such as bazel, to create artifacts for global and detailed route, even if the operation had problems, without having know about the semantics between global and detailed route. Considering that global and detailed route can run for a long time and use a lot of memory, this allows inspecting results on a laptop for a build that ran on a server.| 0|
| <a name="GLOBAL_CONNECT_TCL"></a>GLOBAL_CONNECT_TCL| File path to the add_global_connection rules that connect the supply pins of the instances to the supply nets. Sourced at floorplan right after the netlist is loaded, before any step can mark an instance dont_touch; the rules are kept in the database. The platform's file by default; a design whose PDN_TCL names other supply nets sets its own. PDN_TCL defines the grids.| |
| <a name="GLOBAL_PLACEMENT_ARGS"></a>GLOBAL_PLACEMENT_ARGS| Use additional tuning parameters during global placement other than default args defined in global_place.tcl.| |
| <a name="GLOBAL_ROUTE_ARGS"></a>GLOBAL_ROUTE_ARGS| Replaces default arguments for global route. The -congestion_iterations default is set by the flow (30 for FastRoute, 10 for CUGR); add -congestion_iterations here to override it.| -congestion_report_iter_step 5 -verbose|
| <a name="GLOBAL_ROUTE_USE_CUGR"></a>GLOBAL_ROUTE_USE_CUGR| Passed as -use_cugr to global_route. Uses CUGR as the global routing solver instead of the default FastRoute solver. NOTE: CUGR is not ready for production.| 0|
Expand Down Expand Up @@ -420,6 +421,7 @@ configuration file.
- [FLOORPLAN_DEF](#FLOORPLAN_DEF)
- [FOOTPRINT](#FOOTPRINT)
- [FOOTPRINT_TCL](#FOOTPRINT_TCL)
- [GLOBAL_CONNECT_TCL](#GLOBAL_CONNECT_TCL)
- [HOLD_SLACK_MARGIN](#HOLD_SLACK_MARGIN)
- [IO_CONSTRAINTS](#IO_CONSTRAINTS)
- [MACRO_PLACEMENT_TCL](#MACRO_PLACEMENT_TCL)
Expand Down
13 changes: 0 additions & 13 deletions flow/designs/gf180/uart-blocks/BLOCKS_grid_strategy.tcl
Original file line number Diff line number Diff line change
@@ -1,17 +1,4 @@
####################################
# global connections
####################################
add_global_connection -net {VDD} -inst_pattern {.*} -pin_pattern {^VDD$} -power
add_global_connection -net {VDD} -inst_pattern {.*} -pin_pattern {^VDDPE$}
add_global_connection -net {VDD} -inst_pattern {.*} -pin_pattern {^VDDCE$}
add_global_connection -net {VDD} -inst_pattern {.*} -pin_pattern {^VDDP$}
add_global_connection -net {VDD} -inst_pattern {.*} -pin_pattern {^VDDC$}
add_global_connection -net {VDD} -inst_pattern {.*} -pin_pattern {^VNW$}
add_global_connection -net {VSS} -inst_pattern {.*} -pin_pattern {^VSS$} -ground
add_global_connection -net {VSS} -inst_pattern {.*} -pin_pattern {^VSSE$}
add_global_connection -net {VSS} -inst_pattern {.*} -pin_pattern {^VSSC$}
add_global_connection -net {VSS} -inst_pattern {.*} -pin_pattern {^VPW$}
####################################
# voltage domains
####################################
set_voltage_domain -name {CORE} -power {VDD} -ground {VSS}
Expand Down
13 changes: 0 additions & 13 deletions flow/designs/gf180/uart-blocks/uart_rx/pdn.tcl
Original file line number Diff line number Diff line change
@@ -1,17 +1,4 @@
####################################
# global connections
####################################
add_global_connection -net {VDD} -inst_pattern {.*} -pin_pattern {^VDD$} -power
add_global_connection -net {VDD} -inst_pattern {.*} -pin_pattern {^VDDPE$}
add_global_connection -net {VDD} -inst_pattern {.*} -pin_pattern {^VDDCE$}
add_global_connection -net {VDD} -inst_pattern {.*} -pin_pattern {^VDDP$}
add_global_connection -net {VDD} -inst_pattern {.*} -pin_pattern {^VDDC$}
add_global_connection -net {VDD} -inst_pattern {.*} -pin_pattern {^VNW$}
add_global_connection -net {VSS} -inst_pattern {.*} -pin_pattern {^VSS$} -ground
add_global_connection -net {VSS} -inst_pattern {.*} -pin_pattern {^VSSE$}
add_global_connection -net {VSS} -inst_pattern {.*} -pin_pattern {^VSSC$}
add_global_connection -net {VSS} -inst_pattern {.*} -pin_pattern {^VPW$}
####################################
# voltage domains
####################################
set_voltage_domain -name {CORE} -power {VDD} -ground {VSS}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,6 @@ export PLACE_DENSITY = 0.75

export CORNERS = slow typ fast

export GLOBAL_CONNECT_TCL = $(DESIGN_HOME)/$(PLATFORM)/i2c-gpio-expander/global_connect.tcl
export PDN_TCL = $(DESIGN_HOME)/$(PLATFORM)/$(TOP_DESIGN_NICKNAME)/${DESIGN_NAME}/pdn.tcl

15 changes: 0 additions & 15 deletions flow/designs/ihp-sg13g2/i2c-gpio-expander/I2cDeviceCtrl/pdn.tcl
Original file line number Diff line number Diff line change
@@ -1,18 +1,3 @@
# standard cells
add_global_connection -net {VDD} -pin_pattern {^VDD$} -power
add_global_connection -net {VDD} -pin_pattern {^VDDPE$}
add_global_connection -net {VDD} -pin_pattern {^VDDCE$}
add_global_connection -net {VSS} -pin_pattern {^VSS$} -ground
add_global_connection -net {VSS} -pin_pattern {^VSSE$}

# macros
add_global_connection -net {VDD} -inst_pattern {.*} -pin_pattern {VDD!} -power
add_global_connection -net {VSS} -inst_pattern {.*} -pin_pattern {VSS!} -ground
add_global_connection -net {VDD} -inst_pattern {.*} -pin_pattern {^VDD$} -power
add_global_connection -net {VSS} -inst_pattern {.*} -pin_pattern {^VSS$} -ground

global_connect

# core voltage domain
set_voltage_domain -name {CORE} -power {VDD} -ground {VSS}

Expand Down
1 change: 1 addition & 0 deletions flow/designs/ihp-sg13g2/i2c-gpio-expander/config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ export FOOTPRINT_TCL = $(PLATFORM_DIR)/pad.tcl

export MACRO_PLACEMENT_TCL = $(DESIGN_HOME)/$(PLATFORM)/$(DESIGN_NICKNAME)/macros.tcl

export GLOBAL_CONNECT_TCL = $(DESIGN_HOME)/$(PLATFORM)/i2c-gpio-expander/global_connect.tcl
export PDN_TCL = $(DESIGN_HOME)/$(PLATFORM)/$(DESIGN_NICKNAME)/pdn.tcl

export BLOCKS = I2cDeviceCtrl
Expand Down
14 changes: 14 additions & 0 deletions flow/designs/ihp-sg13g2/i2c-gpio-expander/global_connect.tcl
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Global connections, made at floorplan right after the netlist is
# loaded (GLOBAL_CONNECT_TCL); the PDN scripts define the grids.
# standard cells
add_global_connection -net {VDD} -pin_pattern {^VDD$} -power
add_global_connection -net {VDD} -pin_pattern {^VDDPE$}
add_global_connection -net {VDD} -pin_pattern {^VDDCE$}
add_global_connection -net {VSS} -pin_pattern {^VSS$} -ground
add_global_connection -net {VSS} -pin_pattern {^VSSE$}

# macros
add_global_connection -net {VDD} -inst_pattern {.*} -pin_pattern {VDD!} -power
add_global_connection -net {VSS} -inst_pattern {.*} -pin_pattern {VSS!} -ground
add_global_connection -net {VDD} -inst_pattern {.*} -pin_pattern {^VDD$} -power
add_global_connection -net {VSS} -inst_pattern {.*} -pin_pattern {^VSS$} -ground
15 changes: 0 additions & 15 deletions flow/designs/ihp-sg13g2/i2c-gpio-expander/pdn.tcl
Original file line number Diff line number Diff line change
@@ -1,18 +1,3 @@
# standard cells
add_global_connection -net {VDD} -pin_pattern {^VDD$} -power
add_global_connection -net {VDD} -pin_pattern {^VDDPE$}
add_global_connection -net {VDD} -pin_pattern {^VDDCE$}
add_global_connection -net {VSS} -pin_pattern {^VSS$} -ground
add_global_connection -net {VSS} -pin_pattern {^VSSE$}

# macros
add_global_connection -net {VDD} -inst_pattern {.*} -pin_pattern {VDD!} -power
add_global_connection -net {VSS} -inst_pattern {.*} -pin_pattern {VSS!} -ground
add_global_connection -net {VDD} -inst_pattern {.*} -pin_pattern {^VDD$} -power
add_global_connection -net {VSS} -inst_pattern {.*} -pin_pattern {^VSS$} -ground

global_connect

# core voltage domain
set_voltage_domain -name {CORE} -power {VDD} -ground {VSS}

Expand Down
9 changes: 0 additions & 9 deletions flow/designs/nangate45/gcd/grid_strategy-M1-M4-M7.tcl
Original file line number Diff line number Diff line change
@@ -1,13 +1,4 @@
####################################
# global connections
####################################
add_global_connection -net {VDD} -inst_pattern {.*} -pin_pattern {^VDD$} -power
add_global_connection -net {VDD} -inst_pattern {.*} -pin_pattern {^VDDPE$}
add_global_connection -net {VDD} -inst_pattern {.*} -pin_pattern {^VDDCE$}
add_global_connection -net {VSS} -inst_pattern {.*} -pin_pattern {^VSS$} -ground
add_global_connection -net {VSS} -inst_pattern {.*} -pin_pattern {^VSSE$}
global_connect
####################################
# voltage domains
####################################
set_voltage_domain -name {CORE} -power {VDD} -ground {VSS}
Expand Down
2 changes: 2 additions & 0 deletions flow/platforms/asap7/config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ export PLACE_SITE ?= asap7sc7p5t
export MAKE_TRACKS = $(PLATFORM_DIR)/openRoad/make_tracks.tcl

# Define default PDN config
export GLOBAL_CONNECT_TCL ?= $(PLATFORM_DIR)/openRoad/pdn/global_connect.tcl

ifeq ($(BLOCKS),)
export PDN_TCL ?= $(PLATFORM_DIR)/openRoad/pdn/grid_strategy-M1-M2-M5-M6.tcl
else
Expand Down
6 changes: 0 additions & 6 deletions flow/platforms/asap7/openRoad/pdn/BLOCKS_grid_strategy.tcl
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
# Top level PDN for macros using BLOCK_grid_strategy.tcl
source $::env(SCRIPTS_DIR)/util.tcl

####################################
# global connections
####################################
add_global_connection -net {VDD} -inst_pattern {.*} -pin_pattern {^VDD$} -power
add_global_connection -net {VSS} -inst_pattern {.*} -pin_pattern {^VSS$} -ground

####################################
# voltage domains
####################################
Expand Down
6 changes: 0 additions & 6 deletions flow/platforms/asap7/openRoad/pdn/BLOCK_grid_strategy.tcl
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
# macro level counterpart to BLOCKS_grid_strategy.tcl

####################################
# global connections
####################################
add_global_connection -net {VDD} -inst_pattern {.*} -pin_pattern {^VDD$} -power
add_global_connection -net {VSS} -inst_pattern {.*} -pin_pattern {^VSS$} -ground

####################################
# voltage domains
####################################
Expand Down
7 changes: 7 additions & 0 deletions flow/platforms/asap7/openRoad/pdn/global_connect.tcl
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Global connections, made at floorplan right after the netlist is
# loaded (GLOBAL_CONNECT_TCL); the PDN scripts define the grids.
add_global_connection -net {VDD} -inst_pattern {.*} -pin_pattern {^VDD$} -power
add_global_connection -net {VDD} -inst_pattern {.*} -pin_pattern {^VDDPE$}
add_global_connection -net {VDD} -inst_pattern {.*} -pin_pattern {^VDDCE$}
add_global_connection -net {VSS} -inst_pattern {.*} -pin_pattern {^VSS$} -ground
add_global_connection -net {VSS} -inst_pattern {.*} -pin_pattern {^VSSE$}
Original file line number Diff line number Diff line change
@@ -1,13 +1,4 @@
####################################
# global connections
####################################
add_global_connection -net {VDD} -inst_pattern {.*} -pin_pattern {^VDD$} -power
add_global_connection -net {VDD} -inst_pattern {.*} -pin_pattern {^VDDPE$}
add_global_connection -net {VDD} -inst_pattern {.*} -pin_pattern {^VDDCE$}
add_global_connection -net {VSS} -inst_pattern {.*} -pin_pattern {^VSS$} -ground
add_global_connection -net {VSS} -inst_pattern {.*} -pin_pattern {^VSSE$}
global_connect
####################################
# voltage domains
####################################
set_voltage_domain -name {CORE} -power {VDD} -ground {VSS}
Expand Down
1 change: 1 addition & 0 deletions flow/platforms/gf180/config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ export IO_PLACER_H ?= Metal3
export IO_PLACER_V ?= Metal4

# Define default PDN config
export GLOBAL_CONNECT_TCL ?= $(PLATFORM_DIR)/openROAD/pdn/global_connect.tcl
export PDN_TCL ?= $(PLATFORM_DIR)/openROAD/pdn/pdn_grid_strategy_$(TRACK_OPTION)_6M.cfg

# Endcap and Welltie cells
Expand Down
12 changes: 12 additions & 0 deletions flow/platforms/gf180/openROAD/pdn/global_connect.tcl
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Global connections, made at floorplan right after the netlist is
# loaded (GLOBAL_CONNECT_TCL); the PDN scripts define the grids.
add_global_connection -net {VDD} -inst_pattern {.*} -pin_pattern {^VDD$} -power
add_global_connection -net {VDD} -inst_pattern {.*} -pin_pattern {^VDDPE$}
add_global_connection -net {VDD} -inst_pattern {.*} -pin_pattern {^VDDCE$}
add_global_connection -net {VDD} -inst_pattern {.*} -pin_pattern {^VDDP$}
add_global_connection -net {VDD} -inst_pattern {.*} -pin_pattern {^VDDC$}
add_global_connection -net {VDD} -inst_pattern {.*} -pin_pattern {^VNW$}
add_global_connection -net {VSS} -inst_pattern {.*} -pin_pattern {^VSS$} -ground
add_global_connection -net {VSS} -inst_pattern {.*} -pin_pattern {^VSSE$}
add_global_connection -net {VSS} -inst_pattern {.*} -pin_pattern {^VSSC$}
add_global_connection -net {VSS} -inst_pattern {.*} -pin_pattern {^VPW$}
13 changes: 0 additions & 13 deletions flow/platforms/gf180/openROAD/pdn/pdn_grid_strategy_7t_6M.cfg
Original file line number Diff line number Diff line change
@@ -1,17 +1,4 @@
####################################
# global connections
####################################
add_global_connection -net {VDD} -inst_pattern {.*} -pin_pattern {^VDD$} -power
add_global_connection -net {VDD} -inst_pattern {.*} -pin_pattern {^VDDPE$}
add_global_connection -net {VDD} -inst_pattern {.*} -pin_pattern {^VDDCE$}
add_global_connection -net {VDD} -inst_pattern {.*} -pin_pattern {^VDDP$}
add_global_connection -net {VDD} -inst_pattern {.*} -pin_pattern {^VDDC$}
add_global_connection -net {VDD} -inst_pattern {.*} -pin_pattern {^VNW$}
add_global_connection -net {VSS} -inst_pattern {.*} -pin_pattern {^VSS$} -ground
add_global_connection -net {VSS} -inst_pattern {.*} -pin_pattern {^VSSE$}
add_global_connection -net {VSS} -inst_pattern {.*} -pin_pattern {^VSSC$}
add_global_connection -net {VSS} -inst_pattern {.*} -pin_pattern {^VPW$}
####################################
# voltage domains
####################################
set_voltage_domain -name {CORE} -power {VDD} -ground {VSS}
Expand Down
13 changes: 0 additions & 13 deletions flow/platforms/gf180/openROAD/pdn/pdn_grid_strategy_9t_6M.cfg
Original file line number Diff line number Diff line change
@@ -1,17 +1,4 @@
####################################
# global connections
####################################
add_global_connection -net {VDD} -inst_pattern {.*} -pin_pattern {^VDD$} -power
add_global_connection -net {VDD} -inst_pattern {.*} -pin_pattern {^VDDPE$}
add_global_connection -net {VDD} -inst_pattern {.*} -pin_pattern {^VDDCE$}
add_global_connection -net {VDD} -inst_pattern {.*} -pin_pattern {^VDDP$}
add_global_connection -net {VDD} -inst_pattern {.*} -pin_pattern {^VDDC$}
add_global_connection -net {VDD} -inst_pattern {.*} -pin_pattern {^VNW$}
add_global_connection -net {VSS} -inst_pattern {.*} -pin_pattern {^VSS$} -ground
add_global_connection -net {VSS} -inst_pattern {.*} -pin_pattern {^VSSE$}
add_global_connection -net {VSS} -inst_pattern {.*} -pin_pattern {^VSSC$}
add_global_connection -net {VSS} -inst_pattern {.*} -pin_pattern {^VPW$}
####################################
# voltage domains
####################################
set_voltage_domain -name {CORE} -power {VDD} -ground {VSS}
Expand Down
1 change: 1 addition & 0 deletions flow/platforms/gt2n/config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ export IO_PLACER_H ?= M2
export IO_PLACER_V ?= M3

# Define default PDN config
export GLOBAL_CONNECT_TCL ?= $(PLATFORM_DIR)/global_connect.tcl
export PDN_TCL ?= $(PLATFORM_DIR)/pdn.tcl

# Endcap and Welltie cells
Expand Down
4 changes: 4 additions & 0 deletions flow/platforms/gt2n/global_connect.tcl
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Global connections, made at floorplan right after the netlist is
# loaded (GLOBAL_CONNECT_TCL); the PDN scripts define the grids.
add_global_connection -net {vdd} -inst_pattern {.*} -pin_pattern {^vdd$} -power
add_global_connection -net {vss} -inst_pattern {.*} -pin_pattern {^vss$} -ground
6 changes: 0 additions & 6 deletions flow/platforms/gt2n/pdn.tcl
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
####################################
# global connections
####################################
add_global_connection -net {vdd} -inst_pattern {.*} -pin_pattern {^vdd$} -power
add_global_connection -net {vss} -inst_pattern {.*} -pin_pattern {^vss$} -ground
global_connect
####################################
# voltage domains
####################################
set_voltage_domain -name {CORE} -power {vdd} -ground {vss}
Expand Down
1 change: 1 addition & 0 deletions flow/platforms/ihp-sg13g2/config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ export IO_PLACER_V ?= Metal2
export IO_PLACER_H ?= Metal3

# Define default PDN config
export GLOBAL_CONNECT_TCL ?= $(PLATFORM_DIR)/global_connect.tcl
export PDN_TCL ?= $(PLATFORM_DIR)/pdn.tcl

# To allow the core rings to fit inside the core area
Expand Down
7 changes: 7 additions & 0 deletions flow/platforms/ihp-sg13g2/global_connect.tcl
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Global connections, made at floorplan right after the netlist is
# loaded (GLOBAL_CONNECT_TCL); the PDN scripts define the grids.
add_global_connection -net {VDD} -pin_pattern {^VDD$} -power
add_global_connection -net {VDD} -pin_pattern {^VDDPE$}
add_global_connection -net {VDD} -pin_pattern {^VDDCE$}
add_global_connection -net {VSS} -pin_pattern {^VSS$} -ground
add_global_connection -net {VSS} -pin_pattern {^VSSE$}
10 changes: 0 additions & 10 deletions flow/platforms/ihp-sg13g2/pdn.tcl
Original file line number Diff line number Diff line change
@@ -1,14 +1,4 @@
####################################
# global connections
####################################
# standard cells
add_global_connection -net {VDD} -pin_pattern {^VDD$} -power
add_global_connection -net {VDD} -pin_pattern {^VDDPE$}
add_global_connection -net {VDD} -pin_pattern {^VDDCE$}
add_global_connection -net {VSS} -pin_pattern {^VSS$} -ground
add_global_connection -net {VSS} -pin_pattern {^VSSE$}
global_connect
####################################
# voltage domains
####################################
set_voltage_domain -name {CORE} -power {VDD} -ground {VSS}
Expand Down
1 change: 1 addition & 0 deletions flow/platforms/nangate45/config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ export IO_PLACER_H ?= metal5
export IO_PLACER_V ?= metal6

# Define default PDN config
export GLOBAL_CONNECT_TCL ?= $(PLATFORM_DIR)/global_connect.tcl
export PDN_TCL ?= $(PLATFORM_DIR)/grid_strategy-M1-M4-M7.tcl

# Endcap and Welltie cells
Expand Down
7 changes: 7 additions & 0 deletions flow/platforms/nangate45/global_connect.tcl
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Global connections, made at floorplan right after the netlist is
# loaded (GLOBAL_CONNECT_TCL); the PDN scripts define the grids.
add_global_connection -net {VDD} -inst_pattern {.*} -pin_pattern {^VDD$} -power
add_global_connection -net {VDD} -inst_pattern {.*} -pin_pattern {^VDDPE$}
add_global_connection -net {VDD} -inst_pattern {.*} -pin_pattern {^VDDCE$}
add_global_connection -net {VSS} -inst_pattern {.*} -pin_pattern {^VSS$} -ground
add_global_connection -net {VSS} -inst_pattern {.*} -pin_pattern {^VSSE$}
9 changes: 0 additions & 9 deletions flow/platforms/nangate45/grid_strategy-M1-M4-M7.tcl
Original file line number Diff line number Diff line change
@@ -1,13 +1,4 @@
####################################
# global connections
####################################
add_global_connection -net {VDD} -inst_pattern {.*} -pin_pattern {^VDD$} -power
add_global_connection -net {VDD} -inst_pattern {.*} -pin_pattern {^VDDPE$}
add_global_connection -net {VDD} -inst_pattern {.*} -pin_pattern {^VDDCE$}
add_global_connection -net {VSS} -inst_pattern {.*} -pin_pattern {^VSS$} -ground
add_global_connection -net {VSS} -inst_pattern {.*} -pin_pattern {^VSSE$}
global_connect
####################################
# voltage domains
####################################
set_voltage_domain -name {CORE} -power {VDD} -ground {VSS}
Expand Down
1 change: 1 addition & 0 deletions flow/platforms/sky130hd/config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ export IO_PLACER_H ?= met3
export IO_PLACER_V ?= met2

# Define default PDN config
export GLOBAL_CONNECT_TCL ?= $(PLATFORM_DIR)/global_connect.tcl
export PDN_TCL ?= $(PLATFORM_DIR)/pdn.tcl

# Endcap and Welltie cells
Expand Down
11 changes: 11 additions & 0 deletions flow/platforms/sky130hd/global_connect.tcl
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Global connections, made at floorplan right after the netlist is
# loaded (GLOBAL_CONNECT_TCL); the PDN scripts define the grids.
add_global_connection -net {VDD} -inst_pattern {.*} -pin_pattern {^VDD$} -power
add_global_connection -net {VDD} -inst_pattern {.*} -pin_pattern {^VDDPE$}
add_global_connection -net {VDD} -inst_pattern {.*} -pin_pattern {^VDDCE$}
add_global_connection -net {VDD} -inst_pattern {.*} -pin_pattern {VPWR}
add_global_connection -net {VDD} -inst_pattern {.*} -pin_pattern {VPB}
add_global_connection -net {VSS} -inst_pattern {.*} -pin_pattern {^VSS$} -ground
add_global_connection -net {VSS} -inst_pattern {.*} -pin_pattern {^VSSE$}
add_global_connection -net {VSS} -inst_pattern {.*} -pin_pattern {VGND}
add_global_connection -net {VSS} -inst_pattern {.*} -pin_pattern {VNB}
13 changes: 0 additions & 13 deletions flow/platforms/sky130hd/pdn.tcl
Original file line number Diff line number Diff line change
@@ -1,17 +1,4 @@
####################################
# global connections
####################################
add_global_connection -net {VDD} -inst_pattern {.*} -pin_pattern {^VDD$} -power
add_global_connection -net {VDD} -inst_pattern {.*} -pin_pattern {^VDDPE$}
add_global_connection -net {VDD} -inst_pattern {.*} -pin_pattern {^VDDCE$}
add_global_connection -net {VDD} -inst_pattern {.*} -pin_pattern {VPWR}
add_global_connection -net {VDD} -inst_pattern {.*} -pin_pattern {VPB}
add_global_connection -net {VSS} -inst_pattern {.*} -pin_pattern {^VSS$} -ground
add_global_connection -net {VSS} -inst_pattern {.*} -pin_pattern {^VSSE$}
add_global_connection -net {VSS} -inst_pattern {.*} -pin_pattern {VGND}
add_global_connection -net {VSS} -inst_pattern {.*} -pin_pattern {VNB}
global_connect
####################################
# voltage domains
####################################
set_voltage_domain -name {CORE} -power {VDD} -ground {VSS}
Expand Down
Loading