Skip to content

Commit 2aed93a

Browse files
flow: remove duplicate PRE/POST hook calls Remove duplicate Signed-off-by: Dhirenderchoudhary
Signed-off-by: Dhirenderchoudhary <dhirenderchoudhary0001@gmail.com>
1 parent 8443baf commit 2aed93a

16 files changed

+0
-21
lines changed

flow/scripts/cts.tcl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
utl::set_metrics_stage "cts__{}"
22
source $::env(SCRIPTS_DIR)/load.tcl
3-
source_step_tcl PRE CTS
43
source $::env(SCRIPTS_DIR)/lec_check.tcl
54
erase_non_stage_variables cts
65
load_design 3_place.odb 3_place.sdc

flow/scripts/density_fill.tcl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
source $::env(SCRIPTS_DIR)/load.tcl
2-
source_step_tcl PRE DENSITY_FILL
32
erase_non_stage_variables final
43
load_design 5_route.odb 5_route.sdc
54
source_step_tcl PRE DENSITY_FILL

flow/scripts/detail_place.tcl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
utl::set_metrics_stage "detailedplace__{}"
22
source $::env(SCRIPTS_DIR)/load.tcl
3-
source_step_tcl PRE DETAIL_PLACE
43
erase_non_stage_variables place
54
load_design 3_4_place_resized.odb 2_floorplan.sdc
65
source_step_tcl PRE DETAIL_PLACE

flow/scripts/detail_route.tcl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
utl::set_metrics_stage "detailedroute__{}"
22
source $::env(SCRIPTS_DIR)/load.tcl
3-
source_step_tcl PRE DETAIL_ROUTE
43
load_design 5_1_grt.odb 5_1_grt.sdc
54
source_step_tcl PRE DETAIL_ROUTE
65
if { ![grt::have_routes] } {

flow/scripts/fillcell.tcl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
source $::env(SCRIPTS_DIR)/load.tcl
2-
source_step_tcl PRE FILLCELL
32
erase_non_stage_variables route
43
if { [env_var_exists_and_non_empty FILL_CELLS] } {
54
load_design 5_2_route.odb 5_1_grt.sdc
@@ -10,7 +9,6 @@ if { [env_var_exists_and_non_empty FILL_CELLS] } {
109
log_cmd filler_placement $::env(FILL_CELLS)
1110
check_placement
1211

13-
source_step_tcl POST FILLCELL
1412
orfs_write_db $::env(RESULTS_DIR)/5_3_fillcell.odb
1513
} else {
1614
log_cmd exec cp $::env(RESULTS_DIR)/5_2_route.odb $::env(RESULTS_DIR)/5_3_fillcell.odb

flow/scripts/final_report.tcl

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
utl::set_metrics_stage "finish__{}"
22
source $::env(SCRIPTS_DIR)/load.tcl
3-
source_step_tcl PRE FINAL_REPORT
43
erase_non_stage_variables final
54
load_design 6_1_fill.odb 6_1_fill.sdc
65
source_step_tcl PRE FINAL_REPORT
@@ -72,5 +71,3 @@ source_step_tcl POST FINAL_REPORT
7271
if { [ord::openroad_gui_compiled] && [env_var_exists_and_non_empty DISPLAY] } {
7372
gui::show "source $::env(SCRIPTS_DIR)/save_images.tcl" false
7473
}
75-
76-
source_step_tcl POST FINAL_REPORT

flow/scripts/floorplan.tcl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
utl::set_metrics_stage "floorplan__{}"
22
source $::env(SCRIPTS_DIR)/load.tcl
3-
source_step_tcl PRE FLOORPLAN
43
erase_non_stage_variables floorplan
54
load_design 1_synth.odb 1_synth.sdc
65
source_step_tcl PRE FLOORPLAN

flow/scripts/global_place.tcl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
utl::set_metrics_stage "globalplace__{}"
22
source $::env(SCRIPTS_DIR)/load.tcl
3-
source_step_tcl PRE GLOBAL_PLACE
43
erase_non_stage_variables place
54
load_design 3_2_place_iop.odb 2_floorplan.sdc
65
source_step_tcl PRE GLOBAL_PLACE

flow/scripts/global_place_skip_io.tcl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
source $::env(SCRIPTS_DIR)/load.tcl
2-
source_step_tcl PRE GLOBAL_PLACE_SKIP_IO
32
erase_non_stage_variables place
43
load_design 2_floorplan.odb 2_floorplan.sdc
54
source_step_tcl PRE GLOBAL_PLACE_SKIP_IO

flow/scripts/global_route.tcl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,6 @@ proc global_route_helper { } {
112112
# Use make target update_sdc_clock to install the updated sdc.
113113
source [file join $::env(SCRIPTS_DIR) "write_ref_sdc.tcl"]
114114

115-
source_step_tcl POST GLOBAL_ROUTE
116-
117115
write_guides $::env(RESULTS_DIR)/route.guide
118116
source_step_tcl POST GLOBAL_ROUTE
119117
orfs_write_db $::env(RESULTS_DIR)/5_1_grt.odb

0 commit comments

Comments
 (0)