aboutsummaryrefslogtreecommitdiff
path: root/src/images/wavedrom/int-comp-slli-srli-srai.adoc
diff options
context:
space:
mode:
Diffstat (limited to 'src/images/wavedrom/int-comp-slli-srli-srai.adoc')
-rw-r--r--src/images/wavedrom/int-comp-slli-srli-srai.adoc17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/images/wavedrom/int-comp-slli-srli-srai.adoc b/src/images/wavedrom/int-comp-slli-srli-srai.adoc
new file mode 100644
index 0000000..338a45c
--- /dev/null
+++ b/src/images/wavedrom/int-comp-slli-srli-srai.adoc
@@ -0,0 +1,17 @@
+//FROM ## 2.4 Integer Computational Instructions
+//### Integer Register-Immediate Instructions
+//
+
+[wavedrom, ,svg]
+....
+{reg: [
+ {bits: 7, name: 'opcode', attr: 'OP-IMM', type: 8},
+ {bits: 5, name: 'rd', attr: 'dest', type: 2},
+ {bits: 3, name: 'func3', attr: ['SLLI', 'SRLI', 'SRAI'], type: 8},
+ {bits: 5, name: 'rs1', attr: 'src', type: 4},
+ {bits: 5, name: 'imm[4:0]', attr: 'shamt[4:0]', type: 3},
+ {bits: 7, name: 'imm[11:5]', attr: [0, 0, 32], type: 8}
+]}
+....
+
+