diff options
author | Yann Herklotz <git@yannherklotz.com> | 2020-09-03 09:02:52 +0100 |
---|---|---|
committer | Yann Herklotz <git@yannherklotz.com> | 2020-09-03 09:02:52 +0100 |
commit | e7cafecf3f8c43ed3302f09e000d4f8775356876 (patch) | |
tree | 3f252b5ad64e441a9c21fae213546c8a482ada4e /src | |
parent | 0caef68781a0e33368d2874286f72be17d6d3263 (diff) | |
download | vericert-kvx-e7cafecf3f8c43ed3302f09e000d4f8775356876.tar.gz vericert-kvx-e7cafecf3f8c43ed3302f09e000d4f8775356876.zip |
Add fixes to run scheduling on compilation
Diffstat (limited to 'src')
-rw-r--r-- | src/Compiler.v | 15 | ||||
-rw-r--r-- | src/extraction/Extraction.v | 1 |
2 files changed, 15 insertions, 1 deletions
diff --git a/src/Compiler.v b/src/Compiler.v index 6efd7a2..7a99bdb 100644 --- a/src/Compiler.v +++ b/src/Compiler.v @@ -51,7 +51,9 @@ From vericert Require Verilog Veriloggen Veriloggenproof - HTLgen. + HTLgen + RTLBlock + RTLBlockgen. From compcert Require Import Smallstep. @@ -99,6 +101,17 @@ Definition transf_hls (p : Csyntax.program) : res Verilog.program := @@ print (print_RTL 0) @@@ transf_backend. +Definition transf_hls_temp (p : Csyntax.program) : res RTLBlock.program := + OK p + @@@ SimplExpr.transl_program + @@@ SimplLocals.transf_program + @@@ Cshmgen.transl_program + @@@ Cminorgen.transl_program + @@@ Selection.sel_program + @@@ RTLgen.transl_program + @@ print (print_RTL 0) + @@@ RTLBlockgen.transl_program. + Local Open Scope linking_scope. Definition CompCert's_passes := diff --git a/src/extraction/Extraction.v b/src/extraction/Extraction.v index 9755125..6fc8545 100644 --- a/src/extraction/Extraction.v +++ b/src/extraction/Extraction.v @@ -175,6 +175,7 @@ Set Extraction AccessOpaque. Cd "src/extraction". Separate Extraction Verilog.module Value.uvalueToZ vericert.Compiler.transf_hls + vericert.Compiler.transf_hls_temp RTLBlockgen.transl_program RTLBlock.successors_instr Compiler.transf_c_program Compiler.transf_cminor_program |