diff --git a/common/arch_pybindings_shared.h b/common/arch_pybindings_shared.h index ef355a54..69d7025f 100644 --- a/common/arch_pybindings_shared.h +++ b/common/arch_pybindings_shared.h @@ -116,6 +116,9 @@ fn_wrapper_0a, pass_through>::def_wrap(ctx_cls, "writeSVG"); +fn_wrapper_1a, + conv_from_str>::def_wrap(ctx_cls, "isBelLocationValid"); + // const\_range\ getBelBuckets() const fn_wrapper_0a>::def_wrap(ctx_cls, "getBelBuckets"); diff --git a/fpga_interchange/arch_pybindings.cc b/fpga_interchange/arch_pybindings.cc index 4fddad93..68619866 100644 --- a/fpga_interchange/arch_pybindings.cc +++ b/fpga_interchange/arch_pybindings.cc @@ -44,6 +44,11 @@ void arch_wrap_python(py::module &m) .def("place", &Context::place) .def("route", &Context::route); + fn_wrapper_0a_v::def_wrap( + ctx_cls, "remove_site_routing"); + fn_wrapper_1a_v>::def_wrap(ctx_cls, "explain_bel_status"); + typedef std::unordered_map> CellMap; typedef std::unordered_map> NetMap; typedef std::unordered_map AliasMap;