diff options
author | gatecat <gatecat@ds0.me> | 2022-11-28 09:00:41 +0100 |
---|---|---|
committer | gatecat <gatecat@ds0.me> | 2022-11-28 09:00:41 +0100 |
commit | 6ee3daf06a4f1d1f26c2bf9a328bff726e5a12ea (patch) | |
tree | b933ebf7dc72fe294ea7103888e691b2c094c12c /ecp5 | |
parent | c61d490bd4577dccb164fd94368c44cfc7905876 (diff) | |
download | nextpnr-6ee3daf06a4f1d1f26c2bf9a328bff726e5a12ea.tar.gz nextpnr-6ee3daf06a4f1d1f26c2bf9a328bff726e5a12ea.tar.bz2 nextpnr-6ee3daf06a4f1d1f26c2bf9a328bff726e5a12ea.zip |
ecp5: Fix Python bindings for pip iterators
Signed-off-by: gatecat <gatecat@ds0.me>
Diffstat (limited to 'ecp5')
-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; |