diff options
Diffstat (limited to 'ice40')
| -rw-r--r-- | ice40/arch_pybindings.cc | 8 | 
1 files changed, 4 insertions, 4 deletions
| diff --git a/ice40/arch_pybindings.cc b/ice40/arch_pybindings.cc index 67a37983..ac8c189a 100644 --- a/ice40/arch_pybindings.cc +++ b/ice40/arch_pybindings.cc @@ -75,7 +75,7 @@ void arch_wrap_python()      fn_wrapper_1a<Context, decltype(&Context::getConflictingBelCell), &Context::getConflictingBelCell,                    conv_to_str<IdString>, conv_from_str<BelId>>::def_wrap(ctx_cls, "getConflictingBelCell");      fn_wrapper_0a<Context, decltype(&Context::getBels), &Context::getBels, wrap_context<BelRange>>::def_wrap(ctx_cls, -                                                                                                           "getBels"); +                                                                                                             "getBels");      fn_wrapper_1a<Context, decltype(&Context::getBelsAtSameTile), &Context::getBelsAtSameTile, wrap_context<BelRange>,                    conv_from_str<BelId>>::def_wrap(ctx_cls, "getBelsAtSameTile"); @@ -139,15 +139,15 @@ void arch_wrap_python()      fn_wrapper_0a<Context, decltype(&Context::getChipName), &Context::getChipName, pass_through<std::string>>::def_wrap(              ctx_cls, "getChipName");      fn_wrapper_0a<Context, decltype(&Context::archId), &Context::archId, conv_to_str<IdString>>::def_wrap(ctx_cls, -                                                                                                        "archId"); +                                                                                                          "archId");      typedef std::unordered_map<IdString, std::unique_ptr<CellInfo>> CellMap;      typedef std::unordered_map<IdString, std::unique_ptr<NetInfo>> NetMap;      readonly_wrapper<Context, decltype(&Context::cells), &Context::cells, wrap_context<CellMap &>>::def_wrap(ctx_cls, -                                                                                                           "cells"); +                                                                                                             "cells");      readonly_wrapper<Context, decltype(&Context::nets), &Context::nets, wrap_context<NetMap &>>::def_wrap(ctx_cls, -                                                                                                        "nets"); +                                                                                                          "nets");      WRAP_RANGE(Bel, conv_to_str<BelId>);      WRAP_RANGE(Wire, conv_to_str<WireId>);      WRAP_RANGE(AllPip, conv_to_str<PipId>); | 
