Merge pull request #1098 from YosysHQ/lofty/fix-machxo2-pybindings

machxo2: Fix Python bindings for pip iterators
This commit is contained in:
myrtle 2023-02-13 14:07:51 +01:00 committed by GitHub
commit dd9426606a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;