diff options
author | Eddie Hung <e.hung@imperial.ac.uk> | 2018-07-23 07:16:39 -0700 |
---|---|---|
committer | Eddie Hung <e.hung@imperial.ac.uk> | 2018-07-23 07:16:39 -0700 |
commit | 771edd1fda8692930e186a8913b7588d18fda710 (patch) | |
tree | e77d130f96c8061374318f036856aa73d431017d /ice40/arch_pybindings.cc | |
parent | e92698f32e3d6ff1ac8cfccc46c966114acb8433 (diff) | |
parent | 14c33cd197b420da1ef9a5a2ed5c19e4490ba7c9 (diff) | |
download | nextpnr-771edd1fda8692930e186a8913b7588d18fda710.tar.gz nextpnr-771edd1fda8692930e186a8913b7588d18fda710.tar.bz2 nextpnr-771edd1fda8692930e186a8913b7588d18fda710.zip |
Merge branch 'master' into redist_slack
Diffstat (limited to 'ice40/arch_pybindings.cc')
-rw-r--r-- | ice40/arch_pybindings.cc | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/ice40/arch_pybindings.cc b/ice40/arch_pybindings.cc index fd5109b4..246d0f57 100644 --- a/ice40/arch_pybindings.cc +++ b/ice40/arch_pybindings.cc @@ -82,12 +82,10 @@ void arch_wrap_python() fn_wrapper_1a<Context, decltype(&Context::getBelsAtSameTile), &Context::getBelsAtSameTile, wrap_context<BelRange>, conv_from_str<BelId>>::def_wrap(ctx_cls, "getBelsAtSameTile"); - fn_wrapper_2a<Context, decltype(&Context::getWireBelPin), &Context::getWireBelPin, conv_to_str<WireId>, - conv_from_str<BelId>, conv_from_str<PortPin>>::def_wrap(ctx_cls, "getWireBelPin"); - fn_wrapper_1a<Context, decltype(&Context::getBelPinUphill), &Context::getBelPinUphill, wrap_context<BelPin>, - conv_from_str<WireId>>::def_wrap(ctx_cls, "getBelPinUphill"); - fn_wrapper_1a<Context, decltype(&Context::getBelPinsDownhill), &Context::getBelPinsDownhill, - wrap_context<BelPinRange>, conv_from_str<WireId>>::def_wrap(ctx_cls, "getBelPinsDownhill"); + fn_wrapper_2a<Context, decltype(&Context::getBelPinWire), &Context::getBelPinWire, conv_to_str<WireId>, + conv_from_str<BelId>, conv_from_str<PortPin>>::def_wrap(ctx_cls, "getBelPinWire"); + fn_wrapper_1a<Context, decltype(&Context::getWireBelPins), &Context::getWireBelPins, wrap_context<BelPinRange>, + conv_from_str<WireId>>::def_wrap(ctx_cls, "getWireBelPins"); fn_wrapper_1a<Context, decltype(&Context::getWireChecksum), &Context::getWireChecksum, pass_through<uint32_t>, conv_from_str<WireId>>::def_wrap(ctx_cls, "getWireChecksum"); |