aboutsummaryrefslogtreecommitdiffstats
path: root/nexus
diff options
context:
space:
mode:
authorgatecat <gatecat@ds0.me>2022-12-07 10:00:53 +0100
committergatecat <gatecat@ds0.me>2022-12-07 10:00:53 +0100
commite260ac33abdd175f38ea5d8367c52a154b486648 (patch)
tree56ca8a3877a1270bcac51160067e1016abcb97cf /nexus
parentcd3b76e3f7ce9d9927087f6fdd38e04968688ee7 (diff)
downloadnextpnr-e260ac33abdd175f38ea5d8367c52a154b486648.tar.gz
nextpnr-e260ac33abdd175f38ea5d8367c52a154b486648.tar.bz2
nextpnr-e260ac33abdd175f38ea5d8367c52a154b486648.zip
refactor: ArcBounds -> BoundingBox
Signed-off-by: gatecat <gatecat@ds0.me>
Diffstat (limited to 'nexus')
-rw-r--r--nexus/arch.cc4
-rw-r--r--nexus/arch.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/nexus/arch.cc b/nexus/arch.cc
index 5b1e8c16..187e5312 100644
--- a/nexus/arch.cc
+++ b/nexus/arch.cc
@@ -702,9 +702,9 @@ delay_t Arch::predictDelay(BelId src_bel, IdString src_pin, BelId dst_bel, IdStr
bool Arch::getBudgetOverride(const NetInfo *net_info, const PortRef &sink, delay_t &budget) const { return false; }
-ArcBounds Arch::getRouteBoundingBox(WireId src, WireId dst) const
+BoundingBox Arch::getRouteBoundingBox(WireId src, WireId dst) const
{
- ArcBounds bb;
+ BoundingBox bb;
int src_x = src.tile % chip_info->width, src_y = src.tile / chip_info->width;
int dst_x = dst.tile % chip_info->width, dst_y = dst.tile / chip_info->width;
diff --git a/nexus/arch.h b/nexus/arch.h
index 41c54cd8..5ac16f28 100644
--- a/nexus/arch.h
+++ b/nexus/arch.h
@@ -1300,7 +1300,7 @@ struct Arch : BaseArch<ArchRanges>
delay_t getDelayFromNS(float ns) const override { return delay_t(ns * 1000); }
uint32_t getDelayChecksum(delay_t v) const override { return v; }
bool getBudgetOverride(const NetInfo *net_info, const PortRef &sink, delay_t &budget) const override;
- ArcBounds getRouteBoundingBox(WireId src, WireId dst) const override;
+ BoundingBox getRouteBoundingBox(WireId src, WireId dst) const override;
// for better DSP bounding boxes
void pre_routing();