mirror of
https://github.com/lowRISC/ibex.git
synced 2025-04-22 04:47:25 -04:00
Fix c.sllr and c.srlr decoding
This commit is contained in:
parent
5b3ba2d1d6
commit
302747b9e4
1 changed files with 2 additions and 2 deletions
|
@ -88,9 +88,9 @@ module compressed_decoder
|
|||
5'b00111: instr_o = {7'b0, 2'b01, instr_i[4:2], 2'b01, instr_i[9:7], 3'b011, 2'b01, instr_i[9:7], `OPCODE_OP};
|
||||
|
||||
// c.sllr -> sll rd', rs1', rd'
|
||||
5'b01100: instr_o = {7'b0, 2'b01, instr_i[4:2], 2'b01, instr_i[4:2], 3'b001, 2'b01, instr_i[4:2], `OPCODE_OP};
|
||||
5'b01100: instr_o = {7'b0, 2'b01, instr_i[4:2], 2'b01, instr_i[9:7], 3'b001, 2'b01, instr_i[4:2], `OPCODE_OP};
|
||||
// c.srlr -> srl rd', rs1', rd'
|
||||
5'b01101: instr_o = {7'b0, 2'b01, instr_i[4:2], 2'b01, instr_i[4:2], 3'b101, 2'b01, instr_i[4:2], `OPCODE_OP};
|
||||
5'b01101: instr_o = {7'b0, 2'b01, instr_i[4:2], 2'b01, instr_i[9:7], 3'b101, 2'b01, instr_i[4:2], `OPCODE_OP};
|
||||
// c.sltur -> sltu rd', rs1', rd'
|
||||
5'b01111: instr_o = {7'b0, 2'b01, instr_i[4:2], 2'b01, instr_i[9:7], 3'b011, 2'b01, instr_i[4:2], `OPCODE_OP};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue