ALU lint fixes

This commit is contained in:
Kevin Kim 2023-02-13 14:01:51 -08:00
parent ed6a0466ad
commit 02a7dc45f0

View File

@ -67,6 +67,7 @@ module alu #(parameter WIDTH=32) (
11'b0010000_110_1: CondShiftA = {{29{1'b0}},A[31:0], {3'b0}}; //sh3add.uw
default: CondShiftA = A;
endcase
end
else begin
assign CondShiftA = A;
end
@ -88,8 +89,8 @@ module alu #(parameter WIDTH=32) (
endcase
end
else begin
InvB = 1'b0;
Rotate = 1'b0;
assign InvB = 1'b0;
assign Rotate = 1'b0;
end
assign CondInvB = (SubArith | InvB) ? ~B : B;