diff options
author | David Shah <dave@ds0.me> | 2021-02-03 09:48:07 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-03 09:48:07 +0000 |
commit | 9a79163eab89e6351cd06c37d5916174acdfc754 (patch) | |
tree | 60bccc139d7ea739257322b4bd2d01a0913c503a /common/arch_pybindings_shared.h | |
parent | 9c5d13a630581c08c7f828a8db192721314e32c3 (diff) | |
parent | 15bf9e4f74cdd52e8e03abcac4c7fa1fc26b3367 (diff) | |
download | nextpnr-9a79163eab89e6351cd06c37d5916174acdfc754.tar.gz nextpnr-9a79163eab89e6351cd06c37d5916174acdfc754.tar.bz2 nextpnr-9a79163eab89e6351cd06c37d5916174acdfc754.zip |
Merge pull request #561 from YosysHQ/dave/idstringlist
Use IdStringList for bel/wire/pip/group names
Diffstat (limited to 'common/arch_pybindings_shared.h')
-rw-r--r-- | common/arch_pybindings_shared.h | 3 |
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>, |