diff options
Diffstat (limited to 'fpga_interchange/arch_pybindings.cc')
-rw-r--r-- | fpga_interchange/arch_pybindings.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fpga_interchange/arch_pybindings.cc b/fpga_interchange/arch_pybindings.cc index 1ad2286b..dee6a720 100644 --- a/fpga_interchange/arch_pybindings.cc +++ b/fpga_interchange/arch_pybindings.cc @@ -55,8 +55,10 @@ 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 FilteredBelRange BelRangeForBelBucket; #include "arch_pybindings_shared.h" + WRAP_RANGE(m, BelBucket, conv_to_str<BelBucketId>); WRAP_RANGE(m, Bel, conv_to_str<BelId>); WRAP_RANGE(m, Wire, conv_to_str<WireId>); WRAP_RANGE(m, AllPip, conv_to_str<PipId>); |