Skip to content

Commit b1c008a

Browse files
oharboeclaude
andcommitted
fix: add ihp-sg13g2 IO pad libs to i2c-gpio-expander for all corners
Explicitly declare IO pad verilog, LEF, lib (all corners), and GDS files for robustness, rather than relying on platform config.mk conditional logic. Cherry-pick of PR #4090. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
1 parent b0729be commit b1c008a

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

  • flow/designs/ihp-sg13g2/i2c-gpio-expander

flow/designs/ihp-sg13g2/i2c-gpio-expander/config.mk

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,15 @@ export PLATFORM = ihp-sg13g2
44

55
export VERILOG_FILES = $(DESIGN_HOME)/$(PLATFORM)/$(DESIGN_NICKNAME)/$(DESIGN_NAME).v \
66
$(DESIGN_HOME)/$(PLATFORM)/$(DESIGN_NICKNAME)/I2cGpioExpander.v
7+
# IO pad cells -- platform config.mk adds these conditionally when
8+
# FOOTPRINT_TCL is set, but declare them explicitly for robustness.
9+
export VERILOG_FILES += $(PLATFORM_DIR)/verilog/sg13g2_io.v
10+
export ADDITIONAL_LEFS += $(PLATFORM_DIR)/lef/sg13g2_io.lef \
11+
$(PLATFORM_DIR)/lef/bondpad_70x70.lef
12+
export ADDITIONAL_LIBS += $(PLATFORM_DIR)/lib/sg13g2_io_typ_1p2V_3p3V_25C.lib
13+
export ADDITIONAL_SLOW_LIBS += $(PLATFORM_DIR)/lib/sg13g2_io_slow_1p08V_3p0V_125C.lib
14+
export ADDITIONAL_FAST_LIBS += $(PLATFORM_DIR)/lib/sg13g2_io_fast_1p32V_3p6V_m40C.lib
15+
export ADDITIONAL_GDS += $(PLATFORM_DIR)/gds/sg13g2_io.gds
716
export SDC_FILE = $(DESIGN_HOME)/$(PLATFORM)/$(DESIGN_NICKNAME)/constraint.sdc
817

918
export SEAL_GDS = $(DESIGN_HOME)/$(PLATFORM)/$(DESIGN_NICKNAME)/sealring.gds.gz

0 commit comments

Comments
 (0)