diff options
author | gatecat <gatecat@ds0.me> | 2022-12-07 10:00:53 +0100 |
---|---|---|
committer | gatecat <gatecat@ds0.me> | 2022-12-07 10:00:53 +0100 |
commit | e260ac33abdd175f38ea5d8367c52a154b486648 (patch) | |
tree | 56ca8a3877a1270bcac51160067e1016abcb97cf /ecp5 | |
parent | cd3b76e3f7ce9d9927087f6fdd38e04968688ee7 (diff) | |
download | nextpnr-e260ac33abdd175f38ea5d8367c52a154b486648.tar.gz nextpnr-e260ac33abdd175f38ea5d8367c52a154b486648.tar.bz2 nextpnr-e260ac33abdd175f38ea5d8367c52a154b486648.zip |
refactor: ArcBounds -> BoundingBox
Signed-off-by: gatecat <gatecat@ds0.me>
Diffstat (limited to 'ecp5')
-rw-r--r-- | ecp5/arch.cc | 4 | ||||
-rw-r--r-- | ecp5/arch.h | 2 |
2 files changed, 3 insertions, 3 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; diff --git a/ecp5/arch.h b/ecp5/arch.h index 86504520..a40719c1 100644 --- a/ecp5/arch.h +++ b/ecp5/arch.h @@ -968,7 +968,7 @@ struct Arch : BaseArch<ArchRanges> // ------------------------------------------------- delay_t estimateDelay(WireId src, WireId dst) const override; - ArcBounds getRouteBoundingBox(WireId src, WireId dst) const override; + BoundingBox getRouteBoundingBox(WireId src, WireId dst) const override; delay_t predictDelay(BelId src_bel, IdString src_pin, BelId dst_bel, IdString dst_pin) const override; delay_t getDelayEpsilon() const override { return 20; } delay_t getRipupDelayPenalty() const override; |