X-Git-Url: http://git.joshuawise.com/firearm.git/blobdiff_plain/fbe84cc13ec3e381956f322b3ba182112d364202..35c2aa5eb94e1ed39b6bfc120424f0b208b1a62c:/Decode.v diff --git a/Decode.v b/Decode.v index 689e8fc..d07b95a 100644 --- a/Decode.v +++ b/Decode.v @@ -241,8 +241,9 @@ module IREALLYHATEARMSHIFT( output reg cflag_out ); wire [5:0] shift_amt; - reg rshift_cout, is_arith, is_rot; - reg [31:0] rshift_res; + reg is_arith, is_rot; + wire rshift_cout; + wire [31:0] rshift_res; assign shift_amt = insn[4] ? {|reg_amt[7:5], reg_amt[4:0]} /* reg-specified shift */ : {insn[11:7] == 5'b0, insn[11:7]}; /* immediate shift */ @@ -306,8 +307,8 @@ module SuckLessShifter( input [5:0] amt, input is_arith, input is_rot, - output [31:0] res, - output carryout + output wire [31:0] res, + output wire carryout ); wire [32:0] stage1, stage2, stage3, stage4, stage5; @@ -327,7 +328,7 @@ endmodule module SuckLessRotator( input [31:0] oper, input [3:0] amt, - output [31:0] res + output wire [31:0] res ); wire [31:0] stage1, stage2, stage3;