aboutsummaryrefslogtreecommitdiff
path: root/src/images/wavedrom/load_store.adoc
diff options
context:
space:
mode:
Diffstat (limited to 'src/images/wavedrom/load_store.adoc')
-rw-r--r--src/images/wavedrom/load_store.adoc22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/images/wavedrom/load_store.adoc b/src/images/wavedrom/load_store.adoc
index f9de4d1..ac23d35 100644
--- a/src/images/wavedrom/load_store.adoc
+++ b/src/images/wavedrom/load_store.adoc
@@ -3,22 +3,22 @@
[wavedrom, ,svg]
....
{reg: [
- {bits: 7, name: 'opcode', attr: ['7', 'LOAD'], type: 8},
- {bits: 5, name: 'rd', attr: ['5', 'dest'], type: 2},
- {bits: 3, name: 'funct3', attr: ['3', 'width'], type: 8},
- {bits: 5, name: 'rs1', attr: ['5', 'base'], type: 4},
- {bits: 12, name: 'imm[11:0]', attr: ['12', 'offset[11:0]'], type: 3},
+ {bits: 7, name: 'opcode', attr: ['7', 'LOAD']},
+ {bits: 5, name: 'rd', attr: ['5', 'dest']},
+ {bits: 3, name: 'funct3', attr: ['3', 'width']},
+ {bits: 5, name: 'rs1', attr: ['5', 'base']},
+ {bits: 12, name: 'imm[11:0]', attr: ['12', 'offset[11:0]']},
]}
....
[wavedrom, ,svg]
....
{reg: [
- {bits: 7, name: 'opcode', attr: ['7', 'STORE'], type: 8},
- {bits: 5, name: 'imm[4:0]', attr: ['5', 'offset[4:0]'], type: 3},
- {bits: 3, name: 'funct3', attr: ['3', 'width'], type: 8},
- {bits: 5, name: 'rs1', attr: ['5', 'base'], type: 4},
- {bits: 5, name: 'rs2', attr: ['5', 'src'], type: 4},
- {bits: 7, name: 'imm[11:5]', attr: ['7', 'offset[11:5]'], type: 3},
+ {bits: 7, name: 'opcode', attr: ['7', 'STORE']},
+ {bits: 5, name: 'imm[4:0]', attr: ['5', 'offset[4:0]']},
+ {bits: 3, name: 'funct3', attr: ['3', 'width']},
+ {bits: 5, name: 'rs1', attr: ['5', 'base']},
+ {bits: 5, name: 'rs2', attr: ['5', 'src']},
+ {bits: 7, name: 'imm[11:5]', attr: ['7', 'offset[11:5]']},
]}
....