data/full_repos/permissive/500711628/garbage/ALU/ALU.v
1: b'%Warning-WIDTH: data/full_repos/permissive/500711628/garbage/ALU/ALU.v:35: Operator FUNCREF \'carryer\' expects 6 bits on the Function Argument, but Function Argument\'s REPLICATE generates 5 bits.\n                                                                         : ... In instance ALU\n assign carry0 = carryer({opcode[3:1],addcarry,subcarry});\n                 ^~~~~~~\n                ... Use "/* verilator lint_off WIDTH */" and lint_on around source to disable this message.\n%Warning-WIDTH: data/full_repos/permissive/500711628/garbage/ALU/ALU.v:112: Bit extraction of var[23:0] requires 5 bit index, not 4 bits.\n                                                                          : ... In instance ALU\n   else if (op_im_rd[23:20]==4\'b1010) shiftc = op_im_rd[(op_im_rd[19:16])];\n                                                       ^\n%Warning-WIDTH: data/full_repos/permissive/500711628/garbage/ALU/ALU.v:113: Bit extraction of var[23:0] requires 5 bit index, not 4 bits.\n                                                                          : ... In instance ALU\n   else if (op_im_rd[23:20]==4\'b1010) shiftc = op_im_rd[(op_im_rd[19:16])];\n                                                       ^\n%Warning-WIDTH: data/full_repos/permissive/500711628/garbage/ALU/ALU.v:44: Operator FUNCREF \'alu\' expects 56 bits on the Function Argument, but Function Argument\'s REPLICATE generates 52 bits.\n                                                                         : ... In instance ALU\n assign result = alu({revrs,opcode,rd,rs});\n                 ^~~\n%Warning-WIDTH: data/full_repos/permissive/500711628/garbage/ALU/ALU.v:49: Operator FUNCREF \'flow\' expects 6 bits on the Function Argument, but Function Argument\'s REPLICATE generates 7 bits.\n                                                                         : ... In instance ALU\n assign overflow = flow({opcode,rd[15],rs[15],result[15]});\n                   ^~~~\n%Warning-WIDTH: data/full_repos/permissive/500711628/garbage/ALU/ALU.v:53: Operator FUNCREF \'minus\' expects 6 bits on the Function Argument, but Function Argument\'s REPLICATE generates 21 bits.\n                                                                         : ... In instance ALU\n assign minusflag = minus({opcode,overflow,result});\n                    ^~~~~\n%Error: Exiting due to 6 warning(s)\n'
function carryer;
		input [5:0] op;
		begin
		if(op[5:2] == 4'b0000) carryer = op[1];
		else if(op[5:2]==4'b0001) carryer = op[0];
		else if(op[5:2]==4'b0101) carryer = op[0];
		else carryer = 1'b0;
		end
	endfunction
function carryer;

		input [5:0] op;
		begin
		if(op[5:2] == 4'b0000) carryer = op[1];
		else if(op[5:2]==4'b0001) carryer = op[0];
		else if(op[5:2]==4'b0101) carryer = op[0];
		else carryer = 1'b0;
		end
	endfunction