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 /gowin | |
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 'gowin')
-rw-r--r-- | gowin/arch.cc | 4 | ||||
-rw-r--r-- | gowin/arch.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/gowin/arch.cc b/gowin/arch.cc index 756580e0..05b09363 100644 --- a/gowin/arch.cc +++ b/gowin/arch.cc @@ -1890,9 +1890,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 = wires.at(src).x; int src_y = wires.at(src).y; diff --git a/gowin/arch.h b/gowin/arch.h index 0591e41a..231fae6e 100644 --- a/gowin/arch.h +++ b/gowin/arch.h @@ -446,7 +446,7 @@ struct Arch : BaseArch<ArchRanges> uint32_t getDelayChecksum(delay_t v) const override { return 0; } 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; bool pack() override; bool place() override; |