aboutsummaryrefslogtreecommitdiffstats
path: root/verilog/AsmToJSON.ml
diff options
context:
space:
mode:
authorYann Herklotz <git@yannherklotz.com>2020-09-28 19:29:14 +0100
committerYann Herklotz <git@yannherklotz.com>2023-04-27 11:53:24 +0100
commit81e3066c13050677c5bc44ddbd22bd7c98f0e3e3 (patch)
tree6a62ab1b3a5ac429e9de8129a382c9677d1e3d68 /verilog/AsmToJSON.ml
parent6f98b3b5f730d66f1878941d780db7b4384fbf60 (diff)
downloadcompcert-81e3066c13050677c5bc44ddbd22bd7c98f0e3e3.tar.gz
compcert-81e3066c13050677c5bc44ddbd22bd7c98f0e3e3.zip
Add Verilog backend
Diffstat (limited to 'verilog/AsmToJSON.ml')
-rw-r--r--verilog/AsmToJSON.ml23
1 files changed, 23 insertions, 0 deletions
diff --git a/verilog/AsmToJSON.ml b/verilog/AsmToJSON.ml
new file mode 100644
index 00000000..59cc7d40
--- /dev/null
+++ b/verilog/AsmToJSON.ml
@@ -0,0 +1,23 @@
+(* *********************************************************************)
+(* *)
+(* The Compcert verified compiler *)
+(* *)
+(* Bernhard Schommer, AbsInt Angewandte Informatik GmbH *)
+(* *)
+(* AbsInt Angewandte Informatik GmbH. All rights reserved. This file *)
+(* is distributed under the terms of the INRIA Non-Commercial *)
+(* License Agreement. *)
+(* *)
+(* *********************************************************************)
+
+(* Simple functions to serialize ia32 Asm to JSON *)
+
+(* Dummy function *)
+let destination: string option ref = ref None
+
+let sdump_folder = ref ""
+
+let print_if prog sourcename =
+ ()
+
+let pp_mnemonics pp = ()