forked from Github_Repos/cvw
ALU lint fixes
This commit is contained in:
parent
29d03dbfc7
commit
27223a05e2
@ -67,6 +67,7 @@ module alu #(parameter WIDTH=32) (
|
|||||||
11'b0010000_110_1: CondShiftA = {{29{1'b0}},A[31:0], {3'b0}}; //sh3add.uw
|
11'b0010000_110_1: CondShiftA = {{29{1'b0}},A[31:0], {3'b0}}; //sh3add.uw
|
||||||
default: CondShiftA = A;
|
default: CondShiftA = A;
|
||||||
endcase
|
endcase
|
||||||
|
end
|
||||||
else begin
|
else begin
|
||||||
assign CondShiftA = A;
|
assign CondShiftA = A;
|
||||||
end
|
end
|
||||||
@ -88,8 +89,8 @@ module alu #(parameter WIDTH=32) (
|
|||||||
endcase
|
endcase
|
||||||
end
|
end
|
||||||
else begin
|
else begin
|
||||||
InvB = 1'b0;
|
assign InvB = 1'b0;
|
||||||
Rotate = 1'b0;
|
assign Rotate = 1'b0;
|
||||||
end
|
end
|
||||||
|
|
||||||
assign CondInvB = (SubArith | InvB) ? ~B : B;
|
assign CondInvB = (SubArith | InvB) ? ~B : B;
|
||||||
|
Loading…
Reference in New Issue
Block a user