From 58304a589ad3a6c41dd315d23c4b7d9f38b57d30 Mon Sep 17 00:00:00 2001 From: Augusto Berndt Date: Mon, 13 Apr 2026 13:17:29 +0000 Subject: [PATCH 1/3] include log_cmd to dpl call and include check placement to grt script Signed-off-by: Augusto Berndt --- flow/scripts/cts.tcl | 4 ++-- flow/scripts/detail_place.tcl | 2 +- flow/scripts/global_route.tcl | 2 ++ tools/OpenROAD | 2 +- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/flow/scripts/cts.tcl b/flow/scripts/cts.tcl index 700dabd012..5b681282a8 100644 --- a/flow/scripts/cts.tcl +++ b/flow/scripts/cts.tcl @@ -46,7 +46,7 @@ set_placement_padding -global \ -left $::env(CELL_PAD_IN_SITES_DETAIL_PLACEMENT) \ -right $::env(CELL_PAD_IN_SITES_DETAIL_PLACEMENT) -set result [catch { detailed_placement } msg] +set result [catch { logc_cmd detailed_placement } msg] if { $result != 0 } { save_progress 4_1_error error "Detailed placement failed in CTS: $msg" @@ -70,7 +70,7 @@ if { !$::env(SKIP_CTS_REPAIR_TIMING) } { run_lec_test 4_rsz 4_before_rsz_lec.v 4_after_rsz_lec.v } - set result [catch { detailed_placement } msg] + set result [catch { logc_cmd detailed_placement } msg] if { $result != 0 } { save_progress 4_1_error error "Detailed placement failed in CTS: $msg" diff --git a/flow/scripts/detail_place.tcl b/flow/scripts/detail_place.tcl index 17c14e41bb..17c4285ea8 100644 --- a/flow/scripts/detail_place.tcl +++ b/flow/scripts/detail_place.tcl @@ -15,7 +15,7 @@ proc do_dpl { } { set_placement_padding -global \ -left $::env(CELL_PAD_IN_SITES_DETAIL_PLACEMENT) \ -right $::env(CELL_PAD_IN_SITES_DETAIL_PLACEMENT) - detailed_placement {*}[env_var_or_empty DETAIL_PLACEMENT_ARGS] + log_cmd detailed_placement {*}[env_var_or_empty DETAIL_PLACEMENT_ARGS] if { $::env(ENABLE_DPO) } { if { [env_var_exists_and_non_empty DPO_MAX_DISPLACEMENT] } { diff --git a/flow/scripts/global_route.tcl b/flow/scripts/global_route.tcl index ddc5e90c0b..5be588d088 100644 --- a/flow/scripts/global_route.tcl +++ b/flow/scripts/global_route.tcl @@ -81,6 +81,7 @@ proc global_route_helper { } { # Run to get modified net by DPL log_cmd global_route -start_incremental log_cmd detailed_placement + check_placement -verbose # Route only the modified net by DPL log_cmd global_route -end_incremental {*}$res_aware \ -congestion_report_file $::env(REPORTS_DIR)/congestion_post_repair_timing.rpt @@ -99,6 +100,7 @@ proc global_route_helper { } { } { puts "Repair antennas..." repair_antennas -iterations $::env(MAX_REPAIR_ANTENNAS_ITER_GRT) + # repair antennas calls DPL internally check_placement -verbose check_antennas -report_file $::env(REPORTS_DIR)/grt_antennas.log } diff --git a/tools/OpenROAD b/tools/OpenROAD index 29d97c45b3..51daec4121 160000 --- a/tools/OpenROAD +++ b/tools/OpenROAD @@ -1 +1 @@ -Subproject commit 29d97c45b3e328b6141f76b72c9734f8b899ef14 +Subproject commit 51daec41210f197d1355500afc428a56cd5fbe8d From a4be31a70aeea6788b4fe96b9a2f86dffff46230 Mon Sep 17 00:00:00 2001 From: Augusto Berndt Date: Mon, 13 Apr 2026 13:28:56 +0000 Subject: [PATCH 2/3] fix log_cmd typo Signed-off-by: Augusto Berndt --- flow/scripts/cts.tcl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flow/scripts/cts.tcl b/flow/scripts/cts.tcl index 5b681282a8..fd544a332e 100644 --- a/flow/scripts/cts.tcl +++ b/flow/scripts/cts.tcl @@ -46,7 +46,7 @@ set_placement_padding -global \ -left $::env(CELL_PAD_IN_SITES_DETAIL_PLACEMENT) \ -right $::env(CELL_PAD_IN_SITES_DETAIL_PLACEMENT) -set result [catch { logc_cmd detailed_placement } msg] +set result [catch { log_cmd detailed_placement } msg] if { $result != 0 } { save_progress 4_1_error error "Detailed placement failed in CTS: $msg" @@ -70,7 +70,7 @@ if { !$::env(SKIP_CTS_REPAIR_TIMING) } { run_lec_test 4_rsz 4_before_rsz_lec.v 4_after_rsz_lec.v } - set result [catch { logc_cmd detailed_placement } msg] + set result [catch { log_cmd detailed_placement } msg] if { $result != 0 } { save_progress 4_1_error error "Detailed placement failed in CTS: $msg" From b71425d19a8b3a348462b58b20f44d12007be5c9 Mon Sep 17 00:00:00 2001 From: Augusto Berndt Date: Tue, 14 Apr 2026 00:06:13 +0000 Subject: [PATCH 3/3] update OR Signed-off-by: Augusto Berndt --- tools/OpenROAD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/OpenROAD b/tools/OpenROAD index 51daec4121..29d97c45b3 160000 --- a/tools/OpenROAD +++ b/tools/OpenROAD @@ -1 +1 @@ -Subproject commit 51daec41210f197d1355500afc428a56cd5fbe8d +Subproject commit 29d97c45b3e328b6141f76b72c9734f8b899ef14