mirror of
https://github.com/YosysHQ/nextpnr.git
synced 2026-04-16 00:21:46 +00:00
propagate netShareWeight
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -41,6 +41,7 @@ struct PlacerHeapCfg
|
||||
bool timing_driven;
|
||||
float solverTolerance;
|
||||
bool placeAllAtOnce;
|
||||
float netShareWeight;
|
||||
bool parallelRefine;
|
||||
int cell_placement_timeout;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user