aboutsummaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorD. Shah <dave@ds0.me>2021-01-29 11:11:08 +0000
committerD. Shah <dave@ds0.me>2021-02-02 16:59:40 +0000
commitff92d19fed274c6469720cc726e80dc777fa767f (patch)
tree6e99ceddd946c086b727a662812c828e97b3f899 /common
parent90edf33c95de975b7f8204624a995c4826c52b84 (diff)
downloadnextpnr-ff92d19fed274c6469720cc726e80dc777fa767f.tar.gz
nextpnr-ff92d19fed274c6469720cc726e80dc777fa767f.tar.bz2
nextpnr-ff92d19fed274c6469720cc726e80dc777fa767f.zip
arch: Add getNameDelimiter API for string lists
Signed-off-by: D. Shah <dave@ds0.me>
Diffstat (limited to 'common')
-rw-r--r--common/arch_pybindings_shared.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/arch_pybindings_shared.h b/common/arch_pybindings_shared.h
index 5295c6ab..1cd70c99 100644
--- a/common/arch_pybindings_shared.h
+++ b/common/arch_pybindings_shared.h
@@ -10,6 +10,9 @@ readonly_wrapper<Context, decltype(&Context::hierarchy), &Context::hierarchy, wr
readwrite_wrapper<Context, decltype(&Context::top_module), &Context::top_module, conv_to_str<IdString>,
conv_from_str<IdString>>::def_wrap(ctx_cls, "top_module");
+fn_wrapper_0a<Context, decltype(&Context::getNameDelimiter), &Context::getNameDelimiter, pass_through<char>>::def_wrap(
+ ctx_cls, "getNameDelimiter");
+
fn_wrapper_1a<Context, decltype(&Context::getNetByAlias), &Context::getNetByAlias, deref_and_wrap<NetInfo>,
conv_from_str<IdString>>::def_wrap(ctx_cls, "getNetByAlias");
fn_wrapper_2a_v<Context, decltype(&Context::addClock), &Context::addClock, conv_from_str<IdString>,