aboutsummaryrefslogtreecommitdiffstats
path: root/common/arch_pybindings_shared.h
diff options
context:
space:
mode:
authorgatecat <gatecat@ds0.me>2021-04-30 13:29:21 +0100
committerGitHub <noreply@github.com>2021-04-30 13:29:21 +0100
commit0461cc8c3ac93bc525d35a15528c4711f244b9c6 (patch)
tree240de8f8603237a782a34df3a18915c495a394b3 /common/arch_pybindings_shared.h
parentd718ccaa78763300146f0b8e5f2339b7fba97542 (diff)
parent5225550b5b83db2685f6c3ad3ce73e1eaadea891 (diff)
downloadnextpnr-0461cc8c3ac93bc525d35a15528c4711f244b9c6.tar.gz
nextpnr-0461cc8c3ac93bc525d35a15528c4711f244b9c6.tar.bz2
nextpnr-0461cc8c3ac93bc525d35a15528c4711f244b9c6.zip
Merge pull request #690 from YosysHQ/gatecat/interchange-wire-types
interchange: Add wire types
Diffstat (limited to 'common/arch_pybindings_shared.h')
-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(