diff options
Diffstat (limited to 'common/place')
-rw-r--r-- | common/place/placer_heap.cc | 6 | ||||
-rw-r--r-- | common/place/placer_heap.h | 1 |
2 files changed, 6 insertions, 1 deletions
diff --git a/common/place/placer_heap.cc b/common/place/placer_heap.cc index 7fa27206..fd722d15 100644 --- a/common/place/placer_heap.cc +++ b/common/place/placer_heap.cc @@ -362,7 +362,11 @@ class HeAPPlacer } else #endif { - if (!placer1_refine(ctx, Placer1Cfg(ctx))) { + auto placer1_cfg = Placer1Cfg(ctx); + placer1_cfg.hpwl_scale_x = cfg.hpwl_scale_x; + placer1_cfg.hpwl_scale_y = cfg.hpwl_scale_y; + placer1_cfg.netShareWeight = cfg.netShareWeight; + if (!placer1_refine(ctx, placer1_cfg)) { return false; } } diff --git a/common/place/placer_heap.h b/common/place/placer_heap.h index e554a8e0..c79e3dfc 100644 --- a/common/place/placer_heap.h +++ b/common/place/placer_heap.h @@ -41,6 +41,7 @@ struct PlacerHeapCfg bool timing_driven; float solverTolerance; bool placeAllAtOnce; + float netShareWeight; bool parallelRefine; int cell_placement_timeout; |