aboutsummaryrefslogtreecommitdiffstats
path: root/machxo2
diff options
context:
space:
mode:
authorLofty <dan.ravensloft@gmail.com>2023-02-13 12:49:00 +0000
committerLofty <dan.ravensloft@gmail.com>2023-02-13 12:49:00 +0000
commit52b02f7377a1fc88a7e1678e57af803f4d1bcc0c (patch)
tree4f3b82f0c6e3ee55086de19e93bec9dd80750e0c /machxo2
parentb5125aac314ed346ed5a86eb62d89e21727887d1 (diff)
downloadnextpnr-52b02f7377a1fc88a7e1678e57af803f4d1bcc0c.tar.gz
nextpnr-52b02f7377a1fc88a7e1678e57af803f4d1bcc0c.tar.bz2
nextpnr-52b02f7377a1fc88a7e1678e57af803f4d1bcc0c.zip
machxo2: Fix Python bindings for pip iterators
Diffstat (limited to 'machxo2')
-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;