diff options
| author | gatecat <gatecat@ds0.me> | 2021-08-23 21:56:42 +0100 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-08-23 21:56:42 +0100 | 
| commit | 42166f2e3e4a319e0519e52ae1905db7761e322e (patch) | |
| tree | 6b4b34b50d53018b6efaaa8f39bb4b75a64ea99f /common | |
| parent | 897a2fccb64ac52ec4d3ce728fad91c3a5a96ff1 (diff) | |
| parent | de311e052fdb749d4acfd6608f6b416a4206e6ae (diff) | |
| download | nextpnr-42166f2e3e4a319e0519e52ae1905db7761e322e.tar.gz nextpnr-42166f2e3e4a319e0519e52ae1905db7761e322e.tar.bz2 nextpnr-42166f2e3e4a319e0519e52ae1905db7761e322e.zip  | |
Merge pull request #802 from YosysHQ/gatecat/python-rt-dly
python: Allow querying route delays
Diffstat (limited to 'common')
| -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 46f1f9be..f44aa70e 100644 --- a/common/arch_pybindings_shared.h +++ b/common/arch_pybindings_shared.h @@ -27,6 +27,9 @@ fn_wrapper_2a_v<Context, decltype(&Context::addBelToRegion), &Context::addBelToR  fn_wrapper_2a_v<Context, decltype(&Context::constrainCellToRegion), &Context::constrainCellToRegion,                  conv_from_str<IdString>, conv_from_str<IdString>>::def_wrap(ctx_cls, "constrainCellToRegion"); +fn_wrapper_2a<Context, decltype(&Context::getNetinfoRouteDelay), &Context::getNetinfoRouteDelay, pass_through<delay_t>, +              addr_and_unwrap<NetInfo>, unwrap_context<PortRef &>>::def_wrap(ctx_cls, "getNetinfoRouteDelay"); +  fn_wrapper_1a<Context, decltype(&Context::createNet), &Context::createNet, deref_and_wrap<NetInfo>,                conv_from_str<IdString>>::def_wrap(ctx_cls, "createNet");  fn_wrapper_3a_v<Context, decltype(&Context::connectPort), &Context::connectPort, conv_from_str<IdString>,  | 
