diff options
author | myrtle <gatecat@ds0.me> | 2022-11-28 09:45:11 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-28 09:45:11 +0100 |
commit | 719f89806a688d8dee67bb3b17d1ac30662dc717 (patch) | |
tree | b933ebf7dc72fe294ea7103888e691b2c094c12c /ecp5/arch_pybindings.cc | |
parent | c61d490bd4577dccb164fd94368c44cfc7905876 (diff) | |
parent | 6ee3daf06a4f1d1f26c2bf9a328bff726e5a12ea (diff) | |
download | nextpnr-719f89806a688d8dee67bb3b17d1ac30662dc717.tar.gz nextpnr-719f89806a688d8dee67bb3b17d1ac30662dc717.tar.bz2 nextpnr-719f89806a688d8dee67bb3b17d1ac30662dc717.zip |
Merge pull request #1053 from YosysHQ/gatecat/pbfix
ecp5: Fix Python bindings for pip iterators
Diffstat (limited to 'ecp5/arch_pybindings.cc')
-rw-r--r-- | ecp5/arch_pybindings.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ecp5/arch_pybindings.cc b/ecp5/arch_pybindings.cc index 1621eda5..a4a58d4c 100644 --- a/ecp5/arch_pybindings.cc +++ b/ecp5/arch_pybindings.cc @@ -54,8 +54,8 @@ 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; + typedef PipRange UphillPipRange; + typedef PipRange DownhillPipRange; typedef const std::vector<BelBucketId> &BelBucketRange; typedef const std::vector<BelId> &BelRangeForBelBucket; |