From 81e3066c13050677c5bc44ddbd22bd7c98f0e3e3 Mon Sep 17 00:00:00 2001 From: Yann Herklotz Date: Mon, 28 Sep 2020 19:29:14 +0100 Subject: Add Verilog backend --- verilog/AsmToJSON.ml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 verilog/AsmToJSON.ml (limited to 'verilog/AsmToJSON.ml') 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 = () -- cgit