aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorNcerzzk <huangzzk@bupt.edu.cn>2022-05-01 08:13:54 +0800
committerGitHub <noreply@github.com>2022-04-30 17:13:54 -0700
commit71ecf3563997ea9e7e15a3295aecfe773ad9c04e (patch)
tree3bc0232d789769fb87cd5ec8e7c4f07974ed6756 /Makefile
parent75b28f235e807fb6803575f952ce56b81571fd2b (diff)
downloadriscv-opcodes-71ecf3563997ea9e7e15a3295aecfe773ad9c04e.zip
riscv-opcodes-71ecf3563997ea9e7e15a3295aecfe773ad9c04e.tar.gz
riscv-opcodes-71ecf3563997ea9e7e15a3295aecfe773ad9c04e.tar.bz2
add spinalhdl support (#108)
* add spinalhdl support Signed-off-by: ncer <huangzzk@bupt.edu.cn> * restruct chisel and spinalhdl parser Signed-off-by: ncer <huangzzk@bupt.edu.cn>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 6354ecc..723be38 100644
--- a/Makefile
+++ b/Makefile
@@ -11,7 +11,7 @@ ALL_REAL_OPCODES := $(ALL_REAL_ILEN32_OPCODES) opcodes-rvc opcodes-rv32c opcodes
ALL_OPCODES := opcodes-pseudo $(ALL_REAL_OPCODES) opcodes-rvv-pseudo
-install: encoding.out.h inst.chisel instr-table.tex priv-instr-table.tex
+install: encoding.out.h inst.chisel inst.spinalhdl instr-table.tex priv-instr-table.tex
set -e; for FILE in $(INSTALL_HEADER_FILES); do cp -f encoding.out.h $$FILE; done
encoding.out.h: $(ALL_OPCODES) parse_opcodes encoding.h
@@ -26,6 +26,9 @@ encoding.out.h: $(ALL_OPCODES) parse_opcodes encoding.h
inst.chisel: $(ALL_OPCODES) parse_opcodes
cat $(ALL_OPCODES) | ./parse_opcodes -chisel > $@
+inst.spinalhdl: $(ALL_OPCODES) parse_opcodes
+ cat $(ALL_OPCODES) | ./parse_opcodes -spinalhdl > $@
+
inst.go: $(ALL_REAL_ILEN32_OPCODES) parse_opcodes
cat $(ALL_REAL_ILEN32_OPCODES) | ./parse_opcodes -go > $@