Skip to content

Commit 9d2ecdf

Browse files
committed
move report_metrics to the correct place
Signed-off-by: Eder Monteiro <[email protected]>
1 parent 80c8caa commit 9d2ecdf

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

flow/scripts/global_route.tcl

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,10 @@ if { [info exists ::env(RECOVER_POWER)] } {
5151
}
5252

5353
source $env(SCRIPTS_DIR)/report_metrics.tcl
54-
report_metrics "global route pre repair design"
5554

5655
if { ![info exists ::env(SKIP_INCREMENTAL_REPAIR)] } {
56+
report_metrics "global route pre repair design"
57+
5758
# Repair design using global route parasitics
5859
puts "Perform buffer insertion..."
5960
repair_design
@@ -80,11 +81,6 @@ if { ![info exists ::env(SKIP_INCREMENTAL_REPAIR)] } {
8081
global_route -end_incremental -congestion_report_file $env(REPORTS_DIR)/congestion_post_repair_timing.rpt
8182
}
8283

83-
set_propagated_clock [all_clocks]
84-
estimate_parasitics -global_routing
85-
86-
report_metrics "global route"
87-
8884
puts "\n=========================================================================="
8985
puts "check_antennas"
9086
puts "--------------------------------------------------------------------------"
@@ -93,6 +89,10 @@ repair_antennas -iterations 5
9389
check_placement -verbose
9490
check_antennas -report_file $env(REPORTS_DIR)/antenna.log -report_violating_nets
9591

92+
set_propagated_clock [all_clocks]
93+
estimate_parasitics -global_routing
94+
report_metrics "global route"
95+
9696
# Write SDC to results with updated clock periods that are just failing.
9797
# Use make target update_sdc_clock to install the updated sdc.
9898
source [file join $env(SCRIPTS_DIR) "write_ref_sdc.tcl"]

0 commit comments

Comments
 (0)