Tune predictDelay

This commit is contained in:
Eddie Hung 2018-12-07 20:22:30 -08:00
parent 9c0fd6816e
commit d37a57800b

View File

@ -127,8 +127,7 @@ delay_t Arch::estimateDelay(WireId src, WireId dst) const
else {
auto src_y = src_loc.second;
auto dst_y = dst_loc.second;
src_y -= src_y % 50;
dst_y -= dst_y % 50;
dst_y -= (dst_y % 52) - 26;
auto abs_delta_y = abs(src_y - dst_y);
return abs_delta_x + abs_delta_y;
}