heap: improved net weighting
This commit is contained in:
parent
5bfe0dd1b1
commit
0e8fd0e89f
@ -752,8 +752,7 @@ class HeAPPlacer
|
|||||||
std::abs(o_pos - this_pos)));
|
std::abs(o_pos - this_pos)));
|
||||||
|
|
||||||
if (user_idx) {
|
if (user_idx) {
|
||||||
weight *= (1.0 + cfg.timingWeight * std::pow(tmg.get_criticality(CellPortKey(port)),
|
weight = tmg.get_criticality(CellPortKey(port)) * ni->users.entries() * double(std::abs(o_pos - this_pos));
|
||||||
cfg.criticalityExponent));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// If cell 0 is not fixed, it will stamp +w on its equation and -w on the other end's equation,
|
// If cell 0 is not fixed, it will stamp +w on its equation and -w on the other end's equation,
|
||||||
|
Loading…
Reference in New Issue
Block a user