diff --git a/himbaechel/arch_pybindings.cc b/himbaechel/arch_pybindings.cc index 3825670b..1acc5a4c 100644 --- a/himbaechel/arch_pybindings.cc +++ b/himbaechel/arch_pybindings.cc @@ -52,6 +52,10 @@ void arch_wrap_python(py::module &m) readonly_wrapper>::def_wrap(belpin_cls, "bel"); readonly_wrapper>::def_wrap(belpin_cls, "pin"); + // Useful for debugging routing database + fn_wrapper_1a, conv_from_str>::def_wrap(ctx_cls, "get_tile_wire_range"); + typedef const std::vector &BelBucketRange; typedef const std::vector &BelRangeForBelBucket; #include "arch_pybindings_shared.h" @@ -63,6 +67,8 @@ void arch_wrap_python(py::module &m) WRAP_RANGE(m, DownhillPip, conv_to_str); WRAP_RANGE(m, BelPin, wrap_context); + WRAP_RANGE(m, TileWire, conv_to_str); + WRAP_MAP_UPTR(m, CellMap, "IdCellMap"); WRAP_MAP_UPTR(m, NetMap, "IdNetMap"); WRAP_MAP(m, HierarchyMap, wrap_context, "HierarchyMap");