From cb8d90bcbf6524ef8706c0a262b8f1488b5746a8 Mon Sep 17 00:00:00 2001 From: David Shah Date: Tue, 1 Oct 2019 12:01:24 +0100 Subject: clangformat Signed-off-by: David Shah --- common/arch_pybindings_shared.h | 106 ++++++++++++++++++++-------------------- 1 file changed, 52 insertions(+), 54 deletions(-) (limited to 'common') diff --git a/common/arch_pybindings_shared.h b/common/arch_pybindings_shared.h index b90e80ec..f681af92 100644 --- a/common/arch_pybindings_shared.h +++ b/common/arch_pybindings_shared.h @@ -1,114 +1,112 @@ // Common Python bindings #included by all arches readonly_wrapper>::def_wrap(ctx_cls, -"cells"); -readonly_wrapper>::def_wrap(ctx_cls, -"nets"); -readonly_wrapper>::def_wrap(ctx_cls, "net_aliases"); + "cells"); +readonly_wrapper>::def_wrap(ctx_cls, "nets"); +readonly_wrapper>::def_wrap( + ctx_cls, "net_aliases"); fn_wrapper_1a, -conv_from_str>::def_wrap(ctx_cls, "getNetByAlias"); + conv_from_str>::def_wrap(ctx_cls, "getNetByAlias"); fn_wrapper_2a_v, -pass_through>::def_wrap(ctx_cls, "addClock"); + pass_through>::def_wrap(ctx_cls, "addClock"); fn_wrapper_5a_v, pass_through, pass_through, pass_through, -pass_through>::def_wrap(ctx_cls, "createRectangularRegion"); + conv_from_str, pass_through, pass_through, pass_through, + pass_through>::def_wrap(ctx_cls, "createRectangularRegion"); fn_wrapper_2a_v, -conv_from_str>::def_wrap(ctx_cls, "addBelToRegion"); + conv_from_str>::def_wrap(ctx_cls, "addBelToRegion"); fn_wrapper_2a_v, conv_from_str>::def_wrap(ctx_cls, "constrainCellToRegion"); - + conv_from_str, conv_from_str>::def_wrap(ctx_cls, "constrainCellToRegion"); fn_wrapper_1a, -conv_from_str>::def_wrap(ctx_cls, "createNet"); -fn_wrapper_3a_v, conv_from_str, -conv_from_str>::def_wrap(ctx_cls, "connectPort"); + conv_from_str>::def_wrap(ctx_cls, "createNet"); +fn_wrapper_3a_v, + conv_from_str, conv_from_str>::def_wrap(ctx_cls, "connectPort"); fn_wrapper_2a_v, -conv_from_str>::def_wrap(ctx_cls, "disconnectPort"); + conv_from_str>::def_wrap(ctx_cls, "disconnectPort"); fn_wrapper_1a_v>::def_wrap( ctx_cls, "ripupNet"); -fn_wrapper_1a_v>::def_wrap( - ctx_cls, "lockNetRouting"); +fn_wrapper_1a_v>::def_wrap(ctx_cls, "lockNetRouting"); fn_wrapper_2a, -conv_from_str, conv_from_str>::def_wrap(ctx_cls, "createCell"); -fn_wrapper_2a_v, conv_from_str>::def_wrap(ctx_cls, "copyBelPorts"); + conv_from_str, conv_from_str>::def_wrap(ctx_cls, "createCell"); +fn_wrapper_2a_v, + conv_from_str>::def_wrap(ctx_cls, "copyBelPorts"); fn_wrapper_1a, -conv_from_str>::def_wrap(ctx_cls, "getBelType"); + conv_from_str>::def_wrap(ctx_cls, "getBelType"); fn_wrapper_1a, -conv_from_str>::def_wrap(ctx_cls, "checkBelAvail"); + conv_from_str>::def_wrap(ctx_cls, "checkBelAvail"); fn_wrapper_1a, -conv_from_str>::def_wrap(ctx_cls, "getBelChecksum"); + conv_from_str>::def_wrap(ctx_cls, "getBelChecksum"); fn_wrapper_3a_v, -addr_and_unwrap, pass_through>::def_wrap(ctx_cls, "bindBel"); + addr_and_unwrap, 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"); + conv_from_str>::def_wrap(ctx_cls, "getBoundBelCell"); fn_wrapper_1a, conv_from_str>::def_wrap(ctx_cls, "getConflictingBelCell"); + deref_and_wrap, conv_from_str>::def_wrap(ctx_cls, "getConflictingBelCell"); fn_wrapper_0a>::def_wrap(ctx_cls, -"getBels"); + "getBels"); fn_wrapper_2a, -conv_from_str, conv_from_str>::def_wrap(ctx_cls, "getBelPinWire"); + conv_from_str, conv_from_str>::def_wrap(ctx_cls, "getBelPinWire"); fn_wrapper_1a, -conv_from_str>::def_wrap(ctx_cls, "getWireBelPins"); + conv_from_str>::def_wrap(ctx_cls, "getWireBelPins"); fn_wrapper_1a, -conv_from_str>::def_wrap(ctx_cls, "getWireChecksum"); + conv_from_str>::def_wrap(ctx_cls, "getWireChecksum"); fn_wrapper_3a_v, -addr_and_unwrap, pass_through>::def_wrap(ctx_cls, "bindWire"); + addr_and_unwrap, 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"); + conv_from_str>::def_wrap(ctx_cls, "checkWireAvail"); fn_wrapper_1a, -conv_from_str>::def_wrap(ctx_cls, "getBoundWireNet"); + conv_from_str>::def_wrap(ctx_cls, "getBoundWireNet"); fn_wrapper_1a, conv_from_str>::def_wrap(ctx_cls, "getConflictingWireNet"); + deref_and_wrap, conv_from_str>::def_wrap(ctx_cls, "getConflictingWireNet"); -fn_wrapper_0a>::def_wrap( - ctx_cls, "getWires"); +fn_wrapper_0a>::def_wrap(ctx_cls, + "getWires"); -fn_wrapper_0a>::def_wrap( - ctx_cls, "getPips"); +fn_wrapper_0a>::def_wrap(ctx_cls, + "getPips"); fn_wrapper_1a, -conv_from_str>::def_wrap(ctx_cls, "getPipChecksum"); -fn_wrapper_3a_v, -addr_and_unwrap, pass_through>::def_wrap(ctx_cls, "bindPip"); + conv_from_str>::def_wrap(ctx_cls, "getPipChecksum"); +fn_wrapper_3a_v, addr_and_unwrap, + 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"); + conv_from_str>::def_wrap(ctx_cls, "checkPipAvail"); fn_wrapper_1a, -conv_from_str>::def_wrap(ctx_cls, "getBoundPipNet"); + conv_from_str>::def_wrap(ctx_cls, "getBoundPipNet"); fn_wrapper_1a, conv_from_str>::def_wrap(ctx_cls, "getConflictingPipNet"); + deref_and_wrap, conv_from_str>::def_wrap(ctx_cls, "getConflictingPipNet"); fn_wrapper_1a, -conv_from_str>::def_wrap(ctx_cls, "getPipsDownhill"); + conv_from_str>::def_wrap(ctx_cls, "getPipsDownhill"); fn_wrapper_1a, -conv_from_str>::def_wrap(ctx_cls, "getPipsUphill"); + conv_from_str>::def_wrap(ctx_cls, "getPipsUphill"); fn_wrapper_1a, -conv_from_str>::def_wrap(ctx_cls, "getWireAliases"); + conv_from_str>::def_wrap(ctx_cls, "getWireAliases"); fn_wrapper_1a, -conv_from_str>::def_wrap(ctx_cls, "getPipSrcWire"); + conv_from_str>::def_wrap(ctx_cls, "getPipSrcWire"); fn_wrapper_1a, -conv_from_str>::def_wrap(ctx_cls, "getPipDstWire"); + conv_from_str>::def_wrap(ctx_cls, "getPipDstWire"); fn_wrapper_1a, -conv_from_str>::def_wrap(ctx_cls, "getPipDelay"); + conv_from_str>::def_wrap(ctx_cls, "getPipDelay"); fn_wrapper_1a, -pass_through>::def_wrap(ctx_cls, "getPackagePinBel"); + pass_through>::def_wrap(ctx_cls, "getPackagePinBel"); fn_wrapper_1a, -conv_from_str>::def_wrap(ctx_cls, "getBelPackagePin"); + conv_from_str>::def_wrap(ctx_cls, "getBelPackagePin"); fn_wrapper_0a>::def_wrap( ctx_cls, "getChipName"); fn_wrapper_0a>::def_wrap(ctx_cls, -"archId"); + "archId"); -- cgit v1.2.3