mirror of
https://github.com/openhwgroup/cve2.git
synced 2025-04-22 13:07:46 -04:00
Added missing compressed instruction: c.slt
This commit is contained in:
parent
cdabd40c59
commit
4baf8eaad9
2 changed files with 2 additions and 2 deletions
|
@ -95,7 +95,8 @@ module compressed_decoder
|
|||
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};
|
||||
|
||||
// c.sra
|
||||
// c.slt
|
||||
// c.slt -> slt rd', rd', rs2'
|
||||
5'b00110: instr_o = {7'b0, 2'b01, instr_i[4:2], 2'b01, instr_i[9:7], 3'b010, 2'b01, instr_i[9:7], `OPCODE_OP};
|
||||
// c.sltr
|
||||
default: illegal_instr_o = 1'b1;
|
||||
endcase
|
||||
|
|
|
@ -160,7 +160,6 @@ module id_stage
|
|||
|
||||
// Compressed instruction decoding
|
||||
logic [31:0] instr;
|
||||
logic illegal_compressed_instr;
|
||||
|
||||
// Immediate decoding and sign extension
|
||||
logic [31:0] imm_i_type;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue