Skip to content

Commit 3f1dd86

Browse files
committed
merge/rebase
Signed-off-by: Jeff Ng <[email protected]>
2 parents daaaa7e + d904d49 commit 3f1dd86

File tree

5 files changed

+41
-27
lines changed

5 files changed

+41
-27
lines changed
Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
1-
tapcell \
2-
-endcap_cpp "12" \
3-
-distance 100 \
4-
-tapcell_master $::env(TIE_CELL) \
5-
-endcap_master $::env(ENDCAP_CELL) \
6-
-halo_width_x $::env(MACRO_HALO_X) \
7-
-halo_width_y $::env(MACRO_HALO_Y)
1+
if {[info exists ::env(TAP_CELL_NAME)] && $::env(TAP_CELL_NAME) != "" &&
2+
[info exists ::env(ENDCAP_CELL_NAME)] && $::env(ENDCAP_CELL_NAME) != ""} {
3+
tapcell \
4+
-endcap_cpp "12" \
5+
-distance 100 \
6+
-tapcell_master $::env(TAP_CELL_NAME) \
7+
-endcap_master $::env(ENDCAP_CELL_NAME) \
8+
-halo_width_x $::env(MACRO_HALO_X) \
9+
-halo_width_y $::env(MACRO_HALO_Y)
10+
} else {
11+
puts "Skipping tapcell insertion since TAP_CELL_NAME and/or ENDCAP_CELL_NAME are not defined"
12+
}
813

Lines changed: 17 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,18 @@
1-
puts "Tap and End Cap cell insertion"
2-
puts " TAP Cell : $::env(TAP_CELL_NAME)"
3-
puts " ENDCAP Cell : $::env(TAP_CELL_NAME)"
4-
puts " Halo Around Macro : $::env(MACRO_HALO_X) $::env(MACRO_HALO_Y)"
5-
puts " TAP Cell Distance : 25"
1+
if {[info exists ::env(TAP_CELL_NAME)] && $::env(TAP_CELL_NAME) != "" &&
2+
[info exists ::env(ENDCAP_CELL_NAME)] && $::env(ENDCAP_CELL_NAME) != ""} {
3+
puts "Tap and End Cap cell insertion"
4+
puts " TAP Cell : $::env(TAP_CELL_NAME)"
5+
puts " ENDCAP Cell : $::env(TAP_CELL_NAME)"
6+
puts " Halo Around Macro : $::env(MACRO_HALO_X) $::env(MACRO_HALO_Y)"
7+
puts " TAP Cell Distance : 25"
68

7-
# allow user to set the halo around macro with MACRO_HALO_?
8-
tapcell \
9-
-distance 25 \
10-
-tapcell_master "$::env(TAP_CELL_NAME)" \
11-
-endcap_master "$::env(TAP_CELL_NAME)" \
12-
-halo_width_x $::env(MACRO_HALO_X) \
13-
-halo_width_y $::env(MACRO_HALO_Y)
9+
# allow user to set the halo around macro with MACRO_HALO_?
10+
tapcell \
11+
-distance 25 \
12+
-tapcell_master "$::env(TAP_CELL_NAME)" \
13+
-endcap_master "$::env(TAP_CELL_NAME)" \
14+
-halo_width_x $::env(MACRO_HALO_X) \
15+
-halo_width_y $::env(MACRO_HALO_Y)
16+
} else {
17+
puts "Skipping tapcell insertion since TAP_CELL_NAME and/or ENDCAP_CELL_NAME are not defined"
18+
}

flow/platforms/gf180/config.mk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ export FILL_CELLS ?= gf180mcu_fd_sc_mcu$(TRACK_OPTIO
3232
gf180mcu_fd_sc_mcu$(TRACK_OPTION)$(POWER_OPTION)__fill_2 \
3333
gf180mcu_fd_sc_mcu$(TRACK_OPTION)$(POWER_OPTION)__fill_1
3434

35-
export TIE_CELL = gf180mcu_fd_sc_mcu$(TRACK_OPTION)$(POWER_OPTION)__filltie
36-
export ENDCAP_CELL = gf180mcu_fd_sc_mcu$(TRACK_OPTION)$(POWER_OPTION)__endcap
35+
export TAP_CELL_NAME = gf180mcu_fd_sc_mcu$(TRACK_OPTION)$(POWER_OPTION)__filltie
36+
export ENDCAP_CELL_NAME = gf180mcu_fd_sc_mcu$(TRACK_OPTION)$(POWER_OPTION)__endcap
3737
export RC_FILE = $(PLATFORM_DIR)/setRC.tcl
3838

3939
#-----------------------------------------------------
Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
1-
tapcell \
2-
-endcap_cpp "12" \
3-
-distance 100 \
4-
-tapcell_master $::env(TIE_CELL) \
5-
-endcap_master $::env(ENDCAP_CELL)
1+
if {[info exists ::env(TAP_CELL_NAME)] && $::env(TAP_CELL_NAME) != "" &&
2+
[info exists ::env(ENDCAP_CELL_NAME)] && $::env(ENDCAP_CELL_NAME) != ""} {
3+
tapcell \
4+
-endcap_cpp "12" \
5+
-distance 100 \
6+
-tapcell_master $::env(TAP_CELL_NAME) \
7+
-endcap_master $::env(ENDCAP_CELL_NAME)
8+
} else {
9+
puts "Skipping tapcell insertion since TAP_CELL_NAME and/or ENDCAP_CELL_NAME are not defined"
10+
}

flow/platforms/nangate45/config.mk

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ export PDN_TCL ?= $(PLATFORM_DIR)/grid_strategy-M1-M4-M7.tcl
5858

5959
# Endcap and Welltie cells
6060
export TAP_CELL_NAME = TAPCELL_X1
61-
export TAPCELL_TCL ?= $(PLATFORM_DIR)/tapcell.tcl
6261

6362
export MACRO_PLACE_HALO ?= 22.4 15.12
6463
export MACRO_PLACE_CHANNEL ?= 18.8 19.95

0 commit comments

Comments
 (0)