aboutsummaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorgatecat <gatecat@ds0.me>2022-07-04 18:24:15 +0200
committergatecat <gatecat@ds0.me>2022-07-04 18:39:00 +0200
commite1ba379fb7633c7bc3f0545bd62906f1b0665b4b (patch)
tree0823d1528fab759404ab144977f8864d4d27799a /common
parentb4337d99fde46abe85cab8bdf98a681eefe1f3e1 (diff)
downloadnextpnr-e1ba379fb7633c7bc3f0545bd62906f1b0665b4b.tar.gz
nextpnr-e1ba379fb7633c7bc3f0545bd62906f1b0665b4b.tar.bz2
nextpnr-e1ba379fb7633c7bc3f0545bd62906f1b0665b4b.zip
generic: Use arch_pybindings_shared
Signed-off-by: gatecat <gatecat@ds0.me>
Diffstat (limited to 'common')
-rw-r--r--common/kernel/arch_pybindings_shared.h6
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