From 339198b394b7f2cdd3bafb2c8c819c1561813f65 Mon Sep 17 00:00:00 2001 From: Sergiusz Bazanski Date: Sat, 14 Jul 2018 18:50:07 +0100 Subject: [PATCH] Revert "Remove unimplemented pybindings (for now)" This reverts commit 53393b993fb211a3ce98262b0dd636d2e8420d2d. --- ice40/arch_pybindings.cc | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/ice40/arch_pybindings.cc b/ice40/arch_pybindings.cc index a2a90191..aeb4348a 100644 --- a/ice40/arch_pybindings.cc +++ b/ice40/arch_pybindings.cc @@ -65,13 +65,25 @@ void arch_wrap_python() fn_wrapper_1a, conv_from_str>::def_wrap(ctx_cls, "getBelType"); + //fn_wrapper_1a, + // conv_from_str>::def_wrap(ctx_cls, "checkBelAvail"); fn_wrapper_1a, conv_from_str>::def_wrap(ctx_cls, "getBelChecksum"); + //fn_wrapper_3a_v, + // conv_from_str, pass_through>::def_wrap(ctx_cls, "bindBel"); + //fn_wrapper_1a_v>::def_wrap( + // ctx_cls, "unbindBel"); + //fn_wrapper_1a, + // conv_from_str>::def_wrap(ctx_cls, "getBoundBelCell"); + //fn_wrapper_1a, conv_from_str>::def_wrap(ctx_cls, "getConflictingBelCell"); fn_wrapper_0a>::def_wrap(ctx_cls, "getBels"); fn_wrapper_1a, conv_from_str>::def_wrap(ctx_cls, "getBelsAtSameTile"); + //fn_wrapper_2a, + // conv_from_str, conv_from_str>::def_wrap(ctx_cls, "getWireBelPin"); fn_wrapper_1a, conv_from_str>::def_wrap(ctx_cls, "getBelPinUphill"); fn_wrapper_1a, conv_from_str>::def_wrap(ctx_cls, "getWireChecksum"); + //fn_wrapper_3a_v, + // conv_from_str, pass_through>::def_wrap(ctx_cls, "bindWire"); + //fn_wrapper_1a_v>::def_wrap( + // ctx_cls, "unbindWire"); + //fn_wrapper_1a, + // conv_from_str>::def_wrap(ctx_cls, "checkWireAvail"); + //fn_wrapper_1a, + // conv_from_str>::def_wrap(ctx_cls, "getBoundWireNet"); + //fn_wrapper_1a, conv_from_str>::def_wrap(ctx_cls, "getConflictingWireNet"); fn_wrapper_0a>::def_wrap( ctx_cls, "getWires"); @@ -87,6 +109,16 @@ void arch_wrap_python() ctx_cls, "getPips"); fn_wrapper_1a, conv_from_str>::def_wrap(ctx_cls, "getPipChecksum"); + //fn_wrapper_3a_v, + // conv_from_str, pass_through>::def_wrap(ctx_cls, "bindPip"); + //fn_wrapper_1a_v>::def_wrap( + // ctx_cls, "unbindPip"); + //fn_wrapper_1a, + // conv_from_str>::def_wrap(ctx_cls, "checkPipAvail"); + //fn_wrapper_1a, + // conv_from_str>::def_wrap(ctx_cls, "getBoundPipNet"); + //fn_wrapper_1a, conv_from_str>::def_wrap(ctx_cls, "getConflictingPipNet"); fn_wrapper_1a, conv_from_str>::def_wrap(ctx_cls, "getPipsDownhill");