We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3049f70 + aa3253a commit 28d9f13Copy full SHA for 28d9f13
flow/scripts/util.tcl
@@ -153,8 +153,8 @@ proc erase_non_stage_variables {stage_name} {
153
set global_route_congestion_report $::env(REPORTS_DIR)/congestion.rpt
154
155
proc place_density_with_lb_addon {} {
156
- # check the lower boundary of the PLACE_DENSITY and add PLACE_DENSITY_LB_ADDON if it exists
157
- if {[info exist ::env(PLACE_DENSITY_LB_ADDON)]} {
+ if {[env_var_exists_and_non_empty PLACE_DENSITY_LB_ADDON]} {
+ # check the lower boundary of the PLACE_DENSITY and add PLACE_DENSITY_LB_ADDON
158
set place_density_lb [gpl::get_global_placement_uniform_density \
159
-pad_left $::env(CELL_PAD_IN_SITES_GLOBAL_PLACEMENT) \
160
-pad_right $::env(CELL_PAD_IN_SITES_GLOBAL_PLACEMENT)]
0 commit comments