Skip to content

Commit

Permalink
Merge pull request #2572 from Pinata-Consulting/place-density-consist…
Browse files Browse the repository at this point in the history
…ency

placement: PLACE_DENSITY_LB_ADDON code tweak
  • Loading branch information
maliberty authored Nov 18, 2024
2 parents 3049f70 + aa3253a commit 28d9f13
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions flow/scripts/util.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,8 @@ proc erase_non_stage_variables {stage_name} {
set global_route_congestion_report $::env(REPORTS_DIR)/congestion.rpt

proc place_density_with_lb_addon {} {
# check the lower boundary of the PLACE_DENSITY and add PLACE_DENSITY_LB_ADDON if it exists
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
set place_density_lb [gpl::get_global_placement_uniform_density \
-pad_left $::env(CELL_PAD_IN_SITES_GLOBAL_PLACEMENT) \
-pad_right $::env(CELL_PAD_IN_SITES_GLOBAL_PLACEMENT)]
Expand Down

0 comments on commit 28d9f13

Please sign in to comment.