diff options
author | myrtle <gatecat@ds0.me> | 2022-07-05 09:25:11 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-05 09:25:11 +0200 |
commit | cc1d78a3d4f1736fc5193d7bfe9f2ee263ea74a8 (patch) | |
tree | 41e83e1311ad93f06ecf0cfe76942961293363d5 /common/kernel/arch_pybindings_shared.h | |
parent | 7e64c326e02a3d2ebd4ac0d686695fd5b7887cb7 (diff) | |
parent | e1ba379fb7633c7bc3f0545bd62906f1b0665b4b (diff) | |
download | nextpnr-cc1d78a3d4f1736fc5193d7bfe9f2ee263ea74a8.tar.gz nextpnr-cc1d78a3d4f1736fc5193d7bfe9f2ee263ea74a8.tar.bz2 nextpnr-cc1d78a3d4f1736fc5193d7bfe9f2ee263ea74a8.zip |
Merge pull request #1001 from YosysHQ/gatecat/generic-shared-pyb
generic: Use arch_pybindings_shared
Diffstat (limited to 'common/kernel/arch_pybindings_shared.h')
-rw-r--r-- | common/kernel/arch_pybindings_shared.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/common/kernel/arch_pybindings_shared.h b/common/kernel/arch_pybindings_shared.h index b3dc0506..bfb58f11 100644 --- a/common/kernel/arch_pybindings_shared.h +++ b/common/kernel/arch_pybindings_shared.h @@ -145,3 +145,9 @@ fn_wrapper_1a<Context, decltype(&Context::getBelsInBucket), &Context::getBelsInB // bool isValidBelForCellType(IdString cell\_type, BelId bel) const fn_wrapper_2a<Context, decltype(&Context::isValidBelForCellType), &Context::isValidBelForCellType, pass_through<bool>, conv_from_str<IdString>, conv_from_str<BelId>>::def_wrap(ctx_cls, "isValidBelForCellType"); + +fn_wrapper_1a<Context, decltype(&Context::getDelayFromNS), &Context::getDelayFromNS, pass_through<delay_t>, + pass_through<double>>::def_wrap(ctx_cls, "getDelayFromNS"); + +fn_wrapper_1a<Context, decltype(&Context::getDelayNS), &Context::getDelayNS, pass_through<double>, + pass_through<delay_t>>::def_wrap(ctx_cls, "getDelayNS");
\ No newline at end of file |