aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormyrtle <gatecat@ds0.me>2023-02-13 14:07:51 +0100
committerGitHub <noreply@github.com>2023-02-13 14:07:51 +0100
commitdd9426606ae740c15d6c3afce9d749a246b11093 (patch)
tree4f3b82f0c6e3ee55086de19e93bec9dd80750e0c
parentb5125aac314ed346ed5a86eb62d89e21727887d1 (diff)
parent52b02f7377a1fc88a7e1678e57af803f4d1bcc0c (diff)
downloadnextpnr-dd9426606ae740c15d6c3afce9d749a246b11093.tar.gz
nextpnr-dd9426606ae740c15d6c3afce9d749a246b11093.tar.bz2
nextpnr-dd9426606ae740c15d6c3afce9d749a246b11093.zip
Merge pull request #1098 from YosysHQ/lofty/fix-machxo2-pybindings
machxo2: Fix Python bindings for pip iterators
-rw-r--r--machxo2/arch_pybindings.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/machxo2/arch_pybindings.cc b/machxo2/arch_pybindings.cc
index 2ed68697..3fcf721d 100644
--- a/machxo2/arch_pybindings.cc
+++ b/machxo2/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;