aboutsummaryrefslogtreecommitdiffstats
path: root/src/Compiler.v
diff options
context:
space:
mode:
authorYann Herklotz <git@yannherklotz.com>2021-02-16 19:57:08 +0000
committerYann Herklotz <git@yannherklotz.com>2021-02-16 19:57:08 +0000
commit997b768ac8fa7f5f741671d9e4c00b9ea8f0680c (patch)
tree9c80e4d65d5719301a6f75c88c50fd555d8e8d6c /src/Compiler.v
parent9f9da6f7ccd2f6658c940b68b2cc3c25cd5e3c88 (diff)
downloadvericert-997b768ac8fa7f5f741671d9e4c00b9ea8f0680c.tar.gz
vericert-997b768ac8fa7f5f741671d9e4c00b9ea8f0680c.zip
Add option to turn off if-conversion
Diffstat (limited to 'src/Compiler.v')
-rw-r--r--src/Compiler.v3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Compiler.v b/src/Compiler.v
index 27cb80c..d99ce56 100644
--- a/src/Compiler.v
+++ b/src/Compiler.v
@@ -68,6 +68,7 @@ Require vericert.hls.RTLPargen.
Require vericert.hls.HTLPargen.
Require vericert.hls.Pipeline.
Require vericert.hls.IfConversion.
+Require vericert.HLSOpts.
Require Import vericert.hls.HTLgenproof.
@@ -235,7 +236,7 @@ Definition transf_hls_temp (p : Csyntax.program) : res Verilog.program :=
@@ print (print_RTL 7)
@@@ RTLBlockgen.transl_program
@@ print (print_RTLBlock 1)
- @@ IfConversion.transf_program
+ @@ total_if HLSOpts.optim_if_conversion IfConversion.transf_program
@@ print (print_RTLBlock 2)
@@@ RTLPargen.transl_program
@@@ HTLPargen.transl_program