diff options
author | Claire Wolf <clifford@clifford.at> | 2020-01-27 18:27:47 +0100 |
---|---|---|
committer | Claire Wolf <clifford@clifford.at> | 2020-01-27 18:27:47 +0100 |
commit | cef607c8b77803aa1236d250da4ca6841f78a4ea (patch) | |
tree | 48e4e7a09e057ab3eb169b3a541ab7df84637250 /kernel/register.h | |
parent | 07a12ebd4ff12c8016809eacad4551246fa4b316 (diff) | |
download | yosys-cef607c8b77803aa1236d250da4ca6841f78a4ea.tar.gz yosys-cef607c8b77803aa1236d250da4ca6841f78a4ea.tar.bz2 yosys-cef607c8b77803aa1236d250da4ca6841f78a4ea.zip |
Add log_experimental() and experimental() API and "yosys -x"
Signed-off-by: Claire Wolf <clifford@clifford.at>
Diffstat (limited to 'kernel/register.h')
-rw-r--r-- | kernel/register.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/kernel/register.h b/kernel/register.h index 821faff3e..4622845b6 100644 --- a/kernel/register.h +++ b/kernel/register.h @@ -36,6 +36,11 @@ struct Pass int call_counter; int64_t runtime_ns; + bool experimental_flag = false; + + void experimental() { + experimental_flag = true; + } struct pre_post_exec_state_t { Pass *parent_pass; |