Skip to content

Commit 4776c3e

Browse files
authored
Merge pull request #4140 from The-OpenROAD-Project-staging/secure-fix-dpl-calls
Log for DPL calls
2 parents 804aed3 + b71425d commit 4776c3e

3 files changed

Lines changed: 5 additions & 3 deletions

File tree

flow/scripts/cts.tcl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ set_placement_padding -global \
4646
-left $::env(CELL_PAD_IN_SITES_DETAIL_PLACEMENT) \
4747
-right $::env(CELL_PAD_IN_SITES_DETAIL_PLACEMENT)
4848

49-
set result [catch { detailed_placement } msg]
49+
set result [catch { log_cmd detailed_placement } msg]
5050
if { $result != 0 } {
5151
save_progress 4_1_error
5252
error "Detailed placement failed in CTS: $msg"
@@ -70,7 +70,7 @@ if { !$::env(SKIP_CTS_REPAIR_TIMING) } {
7070
run_lec_test 4_rsz 4_before_rsz_lec.v 4_after_rsz_lec.v
7171
}
7272

73-
set result [catch { detailed_placement } msg]
73+
set result [catch { log_cmd detailed_placement } msg]
7474
if { $result != 0 } {
7575
save_progress 4_1_error
7676
error "Detailed placement failed in CTS: $msg"

flow/scripts/detail_place.tcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ proc do_dpl { } {
1515
set_placement_padding -global \
1616
-left $::env(CELL_PAD_IN_SITES_DETAIL_PLACEMENT) \
1717
-right $::env(CELL_PAD_IN_SITES_DETAIL_PLACEMENT)
18-
detailed_placement {*}[env_var_or_empty DETAIL_PLACEMENT_ARGS]
18+
log_cmd detailed_placement {*}[env_var_or_empty DETAIL_PLACEMENT_ARGS]
1919

2020
if { $::env(ENABLE_DPO) } {
2121
if { [env_var_exists_and_non_empty DPO_MAX_DISPLACEMENT] } {

flow/scripts/global_route.tcl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ proc global_route_helper { } {
8181
# Run to get modified net by DPL
8282
log_cmd global_route -start_incremental
8383
log_cmd detailed_placement
84+
check_placement -verbose
8485
# Route only the modified net by DPL
8586
log_cmd global_route -end_incremental {*}$res_aware \
8687
-congestion_report_file $::env(REPORTS_DIR)/congestion_post_repair_timing.rpt
@@ -99,6 +100,7 @@ proc global_route_helper { } {
99100
} {
100101
puts "Repair antennas..."
101102
repair_antennas -iterations $::env(MAX_REPAIR_ANTENNAS_ITER_GRT)
103+
# repair antennas calls DPL internally
102104
check_placement -verbose
103105
check_antennas -report_file $::env(REPORTS_DIR)/grt_antennas.log
104106
}

0 commit comments

Comments
 (0)