Skip to content

Commit 6bfa37c

Browse files
committed
flow: designs: ihp-sg13g2: i2c-gpio-expander: Use generic pad.tcl
Use the platform specific pad.tcl file and only provide all pins for each bank. Signed-off-by: Daniel Schultz <dnltz@aesc-silicon.de>
1 parent 25e800f commit 6bfa37c

File tree

3 files changed

+30
-209
lines changed

3 files changed

+30
-209
lines changed

flow/designs/ihp-sg13g2/i2c-gpio-expander/I2cGpioExpanderTop.v

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,14 @@ module I2cGpioExpanderTop (
162162
.p2c (sg13g2_IOPad_io_gpio_7_p2c ), //o
163163
.pad (io_gpio_7_PAD ) //~
164164
);
165+
(* keep *) sg13g2_IOPadVdd sg13g2_IOPadVdd_inst (
166+
);
167+
(* keep *) sg13g2_IOPadVss sg13g2_IOPadVss_inst (
168+
);
169+
(* keep *) sg13g2_IOPadIOVss sg13g2_IOPadIOVss_inst (
170+
);
171+
(* keep *) sg13g2_IOPadIOVdd sg13g2_IOPadIOVdd_inst (
172+
);
165173
assign clock = sg13g2_IOPad_io_clock_p2c;
166174
assign reset = sg13g2_IOPad_io_reset_p2c;
167175
always @(*) begin

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

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,28 @@ export PLACE_DENSITY = 0.75
1818
export MACRO_PLACE_HALO = 20 20
1919
export CORNERS = slow fast
2020

21-
export FOOTPRINT_TCL = $(DESIGN_HOME)/$(PLATFORM)/$(DESIGN_NICKNAME)/pad.tcl
21+
export IO_NORTH_PINS = sg13g2_IOPad_io_gpio_3 \
22+
sg13g2_IOPad_io_gpio_4 \
23+
sg13g2_IOPad_io_gpio_5 \
24+
sg13g2_IOPad_io_gpio_6 \
25+
sg13g2_IOPad_io_gpio_7
26+
export IO_EAST_PINS = sg13g2_IOPadVdd_inst \
27+
sg13g2_IOPadVss_inst \
28+
sg13g2_IOPad_io_address_0 \
29+
sg13g2_IOPad_io_address_1 \
30+
sg13g2_IOPad_io_address_2
31+
export IO_SOUTH_PINS = sg13g2_IOPad_io_clock \
32+
sg13g2_IOPad_io_reset \
33+
sg13g2_IOPad_io_i2c_scl \
34+
sg13g2_IOPad_io_i2c_sda \
35+
sg13g2_IOPad_io_i2c_interrupt
36+
export IO_WEST_PINS = sg13g2_IOPad_io_gpio_0 \
37+
sg13g2_IOPad_io_gpio_1 \
38+
sg13g2_IOPad_io_gpio_2 \
39+
sg13g2_IOPadIOVss_inst \
40+
sg13g2_IOPadIOVdd_inst
41+
export FOOTPRINT_TCL = $(PLATFORM_DIR)/pad.tcl
42+
2243
export PDN_TCL = $(DESIGN_HOME)/$(PLATFORM)/$(DESIGN_NICKNAME)/pdn.tcl
2344

2445
export BLOCKS = I2cDeviceCtrl

flow/designs/ihp-sg13g2/i2c-gpio-expander/pad.tcl

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

0 commit comments

Comments
 (0)