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 /ecp5 | |
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 'ecp5')
-rw-r--r-- | ecp5/arch_pybindings.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ecp5/arch_pybindings.cc b/ecp5/arch_pybindings.cc index b8e48ccf..8618bec1 100644 --- a/ecp5/arch_pybindings.cc +++ b/ecp5/arch_pybindings.cc @@ -56,6 +56,9 @@ void arch_wrap_python(py::module &m) readonly_wrapper<BelPin, decltype(&BelPin::bel), &BelPin::bel, conv_to_str<BelId>>::def_wrap(belpin_cls, "bel"); readonly_wrapper<BelPin, decltype(&BelPin::pin), &BelPin::pin, conv_to_str<IdString>>::def_wrap(belpin_cls, "pin"); + typedef const PipRange UphillPipRange; + typedef const PipRange DownhillPipRange; + #include "arch_pybindings_shared.h" WRAP_RANGE(m, Bel, conv_to_str<BelId>); |