ice40: Fix Python bindings for pip iterators

This commit is contained in:
TG 2024-07-02 15:15:20 +02:00 committed by myrtle
parent 0639681b73
commit ba293437e0

View File

@ -81,8 +81,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::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"); readonly_wrapper<BelPin, decltype(&BelPin::pin), &BelPin::pin, conv_to_str<IdString>>::def_wrap(belpin_cls, "pin");
typedef const PipRange UphillPipRange; typedef PipRange UphillPipRange;
typedef const PipRange DownhillPipRange; typedef PipRange DownhillPipRange;
typedef const std::vector<BelBucketId> &BelBucketRange; typedef const std::vector<BelBucketId> &BelBucketRange;
typedef const std::vector<BelId> &BelRangeForBelBucket; typedef const std::vector<BelId> &BelRangeForBelBucket;