aboutsummaryrefslogtreecommitdiffstats
path: root/common/arch_pybindings_shared.h
diff options
context:
space:
mode:
authorgatecat <gatecat@ds0.me>2021-07-29 12:02:45 +0100
committergatecat <gatecat@ds0.me>2021-07-29 12:52:13 +0100
commit4ac00af6fadc0405867fdac84229d2cda390c108 (patch)
tree5fa123c4054040796e9fe484f564f4d13fdeb5c6 /common/arch_pybindings_shared.h
parent0991003de9f3aa8870728ce70e5a247747eb302e (diff)
downloadnextpnr-4ac00af6fadc0405867fdac84229d2cda390c108.tar.gz
nextpnr-4ac00af6fadc0405867fdac84229d2cda390c108.tar.bz2
nextpnr-4ac00af6fadc0405867fdac84229d2cda390c108.zip
basectx: Add a field to store timing results
Signed-off-by: gatecat <gatecat@ds0.me>
Diffstat (limited to 'common/arch_pybindings_shared.h')
-rw-r--r--common/arch_pybindings_shared.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/arch_pybindings_shared.h b/common/arch_pybindings_shared.h
index c2fe3e24..46f1f9be 100644
--- a/common/arch_pybindings_shared.h
+++ b/common/arch_pybindings_shared.h
@@ -9,6 +9,8 @@ readonly_wrapper<Context, decltype(&Context::hierarchy), &Context::hierarchy, wr
ctx_cls, "hierarchy");
readwrite_wrapper<Context, decltype(&Context::top_module), &Context::top_module, conv_to_str<IdString>,
conv_from_str<IdString>>::def_wrap(ctx_cls, "top_module");
+readonly_wrapper<Context, decltype(&Context::timing_result), &Context::timing_result,
+ wrap_context<TimingResult &>>::def_wrap(ctx_cls, "timing_result");
fn_wrapper_0a<Context, decltype(&Context::getNameDelimiter), &Context::getNameDelimiter, pass_through<char>>::def_wrap(
ctx_cls, "getNameDelimiter");