File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed
Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ source $::env(PLATFORM_DIR)/setRC.tcl
66
77proc do_dpl {} {
88 # Only for use with hybrid rows
9- if {[info exists ::env( BALANCE_ROWS)] && $::env(BALANCE_ROWS) } {
9+ if {[env_var_equals BALANCE_ROWS 1] } {
1010 balance_row_usage
1111 }
1212
@@ -15,7 +15,7 @@ proc do_dpl {} {
1515 -right $::env(CELL_PAD_IN_SITES_DETAIL_PLACEMENT)
1616 detailed_placement
1717
18- if {[info exists ::env( ENABLE_DPO)] && $::env(ENABLE_DPO) } {
18+ if {[env_var_equals ENABLE_DPO 1] } {
1919 if {[info exist ::env(DPO_MAX_DISPLACEMENT)]} {
2020 improve_placement -max_displacement $::env(DPO_MAX_DISPLACEMENT)
2121 } else {
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ proc load_design {design_file sdc_file} {
3636
3737 source $::env(PLATFORM_DIR) /setRC.tcl
3838
39- if { [info exists ::env( LIB_MODEL)] && $::env(LIB_MODEL) == " CCS" } {
39+ if { [env_var_equals LIB_MODEL CCS] } {
4040 puts " Using CCS delay calculation"
4141 set_delay_calculator prima
4242 }
Original file line number Diff line number Diff line change 11# To remove [WARNING STA-1212] from the logs for ASAP7.
22# /OpenROAD-flow-scripts/flow/platforms/asap7/lib/asap7sc7p5t_SIMPLE_RVT_TT_nldm_211120.lib.gz line 13178, timing group from output port.
33# Added following suppress_message
4- if {[info exists ::env( PLATFORM)] && $::env(PLATFORM) == " asap7" } {
4+ if {[env_var_equals PLATFORM asap7] } {
55 suppress_message STA 1212
66}
77
@@ -24,6 +24,6 @@ if {[env_var_exists_and_non_empty CORNERS]} {
2424 }
2525}
2626
27- if {[info exists ::env( PLATFORM)] && $::env(PLATFORM) == " asap7" } {
27+ if {[env_var_equals PLATFORM asap7] } {
2828 unsuppress_message STA 1212
2929}
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ proc report_puts { out } {
77}
88
99proc report_metrics { stage when {include_erc true} {include_clock_skew true} } {
10- if {[info exists ::env( SKIP_REPORT_METRICS)] && $::env(SKIP_REPORT_METRICS) == 1 } {
10+ if {[env_var_equals SKIP_REPORT_METRICS 1] } {
1111 return
1212 }
1313 puts " Report metrics stage $stage , $when ..."
You can’t perform that action at this time.
0 commit comments