aboutsummaryrefslogtreecommitdiffstats
path: root/src/Compiler.v
diff options
context:
space:
mode:
authorYann Herklotz <git@yannherklotz.com>2020-10-23 13:25:32 +0100
committerYann Herklotz <git@yannherklotz.com>2020-10-23 13:25:32 +0100
commit5cc780e10afa2851980fd3157644cccb1f528b1c (patch)
treefb783ede65cf509436c8cdeaff120f15514a1bfe /src/Compiler.v
parente1b64efcb01015987763b94a21439ded9817b6b6 (diff)
downloadvericert-5cc780e10afa2851980fd3157644cccb1f528b1c.tar.gz
vericert-5cc780e10afa2851980fd3157644cccb1f528b1c.zip
Add printing of intermediate rtlblock language
Diffstat (limited to 'src/Compiler.v')
-rw-r--r--src/Compiler.v6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/Compiler.v b/src/Compiler.v
index cceb87d..ac5c664 100644
--- a/src/Compiler.v
+++ b/src/Compiler.v
@@ -60,6 +60,7 @@ From compcert Require Import Smallstep.
Parameter print_RTL: Z -> RTL.program -> unit.
Parameter print_HTL: HTL.program -> unit.
+Parameter print_RTLBlock: RTLBlock.program -> unit.
Definition print {A: Type} (printer: A -> unit) (prog: A) : A :=
let unused := printer prog in prog.
@@ -110,9 +111,12 @@ Definition transf_hls_temp (p : Csyntax.program) : res Verilog.program :=
@@@ Cminorgen.transl_program
@@@ Selection.sel_program
@@@ RTLgen.transl_program
- @@ Renumber.transf_program
+ @@@ Inlining.transf_program
@@ print (print_RTL 0)
+ @@ Renumber.transf_program
+ @@ print (print_RTL 1)
@@@ RTLBlockgen.transl_program
+ @@ print print_RTLBlock
@@@ HTLSchedulegen.transl_program
@@ print print_HTL
@@ Veriloggen.transl_program.