aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormyrtle <gatecat@ds0.me>2022-11-28 09:45:11 +0100
committerGitHub <noreply@github.com>2022-11-28 09:45:11 +0100
commit719f89806a688d8dee67bb3b17d1ac30662dc717 (patch)
treeb933ebf7dc72fe294ea7103888e691b2c094c12c
parentc61d490bd4577dccb164fd94368c44cfc7905876 (diff)
parent6ee3daf06a4f1d1f26c2bf9a328bff726e5a12ea (diff)
downloadnextpnr-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
-rw-r--r--ecp5/arch_pybindings.cc4
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;