From ba293437e02e01e09936d029d80d78ad601fc4e7 Mon Sep 17 00:00:00 2001 From: TG Date: Tue, 2 Jul 2024 15:15:20 +0200 Subject: [PATCH] ice40: Fix Python bindings for pip iterators --- ice40/arch_pybindings.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ice40/arch_pybindings.cc b/ice40/arch_pybindings.cc index 09fcff3c..a65ad082 100644 --- a/ice40/arch_pybindings.cc +++ b/ice40/arch_pybindings.cc @@ -81,8 +81,8 @@ void arch_wrap_python(py::module &m) readonly_wrapper>::def_wrap(belpin_cls, "bel"); readonly_wrapper>::def_wrap(belpin_cls, "pin"); - typedef const PipRange UphillPipRange; - typedef const PipRange DownhillPipRange; + typedef PipRange UphillPipRange; + typedef PipRange DownhillPipRange; typedef const std::vector &BelBucketRange; typedef const std::vector &BelRangeForBelBucket;