diff options
| author | Brian Campbell | 2018-05-10 14:52:31 +0100 |
|---|---|---|
| committer | Brian Campbell | 2018-05-10 14:52:31 +0100 |
| commit | 823fe1d82e753add2d54ba010689a81af027ba6d (patch) | |
| tree | abcd876e45736b3085d1f9f4e687aebe24ffe10b /riscv | |
| parent | 1f9418d9fe49dc671964fc826a2a8847e3255c9a (diff) | |
RISC-V in HOL4
Diffstat (limited to 'riscv')
| -rw-r--r-- | riscv/Holmakefile | 11 | ||||
| -rw-r--r-- | riscv/Makefile | 9 |
2 files changed, 20 insertions, 0 deletions
diff --git a/riscv/Holmakefile b/riscv/Holmakefile new file mode 100644 index 00000000..626e6f2f --- /dev/null +++ b/riscv/Holmakefile @@ -0,0 +1,11 @@ +LEMDIR=../../lem/hol-lib + +INCLUDES = $(LEMDIR) ../lib/hol + +all: riscv_sequentialTheory.uo +.PHONY: all + +ifdef POLY +BASE_HEAP = ../lib/hol/sail-heap + +endif diff --git a/riscv/Makefile b/riscv/Makefile index 781ec354..7173f24d 100644 --- a/riscv/Makefile +++ b/riscv/Makefile @@ -34,6 +34,15 @@ Riscv.thy: riscv.lem riscv_extras.lem riscv.lem: $(SAIL_SRCS) Makefile $(SAIL_DIR)/sail -lem -o riscv -lem_mwords -lem_lib Riscv_extras $(SAIL_SRCS) +riscv_sequential.lem: $(SAIL_SRCS) Makefile + $(SAIL_DIR)/sail -lem -lem_sequential -o riscv_sequential -lem_mwords -lem_lib Riscv_extras_sequential $(SAIL_SRCS) + +riscv_sequentialScript.sml : riscv_sequential.lem riscv_extras_sequential.lem + lem -hol -outdir . -lib ../lib/hol -lib ../src/lem_interp -lib ../src/gen_lib \ + riscv_extras_sequential.lem \ + riscv_sequential_types.lem \ + riscv_sequential.lem + clean: -rm -rf riscv _sbuild -rm -f riscv.lem riscv_types.lem |
