Skip to content

Commit

Permalink
Remove shift right from coproc
Browse files Browse the repository at this point in the history
  • Loading branch information
LucasKl committed Oct 31, 2024
1 parent b28f29d commit 8a340d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wb_coproc.v
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ module wb_coproc(
reg [31:0] opa;
reg [31:0] opb;

wire [31:0] res_srl = opa >> opb[4:0];
wire [31:0] res_srl = 32'b0; //opa >> opb[4:0];
wire [31:0] res_and = opa & opb;
wire [31:0] res_or = opa | opb;
wire [31:0] res_xor = opa ^ opb;
Expand Down

0 comments on commit 8a340d3

Please sign in to comment.