aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorNgo Iok Ui (Wu Yu Wei) <wusyong9104@gmail.com>2020-11-09 06:18:22 +0800
committerGitHub <noreply@github.com>2020-11-08 14:18:22 -0800
commit130fcfb252c02c32f3d2f12e22df546239188813 (patch)
treef77526952d2b7f3fed51be5771cd9134f069664a /Makefile
parente4f71addaa112f7890e5d9f89c3a088a2017731a (diff)
downloadriscv-opcodes-130fcfb252c02c32f3d2f12e22df546239188813.zip
riscv-opcodes-130fcfb252c02c32f3d2f12e22df546239188813.tar.gz
riscv-opcodes-130fcfb252c02c32f3d2f12e22df546239188813.tar.bz2
Support generating Rust code (#52)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 294513a..d06c502 100644
--- a/Makefile
+++ b/Makefile
@@ -27,6 +27,9 @@ inst.chisel: $(ALL_OPCODES) parse_opcodes
inst.go: $(ALL_REAL_ILEN32_OPCODES) parse_opcodes
cat $(ALL_REAL_ILEN32_OPCODES) | ./parse_opcodes -go > $@
+inst.rs: $(ALL_OPCODES) parse_opcodes
+ cat $(ALL_OPCODES) | ./parse_opcodes -rust > $@
+
inst.sverilog: $(ALL_OPCODES) parse_opcodes
cat $(ALL_OPCODES) | ./parse_opcodes -sverilog > $@