Switch bclr and bset instructions to comply with spec

This commit is contained in:
Andreas Traber 2016-03-03 10:56:00 +01:00
parent 4ff7d58f02
commit 7e07801be1

View file

@ -435,8 +435,8 @@ module riscv_decoder
regc_mux_o = `REGC_RD;
end
3'b011: begin alu_operator_o = `ALU_BSET; end
3'b100: begin alu_operator_o = `ALU_BCLR; end
3'b011: begin alu_operator_o = `ALU_BCLR; end
3'b100: begin alu_operator_o = `ALU_BSET; end
default: illegal_insn_o = 1'b1;
endcase