summaryrefslogtreecommitdiff
path: root/riscv/Makefile
diff options
context:
space:
mode:
authorPrashanth Mundkur2018-06-22 11:19:47 -0700
committerPrashanth Mundkur2018-06-22 11:20:38 -0700
commitd4d182cd9777424d7be02295f52ba8eb0babc594 (patch)
treebb4b7a2380e7fe9e95ebd5d043d3830ed37ed29a /riscv/Makefile
parent86b869b24ad6cba5074bbf17bbbf7622dcf48281 (diff)
Add a simple trace log comparison tool for riscv vs. a patched spike.
Diffstat (limited to 'riscv/Makefile')
-rw-r--r--riscv/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/riscv/Makefile b/riscv/Makefile
index 9e07ffa6..22f80338 100644
--- a/riscv/Makefile
+++ b/riscv/Makefile
@@ -20,6 +20,9 @@ _sbuild/platform_main.native: _sbuild/riscv.ml _tags $(PLATFORM_OCAML_SRCS) Make
platform: _sbuild/platform_main.native
rm -f $@ && ln -s $^ $@
+tracecmp: tracecmp.ml
+ ocamlfind ocamlopt -annot -linkpkg -package unix $^ -o $@
+
riscv_duopod_ocaml: prelude.sail riscv_duopod.sail
$(SAIL) $(SAIL_FLAGS) -ocaml -o $@ $^