propagate netShareWeight

This commit is contained in:
Miodrag Milanovic 2022-12-22 16:11:10 +01:00
parent bd628ce591
commit 4af8964069
2 changed files with 6 additions and 1 deletions

View File

@ -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;
}
}

View File

@ -41,6 +41,7 @@ struct PlacerHeapCfg
bool timing_driven;
float solverTolerance;
bool placeAllAtOnce;
float netShareWeight;
bool parallelRefine;
int cell_placement_timeout;