aboutsummaryrefslogtreecommitdiffstats
path: root/ice40
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 /ice40
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 'ice40')
-rw-r--r--ice40/arch.cc4
-rw-r--r--ice40/arch.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/ice40/arch.cc b/ice40/arch.cc
index c9c99d3a..6a80a6ff 100644
--- a/ice40/arch.cc
+++ b/ice40/arch.cc
@@ -1265,9 +1265,9 @@ void Arch::assignCellInfo(CellInfo *cell)
}
}
-ArcBounds Arch::getRouteBoundingBox(WireId src, WireId dst) const
+BoundingBox Arch::getRouteBoundingBox(WireId src, WireId dst) const
{
- ArcBounds bb;
+ BoundingBox bb;
int src_x = chip_info->wire_data[src.index].x;
int src_y = chip_info->wire_data[src.index].y;
diff --git a/ice40/arch.h b/ice40/arch.h
index 498a8b71..9d10cddf 100644
--- a/ice40/arch.h
+++ b/ice40/arch.h
@@ -802,7 +802,7 @@ struct Arch : BaseArch<ArchRanges>
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;
// -------------------------------------------------