[otbn] Fix operation description for BN.RSHI
* Indicate in Python syntax the concatenation of two registers.
* Use consistent names for decoded values.
Signed-off-by: Philipp Wagner <phw@lowrisc.org>
diff --git a/hw/ip/otbn/data/insns.yml b/hw/ip/otbn/data/insns.yml
index bbf3599..8f4d80b 100644
--- a/hw/ip/otbn/data/insns.yml
+++ b/hw/ip/otbn/data/insns.yml
@@ -1416,9 +1416,9 @@
d = UInt(wrd)
a = UInt(wrs1)
b = UInt(wrs2)
- imm = Uint(imm)
+ shift_bit = Uint(imm)
operation: |
- WDR[d] = ((rs1 | rs2) >> im)[WLEN-1:0]
+ WDR[d] = (((a << WLEN) | b) >> shift_bit)[WLEN-1:0]
encoding:
scheme: bnr
mapping: