aboutsummaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorgatecat <gatecat@ds0.me>2021-04-30 11:07:31 +0100
committergatecat <gatecat@ds0.me>2021-04-30 11:07:31 +0100
commitdcb09ec8deddb1c90c53acc157baf941fb875142 (patch)
tree72c6edcd4da343337b2ab9e3e8bd36921320d9a4 /common
parentecf24201ec35c01045a970cff4ed471f1b23a19b (diff)
downloadnextpnr-dcb09ec8deddb1c90c53acc157baf941fb875142.tar.gz
nextpnr-dcb09ec8deddb1c90c53acc157baf941fb875142.tar.bz2
nextpnr-dcb09ec8deddb1c90c53acc157baf941fb875142.zip
interchange: Implement getWireType
Signed-off-by: gatecat <gatecat@ds0.me>
Diffstat (limited to 'common')
-rw-r--r--common/arch_pybindings_shared.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/arch_pybindings_shared.h b/common/arch_pybindings_shared.h
index 69d7025f..c2fe3e24 100644
--- a/common/arch_pybindings_shared.h
+++ b/common/arch_pybindings_shared.h
@@ -67,6 +67,8 @@ fn_wrapper_1a<Context, decltype(&Context::getWireBelPins), &Context::getWireBelP
fn_wrapper_1a<Context, decltype(&Context::getWireChecksum), &Context::getWireChecksum, pass_through<uint32_t>,
conv_from_str<WireId>>::def_wrap(ctx_cls, "getWireChecksum");
+fn_wrapper_1a<Context, decltype(&Context::getWireType), &Context::getWireType, conv_to_str<IdString>,
+ conv_from_str<WireId>>::def_wrap(ctx_cls, "getWireType");
fn_wrapper_3a_v<Context, decltype(&Context::bindWire), &Context::bindWire, conv_from_str<WireId>,
addr_and_unwrap<NetInfo>, pass_through<PlaceStrength>>::def_wrap(ctx_cls, "bindWire");
fn_wrapper_1a_v<Context, decltype(&Context::unbindWire), &Context::unbindWire, conv_from_str<WireId>>::def_wrap(