aboutsummaryrefslogtreecommitdiffstats
path: root/ecp5/arch.cc
diff options
context:
space:
mode:
authormyrtle <gatecat@ds0.me>2022-12-07 10:26:17 +0100
committerGitHub <noreply@github.com>2022-12-07 10:26:17 +0100
commit519011533a3b7582b984226536cb424d462d1599 (patch)
tree31ee37d2c50481ab5f5a5bec2b07ac46d7d7d9ca /ecp5/arch.cc
parenta342b96bb0d4370d3e575a0189da2273b94ea765 (diff)
parentd1afd6c0f1f8452d7461bbf33c84dbfd59236d03 (diff)
downloadnextpnr-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 'ecp5/arch.cc')
-rw-r--r--ecp5/arch.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/ecp5/arch.cc b/ecp5/arch.cc
index f031c904..eb874704 100644
--- a/ecp5/arch.cc
+++ b/ecp5/arch.cc
@@ -504,9 +504,9 @@ delay_t Arch::estimateDelay(WireId src, WireId dst) const
(6 + std::max(dx - 5, 0) + std::max(dy - 5, 0) + 2 * (std::min(dx, 5) + std::min(dy, 5)));
}
-ArcBounds Arch::getRouteBoundingBox(WireId src, WireId dst) const
+BoundingBox Arch::getRouteBoundingBox(WireId src, WireId dst) const
{
- ArcBounds bb;
+ BoundingBox bb;
bb.x0 = src.location.x;
bb.y0 = src.location.y;