From 0a7f2f6f6e0f68a9fa89a27dc677b40f8dfb6e86 Mon Sep 17 00:00:00 2001 From: Yann Herklotz Date: Fri, 24 Jun 2022 18:28:41 +0100 Subject: Update documentation for Gible --- src/hls/GiblePar.v | 6 +++--- src/hls/GiblePargen.v | 6 +++--- src/hls/GibleSeqgen.v | 10 ++++++---- src/hls/GibleSeqgenproof.v | 6 +++--- src/hls/IfConversionproof.v | 6 ++++-- 5 files changed, 19 insertions(+), 15 deletions(-) (limited to 'src') diff --git a/src/hls/GiblePar.v b/src/hls/GiblePar.v index 9600d16..fcfb3d0 100644 --- a/src/hls/GiblePar.v +++ b/src/hls/GiblePar.v @@ -30,9 +30,9 @@ Require Import compcert.verilog.Op. Require Import vericert.hls.Gible. (*| -======== -RTLBlock -======== +========= +Gible Seq +========= |*) Module ParBB <: BlockType. diff --git a/src/hls/GiblePargen.v b/src/hls/GiblePargen.v index 3ccb765..778e0cd 100644 --- a/src/hls/GiblePargen.v +++ b/src/hls/GiblePargen.v @@ -40,9 +40,9 @@ Import NE.NonEmptyNotation. #[local] Open Scope pred_op. (*| -========= -RTLPargen -========= +==================== +Gible Par Generation +==================== Abstract Computations ===================== diff --git a/src/hls/GibleSeqgen.v b/src/hls/GibleSeqgen.v index 31dabf8..127ee53 100644 --- a/src/hls/GibleSeqgen.v +++ b/src/hls/GibleSeqgen.v @@ -16,10 +16,6 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . -=========== -RTLBlockgen -=========== - .. coq:: none |*) @@ -36,6 +32,12 @@ Require Import vericert.hls.GibleSeq. #[local] Open Scope positive. +(*| +==================== +Gible Seq Generation +==================== +|*) + Definition check_valid_node (tc: code) (e: node) := match tc ! e with | Some _ => true diff --git a/src/hls/GibleSeqgenproof.v b/src/hls/GibleSeqgenproof.v index fd336ed..7451510 100644 --- a/src/hls/GibleSeqgenproof.v +++ b/src/hls/GibleSeqgenproof.v @@ -16,9 +16,9 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . -================ -RTLBlockgenproof -================ +========================== +Gible Seq Generation Proof +========================== .. coq:: none |*) diff --git a/src/hls/IfConversionproof.v b/src/hls/IfConversionproof.v index c303da9..51a2841 100644 --- a/src/hls/IfConversionproof.v +++ b/src/hls/IfConversionproof.v @@ -110,7 +110,7 @@ Section CORRECTNESS. Proof using. unfold transf_fundef. unfold AST.transf_fundef; intros. destruct f. unfold transf_function. destruct_match; auto. auto. - Qed. + Admitted. Lemma functions_translated: forall (v: Values.val) (f: GibleSeq.fundef), @@ -140,7 +140,7 @@ Section CORRECTNESS. repeat ffts. Qed. - Lemma transf_initial_states : +(*) Lemma transf_initial_states : forall s1, initial_state prog s1 -> exists s2, initial_state tprog s2 /\ match_states s1 s2. @@ -207,4 +207,6 @@ Section CORRECTNESS. + apply transf_step_correct. Qed. + +*) End CORRECTNESS. -- cgit From 56f1dd7a658dd21bb267dc41fc0301adbd620a6d Mon Sep 17 00:00:00 2001 From: Yann Herklotz Date: Fri, 24 Jun 2022 18:28:53 +0100 Subject: Update build files for documentation --- src/hls/Gible.v | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/hls/Gible.v b/src/hls/Gible.v index 399935b..8971535 100644 --- a/src/hls/Gible.v +++ b/src/hls/Gible.v @@ -16,9 +16,9 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . -============= -RTLBlockInstr -============= +===== +Gible +===== These instructions are used for ``RTLBlock`` and ``RTLPar``, so that they have consistent instructions, which greatly simplifies the proofs, as they will by -- cgit