Compare commits

...

1 Commits

Author SHA1 Message Date
Lofty
0e8fd0e89f heap: improved net weighting 2023-11-19 03:34:27 +00:00

View File

@ -752,8 +752,7 @@ class HeAPPlacer
std::abs(o_pos - this_pos)));
if (user_idx) {
weight *= (1.0 + cfg.timingWeight * std::pow(tmg.get_criticality(CellPortKey(port)),
cfg.criticalityExponent));
weight = tmg.get_criticality(CellPortKey(port)) * ni->users.entries() * double(std::abs(o_pos - this_pos));
}
// If cell 0 is not fixed, it will stamp +w on its equation and -w on the other end's equation,