Skip to content

Commit 54919ca

Browse files
committed
remove unecessary code
Signed-off-by: Augusto Berndt <augusto.berndt@precisioninno.com>
1 parent 86d697e commit 54919ca

3 files changed

Lines changed: 5 additions & 5 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-
if { [env_var_exists_and_non_empty USE_NEGOTIATION] && $::env(USE_NEGOTIATION) } {
49+
if { $::env(USE_NEGOTIATION) } {
5050
set result [catch { log_cmd detailed_placement -use_negotiation } msg]
5151
} else {
5252
set result [catch { log_cmd detailed_placement } msg]
@@ -74,7 +74,7 @@ if { !$::env(SKIP_CTS_REPAIR_TIMING) } {
7474
run_lec_test 4_rsz 4_before_rsz_lec.v 4_after_rsz_lec.v
7575
}
7676

77-
if { [env_var_exists_and_non_empty USE_NEGOTIATION] && $::env(USE_NEGOTIATION) } {
77+
if { $::env(USE_NEGOTIATION) } {
7878
set result [catch { log_cmd detailed_placement -use_negotiation } msg]
7979
} else {
8080
set result [catch { log_cmd detailed_placement } 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-
if { [env_var_exists_and_non_empty USE_NEGOTIATION] && $::env(USE_NEGOTIATION) } {
18+
if { $::env(USE_NEGOTIATION) } {
1919
log_cmd detailed_placement -use_negotiation {*}[env_var_or_empty DETAIL_PLACEMENT_ARGS]
2020
} else {
2121
log_cmd detailed_placement {*}[env_var_or_empty DETAIL_PLACEMENT_ARGS]

flow/scripts/global_route.tcl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ proc global_route_helper { } {
6262
# Running DPL to fix overlapped instances
6363
# Run to get modified net by DPL
6464
log_cmd global_route -start_incremental
65-
if { [env_var_exists_and_non_empty USE_NEGOTIATION] && $::env(USE_NEGOTIATION) } {
65+
if { $::env(USE_NEGOTIATION) } {
6666
log_cmd detailed_placement -use_negotiation
6767
} else {
6868
log_cmd detailed_placement
@@ -84,7 +84,7 @@ proc global_route_helper { } {
8484
# Running DPL to fix overlapped instances
8585
# Run to get modified net by DPL
8686
log_cmd global_route -start_incremental
87-
if { [env_var_exists_and_non_empty USE_NEGOTIATION] && $::env(USE_NEGOTIATION) } {
87+
if { $::env(USE_NEGOTIATION) } {
8888
log_cmd detailed_placement -use_negotiation
8989
} else {
9090
log_cmd detailed_placement

0 commit comments

Comments
 (0)