aboutsummaryrefslogtreecommitdiff
path: root/src/images/wavedrom/integer_computational.adoc
blob: 85059b0916e52033a64c266fcadd81f5211945bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//## 2.4 Integer Computational Instructions
//### Integer Register-Immediate Instructions

[wavedrom, ,]
....
{reg: [
  {bits: 7,  name: 'opcode',    attr: 'OP-IMM', 'OP-IMM', type: 8},
  {bits: 5,  name: 'rd',        attr: 'dest', 'dest', type: 2},
  {bits: 3,  name: 'func3',     attr: ['ADDI/SLTI[U]', 'ANDI/ORI/XORI'], type: 8},
  {bits: 5,  name: 'rs1',       attr: 'src', 'src', type: 4},
  {bits: 12, name: 'imm[11:0]', attr: 'I-immediate[11:0]','I-immediate[11:0]', type: 3}
]}
....

//<snio>