From 37f0886cb9e949cb49250f973a852c816b5ab892 Mon Sep 17 00:00:00 2001 From: gatecat Date: Thu, 4 Aug 2022 10:55:19 +0200 Subject: generic: addBelPin with direction as an arg Signed-off-by: gatecat --- generic/arch_pybindings.cc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'generic/arch_pybindings.cc') diff --git a/generic/arch_pybindings.cc b/generic/arch_pybindings.cc index e0a2f0f2..a5a0bed9 100644 --- a/generic/arch_pybindings.cc +++ b/generic/arch_pybindings.cc @@ -105,6 +105,12 @@ void arch_wrap_python(py::module &m) fn_wrapper_3a_v, conv_from_str, conv_from_str>::def_wrap(ctx_cls, "addBelInout", "bel"_a, "name"_a, "wire"_a); + fn_wrapper_4a_v, + conv_from_str, conv_from_str, pass_through>::def_wrap(ctx_cls, + "addBelPin", + "bel"_a, "name"_a, + "wire"_a, + "type"_a); fn_wrapper_2a_v, conv_from_str>::def_wrap(ctx_cls, "addGroupBel", "group"_a, "bel"_a); -- cgit v1.2.3