aboutsummaryrefslogtreecommitdiff
path: root/src/images/wavedrom/sp-load-store.edn
diff options
context:
space:
mode:
Diffstat (limited to 'src/images/wavedrom/sp-load-store.edn')
-rw-r--r--src/images/wavedrom/sp-load-store.edn25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/images/wavedrom/sp-load-store.edn b/src/images/wavedrom/sp-load-store.edn
new file mode 100644
index 0000000..6b1fe49
--- /dev/null
+++ b/src/images/wavedrom/sp-load-store.edn
@@ -0,0 +1,25 @@
+//## 12.5 Single-Precision Load and Store Instructions
+
+[wavedrom, ,svg]
+....
+{reg: [
+ {bits: 7, name: 'opcode', attr: ['7', 'LOAD-FP']},
+ {bits: 5, name: 'rd', attr: ['5', 'dest']},
+ {bits: 3, name: 'width', attr: ['3', 'H']},
+ {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-FP']},
+ {bits: 5, name: 'imm[4:0]', attr: ['5', 'offset[4:0]']},
+ {bits: 3, name: 'width', attr: ['3', 'H']},
+ {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]']},
+]}
+....
+