ng_ultra: Expand bounding box further for left-edge IO
Signed-off-by: gatecat <gatecat@ds0.me>
This commit is contained in:
parent
4e0243d3e4
commit
0353c1c1dc
@ -700,10 +700,13 @@ BoundingBox NgUltraImpl::getRouteBoundingBox(WireId src, WireId dst) const
|
|||||||
tile_xy(ctx->chip_info, dst.tile, dx, dy);
|
tile_xy(ctx->chip_info, dst.tile, dx, dy);
|
||||||
expand(dx, dy);
|
expand(dx, dy);
|
||||||
// Two TILEs left and up, and one tile right and down
|
// Two TILEs left and up, and one tile right and down
|
||||||
return {(x0 & 0xfffc) - 8,
|
int exp = 8;
|
||||||
(y0 & 0xfffc) - 8,
|
if (x0 == 0 || y0==0 || y1==52*4 || x1==96*4)
|
||||||
(x1 & 0xfffc) + 8,
|
exp = 24; // more expansion around IO
|
||||||
(y1 & 0xfffc) + 8};
|
return {(x0 & 0xfffc) - exp,
|
||||||
|
(y0 & 0xfffc) - exp,
|
||||||
|
(x1 & 0xfffc) + exp,
|
||||||
|
(y1 & 0xfffc) + exp};
|
||||||
}
|
}
|
||||||
|
|
||||||
delay_t NgUltraImpl::estimateDelay(WireId src, WireId dst) const
|
delay_t NgUltraImpl::estimateDelay(WireId src, WireId dst) const
|
||||||
|
Loading…
Reference in New Issue
Block a user