diff options
author | gatecat <gatecat@ds0.me> | 2021-07-30 14:29:55 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-30 14:29:55 +0100 |
commit | ef1fbfc651ea328dfb703c3b79d5b9ea123f2f0d (patch) | |
tree | 41f9aec86a1d468a0302243c8f6c567d46c666b6 /common/arch_pybindings_shared.h | |
parent | 8466985bc709d6c2e0e6f5f030abec119ae2305a (diff) | |
parent | d2007a386c1a2db7917d7048ea6206ae1218d141 (diff) | |
download | nextpnr-ef1fbfc651ea328dfb703c3b79d5b9ea123f2f0d.tar.gz nextpnr-ef1fbfc651ea328dfb703c3b79d5b9ea123f2f0d.tar.bz2 nextpnr-ef1fbfc651ea328dfb703c3b79d5b9ea123f2f0d.zip |
Merge pull request #787 from YosysHQ/gatecat/report
Add JSON utilisation and timing report
Diffstat (limited to 'common/arch_pybindings_shared.h')
-rw-r--r-- | common/arch_pybindings_shared.h | 2 |
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"); |