aboutsummaryrefslogtreecommitdiffstats
path: root/src/Compiler.v
diff options
context:
space:
mode:
authorMichalis Pardalos <m.pardalos@gmail.com>2021-04-20 21:02:24 +0100
committerMichalis Pardalos <m.pardalos@gmail.com>2021-04-20 21:02:24 +0100
commit7a05aa21b3a94842ceaf103a53209d87d7f095d5 (patch)
tree31ab96aa633b0a972fb719ab3318e24654e464b2 /src/Compiler.v
parent7183a0a0a037026a0d03e4df6153ca2d5879af49 (diff)
downloadvericert-7a05aa21b3a94842ceaf103a53209d87d7f095d5.tar.gz
vericert-7a05aa21b3a94842ceaf103a53209d87d7f095d5.zip
Move renumbering to be HTL->HTL
Diffstat (limited to 'src/Compiler.v')
-rw-r--r--src/Compiler.v8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/Compiler.v b/src/Compiler.v
index a87dacf..b5b33e7 100644
--- a/src/Compiler.v
+++ b/src/Compiler.v
@@ -80,7 +80,7 @@ We then need to declare the external OCaml functions used to print out intermedi
|*)
Parameter print_RTL: Z -> RTL.program -> unit.
-Parameter print_HTL: HTL.program -> unit.
+Parameter print_HTL: Z -> HTL.program -> unit.
Parameter print_RTLBlock: Z -> RTLBlock.program -> unit.
Definition print {A: Type} (printer: A -> unit) (prog: A) : A :=
@@ -190,7 +190,9 @@ Definition transf_backend (r : RTL.program) : res Verilog.program :=
@@@ time "Unused globals" Unusedglob.transform_program
@@ print (print_RTL 7)
@@@ HTLgen.transl_program
- @@ print print_HTL
+ @@ print (print_HTL 1)
+ @@@ HTLgen.renumber_program
+ @@ print (print_HTL 2)
@@@ Veriloggen.transl_program.
Definition transf_hls (p : Csyntax.program) : res Verilog.program :=
@@ -236,7 +238,7 @@ Definition transf_hls_temp (p : Csyntax.program) : res Verilog.program :=
@@ print (print_RTLBlock 2)
@@@ RTLPargen.transl_program
@@@ HTLPargen.transl_program
- @@ print print_HTL
+ @@ print (print_HTL 1)
@@@ Veriloggen.transl_program.
(*|