aboutsummaryrefslogtreecommitdiffstats
path: root/machxo2
diff options
context:
space:
mode:
Diffstat (limited to 'machxo2')
-rw-r--r--machxo2/arch.cc4
-rw-r--r--machxo2/arch.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/machxo2/arch.cc b/machxo2/arch.cc
index b1a4a62a..93eb4e60 100644
--- a/machxo2/arch.cc
+++ b/machxo2/arch.cc
@@ -400,9 +400,9 @@ delay_t Arch::predictDelay(BelId src_bel, IdString src_pin, BelId dst_bel, IdStr
(0.01 + 0.01);
}
-ArcBounds Arch::getRouteBoundingBox(WireId src, WireId dst) const
+BoundingBox Arch::getRouteBoundingBox(WireId src, WireId dst) const
{
- ArcBounds bb;
+ BoundingBox bb;
bb.x0 = std::min(src.location.x, dst.location.x);
bb.y0 = std::min(src.location.y, dst.location.y);
bb.x1 = std::max(src.location.x, dst.location.x);
diff --git a/machxo2/arch.h b/machxo2/arch.h
index 347f4ede..ddcb9264 100644
--- a/machxo2/arch.h
+++ b/machxo2/arch.h
@@ -635,7 +635,7 @@ struct Arch : BaseArch<ArchRanges>
uint32_t getDelayChecksum(delay_t v) const override { return v; }
- ArcBounds getRouteBoundingBox(WireId src, WireId dst) const override;
+ BoundingBox getRouteBoundingBox(WireId src, WireId dst) const override;
// Flow
bool pack() override;