From e260ac33abdd175f38ea5d8367c52a154b486648 Mon Sep 17 00:00:00 2001 From: gatecat Date: Wed, 7 Dec 2022 10:00:53 +0100 Subject: refactor: ArcBounds -> BoundingBox Signed-off-by: gatecat --- nexus/arch.cc | 4 ++-- nexus/arch.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'nexus') 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 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(); -- cgit v1.2.3