Skip to content

Commit a39de4d

Browse files
committed
add --tee and source util.tcl for deleteNonClkNets/deletePowerNets
These scripts were missed in the run_command.py migration. Add the --tee flag so output is captured, and source util.tcl for consistency with the other flow scripts. Signed-off-by: Matt Liberty <mliberty@precisioninno.com>
1 parent 55d323b commit a39de4d

3 files changed

Lines changed: 6 additions & 2 deletions

File tree

flow/scripts/deleteNonClkNets.tcl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
source $::env(SCRIPTS_DIR)/util.tcl
2+
13
read_lef $::env(TECH_LEF)
24
read_lef $::env(SC_LEF)
35
if { [info exist ::env(ADDITIONAL_LEFS)] } {

flow/scripts/deletePowerNets.tcl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
source $::env(SCRIPTS_DIR)/util.tcl
2+
13
read_lef $::env(TECH_LEF)
24
read_lef $::env(SC_LEF)
35
if { [info exist ::env(ADDITIONAL_LEFS)] } {

flow/util/utils.mk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,10 +150,10 @@ clean_issues:
150150
rm -f vars*.sh vars*.tcl vars*.gdb run-me*.sh
151151

152152
$(RESULTS_DIR)/6_final_only_clk.def: $(RESULTS_DIR)/6_final.def
153-
$(RUN_CMD) -- $(OPENROAD_CMD) $(SCRIPTS_DIR)/deleteNonClkNets.tcl
153+
$(RUN_CMD) --tee -- $(OPENROAD_CMD) $(SCRIPTS_DIR)/deleteNonClkNets.tcl
154154

155155
$(RESULTS_DIR)/6_final_no_power.def: $(RESULTS_DIR)/6_final.def
156-
$(RUN_CMD) -- $(OPENROAD_CMD) $(SCRIPTS_DIR)/deletePowerNets.tcl
156+
$(RUN_CMD) --tee -- $(OPENROAD_CMD) $(SCRIPTS_DIR)/deletePowerNets.tcl
157157

158158

159159
.PHONY: gallery

0 commit comments

Comments
 (0)