diff options
author | David Shah <dave@ds0.me> | 2021-02-02 09:59:18 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-02 09:59:18 +0000 |
commit | efc98c517eb1d2eb4a8ecc2ae82e770aaa1a0edd (patch) | |
tree | 91e54daa7324b19dd1546e86160d57bdb3425e0d /nexus | |
parent | 7d0b134b483120869152b09800fdf4d9087da39e (diff) | |
parent | 5cf2f8d1ea60537f0c2061451b83e8eb2ba3eefa (diff) | |
download | nextpnr-efc98c517eb1d2eb4a8ecc2ae82e770aaa1a0edd.tar.gz nextpnr-efc98c517eb1d2eb4a8ecc2ae82e770aaa1a0edd.tar.bz2 nextpnr-efc98c517eb1d2eb4a8ecc2ae82e770aaa1a0edd.zip |
Merge pull request #563 from litghost/seperate_pip_range_types
Seperate PipRange types in pybindings_shared.
Diffstat (limited to 'nexus')
-rw-r--r-- | nexus/arch.h | 1 | ||||
-rw-r--r-- | nexus/arch_pybindings.cc | 3 |
2 files changed, 2 insertions, 2 deletions
diff --git a/nexus/arch.h b/nexus/arch.h index 8952ba6f..56b48bf3 100644 --- a/nexus/arch.h +++ b/nexus/arch.h @@ -999,7 +999,6 @@ struct Arch : BaseCtx BelId getBelByLocation(Loc loc) const { - BelId ret; auto &t = tileStatus.at(loc.y * chip_info->width + loc.x); if (loc.z >= int(t.bels_by_z.size())) return BelId(); diff --git a/nexus/arch_pybindings.cc b/nexus/arch_pybindings.cc index caab8312..1a3890ff 100644 --- a/nexus/arch_pybindings.cc +++ b/nexus/arch_pybindings.cc @@ -51,7 +51,8 @@ void arch_wrap_python(py::module &m) typedef std::unordered_map<IdString, HierarchicalCell> HierarchyMap; typedef std::unordered_map<IdString, IdString> AliasMap; - typedef UpDownhillPipRange PipRange; + typedef UpDownhillPipRange UphillPipRange; + typedef UpDownhillPipRange DownhillPipRange; typedef WireBelPinRange BelPinRange; #include "arch_pybindings_shared.h" |