From 2cf4e42bd897b2f053fda1faa32c4c6678594b50 Mon Sep 17 00:00:00 2001 From: Daniel Schultz Date: Thu, 12 Mar 2026 10:14:46 +0100 Subject: [PATCH 1/3] flow: designs: ihp-sg13g2: i2c-gpio-expander: Remove add_global_connect from macro There should be no add_global_connect for the padframe in a macro cell. Signed-off-by: Daniel Schultz --- .../ihp-sg13g2/i2c-gpio-expander/I2cDeviceCtrl/pdn.tcl | 8 -------- 1 file changed, 8 deletions(-) diff --git a/flow/designs/ihp-sg13g2/i2c-gpio-expander/I2cDeviceCtrl/pdn.tcl b/flow/designs/ihp-sg13g2/i2c-gpio-expander/I2cDeviceCtrl/pdn.tcl index 11a54c43c5..43c4891c2b 100644 --- a/flow/designs/ihp-sg13g2/i2c-gpio-expander/I2cDeviceCtrl/pdn.tcl +++ b/flow/designs/ihp-sg13g2/i2c-gpio-expander/I2cDeviceCtrl/pdn.tcl @@ -11,14 +11,6 @@ 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 -# padframe core power pins -add_global_connection -net {VDD} -pin_pattern {^vdd$} -power -add_global_connection -net {VSS} -pin_pattern {^vss$} -ground - -# padframe io power pins -add_global_connection -net {IOVDD} -pin_pattern {^iovdd$} -power -add_global_connection -net {IOVSS} -pin_pattern {^iovss$} -ground - global_connect # core voltage domain From ef92a830d828f49b3f911361e667a17b8a301bdf Mon Sep 17 00:00:00 2001 From: Daniel Schultz Date: Thu, 12 Mar 2026 10:17:35 +0100 Subject: [PATCH 2/3] flow: designs: ihp-sg13g2: i2c-gpio-expander: Move I2cDeviceCtrl macro Move the I2cDeviceCtrl macro slightly to the left for better connection between the macron on M5 and the chip-level TM1 pdn. Signed-off-by: Daniel Schultz --- flow/designs/ihp-sg13g2/i2c-gpio-expander/config.mk | 2 ++ flow/designs/ihp-sg13g2/i2c-gpio-expander/macros.tcl | 1 + 2 files changed, 3 insertions(+) create mode 100644 flow/designs/ihp-sg13g2/i2c-gpio-expander/macros.tcl diff --git a/flow/designs/ihp-sg13g2/i2c-gpio-expander/config.mk b/flow/designs/ihp-sg13g2/i2c-gpio-expander/config.mk index 2e85545f27..70ae7c201e 100644 --- a/flow/designs/ihp-sg13g2/i2c-gpio-expander/config.mk +++ b/flow/designs/ihp-sg13g2/i2c-gpio-expander/config.mk @@ -40,6 +40,8 @@ sg13g2_IOPadIOVss_inst \ sg13g2_IOPadIOVdd_inst export FOOTPRINT_TCL = $(PLATFORM_DIR)/pad.tcl +export MACRO_PLACEMENT_TCL = $(DESIGN_HOME)/$(PLATFORM)/$(DESIGN_NICKNAME)/macros.tcl + export PDN_TCL = $(DESIGN_HOME)/$(PLATFORM)/$(DESIGN_NICKNAME)/pdn.tcl export BLOCKS = I2cDeviceCtrl diff --git a/flow/designs/ihp-sg13g2/i2c-gpio-expander/macros.tcl b/flow/designs/ihp-sg13g2/i2c-gpio-expander/macros.tcl new file mode 100644 index 0000000000..da053f450f --- /dev/null +++ b/flow/designs/ihp-sg13g2/i2c-gpio-expander/macros.tcl @@ -0,0 +1 @@ +place_macro -macro_name system_expander.i2cCtrl -location {375.54 372} -orientation R0 -exact From fd5f6d77e2bef1b401e20c206868d84f57d728e7 Mon Sep 17 00:00:00 2001 From: Daniel Schultz Date: Thu, 12 Mar 2026 10:19:06 +0100 Subject: [PATCH 3/3] flow: designs: ihp-sg13g2: i2c-gpio-expander: Improve PDN Move the power ground ring from TM1+TM2 to M5+TM1. The connection between the IO ring and PGR will be estabilished with strips on TM2. When the PGR is using TM2, it won't have any connection to the IO cells on the north and south side because the connection strips won't need vias to connect to the PGR. Also increase the power strips width for the chip-level and macro power distribution netweek. Additionally, decrease the pitch and offset. Signed-off-by: Daniel Schultz --- .../ihp-sg13g2/i2c-gpio-expander/I2cDeviceCtrl/pdn.tcl | 6 +++--- flow/designs/ihp-sg13g2/i2c-gpio-expander/pdn.tcl | 8 +++++--- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/flow/designs/ihp-sg13g2/i2c-gpio-expander/I2cDeviceCtrl/pdn.tcl b/flow/designs/ihp-sg13g2/i2c-gpio-expander/I2cDeviceCtrl/pdn.tcl index 43c4891c2b..e6c2311a3a 100644 --- a/flow/designs/ihp-sg13g2/i2c-gpio-expander/I2cDeviceCtrl/pdn.tcl +++ b/flow/designs/ihp-sg13g2/i2c-gpio-expander/I2cDeviceCtrl/pdn.tcl @@ -21,10 +21,10 @@ define_pdn_grid -name {grid} -voltage_domains {CORE} -pins {Metal4 Metal5} add_pdn_stripe -grid {grid} -layer {Metal1} -width {0.44} -pitch {7.56} -offset {0} \ -followpins add_pdn_ring -grid {grid} -layers {Metal4 Metal5} -widths {3.0} -spacings {2.0} \ - -core_offsets {4.5} -connect_to_pads -add_pdn_stripe -grid {grid} -layer {Metal4} -width {1.840} -pitch {75.6} -offset {13.6} \ + -core_offsets {4.5} +add_pdn_stripe -grid {grid} -layer {Metal4} -width {2.0} -pitch {40.0} -offset {10.0} \ -extend_to_core_ring -add_pdn_stripe -grid {grid} -layer {Metal5} -width {1.840} -pitch {75.6} -offset {13.6} \ +add_pdn_stripe -grid {grid} -layer {Metal5} -width {2.0} -pitch {40.0} -offset {10.0} \ -extend_to_core_ring add_pdn_connect -grid {grid} -layers {Metal1 Metal4} add_pdn_connect -grid {grid} -layers {Metal4 Metal5} diff --git a/flow/designs/ihp-sg13g2/i2c-gpio-expander/pdn.tcl b/flow/designs/ihp-sg13g2/i2c-gpio-expander/pdn.tcl index 6006bf8471..aa317e8153 100644 --- a/flow/designs/ihp-sg13g2/i2c-gpio-expander/pdn.tcl +++ b/flow/designs/ihp-sg13g2/i2c-gpio-expander/pdn.tcl @@ -20,13 +20,15 @@ set_voltage_domain -name {CORE} -power {VDD} -ground {VSS} define_pdn_grid -name {grid} -voltage_domains {CORE} -pins {TopMetal1 TopMetal2} add_pdn_stripe -grid {grid} -layer {Metal1} -width {0.44} -pitch {7.56} -offset {0} \ -followpins -extend_to_core_ring -add_pdn_ring -grid {grid} -layers {TopMetal1 TopMetal2} -widths {8.0} -spacings {5.0} \ +add_pdn_ring -grid {grid} -layers {Metal5 TopMetal1} -widths {8.0} -spacings {5.0} \ -core_offsets {4.5} -connect_to_pads -add_pdn_stripe -grid {grid} -layer {TopMetal1} -width {2.200} -pitch {75.6} -offset {13.6} \ +add_pdn_stripe -grid {grid} -layer {TopMetal1} -width {4.0} -pitch {60.0} -offset {10.0} \ -extend_to_core_ring -add_pdn_stripe -grid {grid} -layer {TopMetal2} -width {2.200} -pitch {75.6} -offset {13.6} \ +add_pdn_stripe -grid {grid} -layer {TopMetal2} -width {4.0} -pitch {60.0} -offset {10.0} \ -extend_to_core_ring add_pdn_connect -grid {grid} -layers {Metal1 TopMetal1} +add_pdn_connect -grid {grid} -layers {Metal5 TopMetal1} +add_pdn_connect -grid {grid} -layers {Metal5 TopMetal2} add_pdn_connect -grid {grid} -layers {TopMetal1 TopMetal2} define_pdn_grid \