mirror of
https://github.com/openhwgroup/cve2.git
synced 2025-04-25 06:27:22 -04:00
Switch bclr and bset instructions to comply with spec
This commit is contained in:
parent
4ff7d58f02
commit
7e07801be1
1 changed files with 2 additions and 2 deletions
|
@ -435,8 +435,8 @@ module riscv_decoder
|
||||||
regc_mux_o = `REGC_RD;
|
regc_mux_o = `REGC_RD;
|
||||||
end
|
end
|
||||||
|
|
||||||
3'b011: begin alu_operator_o = `ALU_BSET; end
|
3'b011: begin alu_operator_o = `ALU_BCLR; end
|
||||||
3'b100: begin alu_operator_o = `ALU_BCLR; end
|
3'b100: begin alu_operator_o = `ALU_BSET; end
|
||||||
|
|
||||||
default: illegal_insn_o = 1'b1;
|
default: illegal_insn_o = 1'b1;
|
||||||
endcase
|
endcase
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue