From 1e0937573e23ba83878f87a6c738f0ac5b03d8ce Mon Sep 17 00:00:00 2001 From: Daniel Schultz Date: Thu, 27 Jun 2024 11:25:43 +0200 Subject: [PATCH] flow: platforms: ihp-sg13g2: Add IO files Add all IO related lib, lef, and gds files when 'FOOTPRINT_TCL' is set. Those files will be appended to the 'ADDITIONAL_x' variables. Signed-off-by: Daniel Schultz --- flow/platforms/ihp-sg13g2/config.mk | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/flow/platforms/ihp-sg13g2/config.mk b/flow/platforms/ihp-sg13g2/config.mk index fb0c78d738..481b734441 100644 --- a/flow/platforms/ihp-sg13g2/config.mk +++ b/flow/platforms/ihp-sg13g2/config.mk @@ -4,13 +4,22 @@ export PROCESS = ihp-sg13g2 #----------------------------------------------------- # Tech/Libs # ---------------------------------------------------- +# Add IO related files when a TCL script is assigned to 'FOOTPRINT_TCL'. +# This variable is used to pass IO information. +ifdef FOOTPRINT_TCL + export ADDITIONAL_LEFS += $(PLATFORM_DIR)/lef/sg13g2_io.lef \ + $(PLATFORM_DIR)/lef/bondpad_70x70.lef + export ADDITIONAL_LIBS += $(PLATFORM_DIR)/lib/sg13g2_io_dummy.lib + export ADDITIONAL_GDS += $(PLATFORM_DIR)/gds/sg13g2_io.gds \ + $(PLATFORM_DIR)/gds/bondpad_70x70.gds +endif export TECH_LEF = $(PLATFORM_DIR)/lef/sg13g2_tech.lef export SC_LEF = $(PLATFORM_DIR)/lef/sg13g2_stdcell.lef export LIB_FILES = $(PLATFORM_DIR)/lib/sg13g2_stdcell_typ_1p20V_25C.lib \ - $(ADDITIONAL_LIBS) + $(ADDITIONAL_LIBS) export GDS_FILES = $(PLATFORM_DIR)/gds/sg13g2_stdcell.gds \ - $(ADDITIONAL_GDS) + $(ADDITIONAL_GDS) # Dont use cells to ease congestion # Specify at least one filler cell if none