diff options
author | myrtle <gatecat@ds0.me> | 2022-12-07 10:26:17 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-07 10:26:17 +0100 |
commit | 519011533a3b7582b984226536cb424d462d1599 (patch) | |
tree | 31ee37d2c50481ab5f5a5bec2b07ac46d7d7d9ca /generic/viaduct_api.cc | |
parent | a342b96bb0d4370d3e575a0189da2273b94ea765 (diff) | |
parent | d1afd6c0f1f8452d7461bbf33c84dbfd59236d03 (diff) | |
download | nextpnr-519011533a3b7582b984226536cb424d462d1599.tar.gz nextpnr-519011533a3b7582b984226536cb424d462d1599.tar.bz2 nextpnr-519011533a3b7582b984226536cb424d462d1599.zip |
Merge pull request #1058 from YosysHQ/gatecat/bounds-refactor
refactor: rename ArcBounds -> BoundingBox and use this in HeAP
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; |