Skip to content

Commit

Permalink
Merge pull request #2679 from Pinata-Consulting/export-clean-out-supe…
Browse files Browse the repository at this point in the history
…rfluous-quotes

config.mk: clean out superfluous quotes in export statements
  • Loading branch information
maliberty authored Jan 13, 2025
2 parents ceff92c + caa28fa commit d331b37
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 14 deletions.
8 changes: 4 additions & 4 deletions flow/platforms/asap7/config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ ifeq ($(ASAP7_USELVT), 1)

export ABC_DRIVER_CELL = BUFx2_ASAP7_75t_L

export FILL_CELLS ?= "FILLERxp5_ASAP7_75t_L"
export FILL_CELLS ?= FILLERxp5_ASAP7_75t_L

export TAP_CELL_NAME ?= TAPCELL_ASAP7_75t_L

Expand Down Expand Up @@ -214,7 +214,7 @@ ifeq ($(ASAP7_USESLVT), 1)

export ABC_DRIVER_CELL = BUFx2_ASAP7_75t_SL

export FILL_CELLS ?= "FILLERxp5_ASAP7_75t_SL"
export FILL_CELLS ?= FILLERxp5_ASAP7_75t_SL

export TAP_CELL_NAME ?= TAPCELL_ASAP7_75t_SL

Expand Down Expand Up @@ -272,8 +272,8 @@ export DONT_USE_SC_LIB = $(OBJECTS_DIR)/lib/merged.lib

# IR drop estimation supply net name to be analyzed and supply voltage variable
# For multiple nets: PWR_NETS_VOLTAGES = "VDD1 1.8 VDD2 1.2"
export PWR_NETS_VOLTAGES ?= "VDD $(VOLTAGE)"
export GND_NETS_VOLTAGES ?= "VSS 0.0"
export PWR_NETS_VOLTAGES ?= VDD $(VOLTAGE)
export GND_NETS_VOLTAGES ?= VSS 0.0
export IR_DROP_LAYER ?= M1

# Allow empty GDS cell
Expand Down
4 changes: 2 additions & 2 deletions flow/platforms/ihp-sg13g2/config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,8 @@ export RCX_RULES = $(PLATFORM_DIR)/rcx_patterns.rules

# IR drop estimation supply net name to be analyzed and supply voltage variable
# For multiple nets: PWR_NETS_VOLTAGES = "VDD1 1.8 VDD2 1.2"
export PWR_NETS_VOLTAGES ?= "VDD 1.2"
export GND_NETS_VOLTAGES ?= "VSS 0.0"
export PWR_NETS_VOLTAGES ?= VDD 1.2
export GND_NETS_VOLTAGES ?= VSS 0.0
export IR_DROP_LAYER ?= Metal1

# DRC Check
Expand Down
4 changes: 2 additions & 2 deletions flow/platforms/nangate45/config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,6 @@ export RCX_RULES = $(PLATFORM_DIR)/rcx_patterns.rules

# IR drop estimation supply net name to be analyzed and supply voltage variable
# For multiple nets: PWR_NETS_VOLTAGES = "VDD1 1.8 VDD2 1.2"
export PWR_NETS_VOLTAGES ?= "VDD 1.1"
export GND_NETS_VOLTAGES ?= "VSS 0.0"
export PWR_NETS_VOLTAGES ?= VDD 1.1
export GND_NETS_VOLTAGES ?= VSS 0.0
export IR_DROP_LAYER ?= metal1
4 changes: 2 additions & 2 deletions flow/platforms/sky130hd/config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,8 @@ export RCX_RULES = $(PLATFORM_DIR)/rcx_patterns.rules

# IR drop estimation supply net name to be analyzed and supply voltage variable
# For multiple nets: PWR_NETS_VOLTAGES = "VDD1 1.8 VDD2 1.2"
export PWR_NETS_VOLTAGES ?= "VDD 1.8"
export GND_NETS_VOLTAGES ?= "VSS 0.0"
export PWR_NETS_VOLTAGES ?= VDD 1.8
export GND_NETS_VOLTAGES ?= VSS 0.0
export IR_DROP_LAYER ?= met1

# DRC Check
Expand Down
4 changes: 2 additions & 2 deletions flow/platforms/sky130hs/config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,6 @@ export RCX_RULES = $(PLATFORM_DIR)/rcx_patterns.rules

# IR drop estimation supply net name to be analyzed and supply voltage variable
# For multiple nets: PWR_NETS_VOLTAGES = "VDD1 1.8 VDD2 1.2"
export PWR_NETS_VOLTAGES ?= "VDD 1.8"
export GND_NETS_VOLTAGES ?= "VSS 0.0"
export PWR_NETS_VOLTAGES ?= VDD 1.8
export GND_NETS_VOLTAGES ?= VSS 0.0
export IR_DROP_LAYER ?= met1
4 changes: 2 additions & 2 deletions flow/scripts/final_report.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ if {[env_var_exists_and_non_empty RCX_RULES]} {

# Static IR drop analysis
if {[env_var_exists_and_non_empty PWR_NETS_VOLTAGES]} {
dict for {pwrNetName pwrNetVoltage} {*}$::env(PWR_NETS_VOLTAGES) {
dict for {pwrNetName pwrNetVoltage} $::env(PWR_NETS_VOLTAGES) {
set_pdnsim_net_voltage -net ${pwrNetName} -voltage ${pwrNetVoltage}
analyze_power_grid -net ${pwrNetName} \
-error_file $::env(REPORTS_DIR)/${pwrNetName}.rpt
Expand All @@ -48,7 +48,7 @@ if {[env_var_exists_and_non_empty RCX_RULES]} {
puts "IR drop analysis for power nets is skipped because PWR_NETS_VOLTAGES is undefined"
}
if {[env_var_exists_and_non_empty GND_NETS_VOLTAGES]} {
dict for {gndNetName gndNetVoltage} {*}$::env(GND_NETS_VOLTAGES) {
dict for {gndNetName gndNetVoltage} $::env(GND_NETS_VOLTAGES) {
set_pdnsim_net_voltage -net ${gndNetName} -voltage ${gndNetVoltage}
analyze_power_grid -net ${gndNetName} \
-error_file $::env(REPORTS_DIR)/${gndNetName}.rpt
Expand Down

0 comments on commit d331b37

Please sign in to comment.