diff options
author | gatecat <gatecat@ds0.me> | 2022-12-07 10:00:53 +0100 |
---|---|---|
committer | gatecat <gatecat@ds0.me> | 2022-12-07 10:00:53 +0100 |
commit | e260ac33abdd175f38ea5d8367c52a154b486648 (patch) | |
tree | 56ca8a3877a1270bcac51160067e1016abcb97cf /generic/viaduct_api.cc | |
parent | cd3b76e3f7ce9d9927087f6fdd38e04968688ee7 (diff) | |
download | nextpnr-e260ac33abdd175f38ea5d8367c52a154b486648.tar.gz nextpnr-e260ac33abdd175f38ea5d8367c52a154b486648.tar.bz2 nextpnr-e260ac33abdd175f38ea5d8367c52a154b486648.zip |
refactor: ArcBounds -> BoundingBox
Signed-off-by: gatecat <gatecat@ds0.me>
Diffstat (limited to 'generic/viaduct_api.cc')
-rw-r--r-- | generic/viaduct_api.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/viaduct_api.cc b/generic/viaduct_api.cc index 8a7b6313..626150c2 100644 --- a/generic/viaduct_api.cc +++ b/generic/viaduct_api.cc @@ -61,9 +61,9 @@ delay_t ViaductAPI::predictDelay(BelId src_bel, IdString src_pin, BelId dst_bel, int dy = abs(sink_loc.y - driver_loc.y); return (dx + dy) * ctx->args.delayScale + ctx->args.delayOffset; } -ArcBounds ViaductAPI::getRouteBoundingBox(WireId src, WireId dst) const +BoundingBox ViaductAPI::getRouteBoundingBox(WireId src, WireId dst) const { - ArcBounds bb; + BoundingBox bb; int src_x = ctx->wire_info(src).x; int src_y = ctx->wire_info(src).y; int dst_x = ctx->wire_info(dst).x; |