diff options
author | myrtle <gatecat@ds0.me> | 2022-12-07 10:26:17 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-07 10:26:17 +0100 |
commit | 519011533a3b7582b984226536cb424d462d1599 (patch) | |
tree | 31ee37d2c50481ab5f5a5bec2b07ac46d7d7d9ca /gowin | |
parent | a342b96bb0d4370d3e575a0189da2273b94ea765 (diff) | |
parent | d1afd6c0f1f8452d7461bbf33c84dbfd59236d03 (diff) | |
download | nextpnr-519011533a3b7582b984226536cb424d462d1599.tar.gz nextpnr-519011533a3b7582b984226536cb424d462d1599.tar.bz2 nextpnr-519011533a3b7582b984226536cb424d462d1599.zip |
Merge pull request #1058 from YosysHQ/gatecat/bounds-refactor
refactor: rename ArcBounds -> BoundingBox and use this in HeAP
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 4d732680..0f080734 100644 --- a/gowin/arch.cc +++ b/gowin/arch.cc @@ -1909,9 +1909,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 3e614eba..8513d2da 100644 --- a/gowin/arch.h +++ b/gowin/arch.h @@ -447,7 +447,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; |