aboutsummaryrefslogtreecommitdiffstats
path: root/src/Extraction
diff options
context:
space:
mode:
authorYann Herklotz <git@yannherklotz.com>2020-02-17 18:06:37 +0000
committerYann Herklotz <git@yannherklotz.com>2020-02-17 18:06:37 +0000
commitabf33a4075c2008bfcac3b04ad3b4dc1c57a4efd (patch)
tree2d9f95f1ae994e3b61aa0d5715673107589aa912 /src/Extraction
parentff40ff40ee967f6fd9206ef8c86426b0ea33cbde (diff)
downloadvericert-abf33a4075c2008bfcac3b04ad3b4dc1c57a4efd.tar.gz
vericert-abf33a4075c2008bfcac3b04ad3b4dc1c57a4efd.zip
Add pretty printing for Verilog integrated with CompCert
Diffstat (limited to 'src/Extraction')
-rw-r--r--src/Extraction/Extraction.v8
-rw-r--r--src/Extraction/dune4
2 files changed, 12 insertions, 0 deletions
diff --git a/src/Extraction/Extraction.v b/src/Extraction/Extraction.v
new file mode 100644
index 0000000..c4248cb
--- /dev/null
+++ b/src/Extraction/Extraction.v
@@ -0,0 +1,8 @@
+Require CoqUp.Verilog.VerilogAST.
+
+Require Import ExtrOcamlBasic.
+Require Import ExtrOcamlString.
+
+Cd "src/Extraction".
+Separate Extraction
+ VerilogAST.nat_to_value VerilogAST.value_to_nat VerilogAST.verilog VerilogAST.verilog_example.
diff --git a/src/Extraction/dune b/src/Extraction/dune
new file mode 100644
index 0000000..731701a
--- /dev/null
+++ b/src/Extraction/dune
@@ -0,0 +1,4 @@
+(library
+ (name Extraction)
+ (public_name coqup.extraction)
+ (flags (:standard -warn-error -A)))