From a002ccfbc1b627a8de921e7940e9ffe37dc94ca3 Mon Sep 17 00:00:00 2001 From: gatecat Date: Mon, 15 Feb 2021 09:58:56 +0000 Subject: generic: Add APIs for controlling cell->bel pin mapping Signed-off-by: gatecat --- generic/arch_pybindings.cc | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'generic/arch_pybindings.cc') diff --git a/generic/arch_pybindings.cc b/generic/arch_pybindings.cc index 3dc04206..35ec3b33 100644 --- a/generic/arch_pybindings.cc +++ b/generic/arch_pybindings.cc @@ -226,6 +226,14 @@ void arch_wrap_python(py::module &m) pass_through>::def_wrap(ctx_cls, "addCellTimingClockToOut", "cell"_a, "port"_a, "clock"_a, "clktoq"_a); + fn_wrapper_2a_v, conv_from_str>::def_wrap(ctx_cls, "clearCellBelPinMap", "cell"_a, + "cell_pin"_a); + fn_wrapper_3a_v, conv_from_str, + conv_from_str>::def_wrap(ctx_cls, "addCellBelPinMapping", "cell"_a, "cell_pin"_a, + "bel_pin"_a); + // const\_range\ getBelBuckets() const fn_wrapper_0a &>>::def_wrap(ctx_cls, "getBelBuckets"); -- cgit v1.2.3