aboutsummaryrefslogtreecommitdiffstats
path: root/src/verilog/HTL.v
diff options
context:
space:
mode:
authorYann Herklotz <git@yannherklotz.com>2020-03-31 19:40:21 +0100
committerYann Herklotz <git@yannherklotz.com>2020-03-31 19:40:21 +0100
commit0b4808a3705317c96387de036381e4e6add4e956 (patch)
tree3da3067ebee6ca85d68fc2c7c0d8b87d9eb18082 /src/verilog/HTL.v
parent580cfdf676931f8b590f6f1eb84e42da17569393 (diff)
downloadvericert-kvx-0b4808a3705317c96387de036381e4e6add4e956.tar.gz
vericert-kvx-0b4808a3705317c96387de036381e4e6add4e956.zip
Add documentation and fix makefile for Compcert
Diffstat (limited to 'src/verilog/HTL.v')
-rw-r--r--src/verilog/HTL.v25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/verilog/HTL.v b/src/verilog/HTL.v
index f2620a7..1d156ad 100644
--- a/src/verilog/HTL.v
+++ b/src/verilog/HTL.v
@@ -1,3 +1,28 @@
+(*
+ * CoqUp: Verified high-level synthesis.
+ * Copyright (C) 2020 Yann Herklotz <yann@yannherklotz.com>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <https://www.gnu.org/licenses/>.
+ *)
+
+(** The purpose of the hardware transfer language (HTL) is to create a more
+ * hardware-like layout that is still similar to the register transfer language
+ * (RTL) that it came from. The main change is that function calls become
+ * module instantiations and that we now describe a state machine instead of a
+ * control-flow graph.
+ *)
+
From coqup.common Require Import Coquplib.
From compcert Require Import Maps.