data/full_repos/permissive/19196754/nes_controller.v
1: b'%Warning-WIDTH: data/full_repos/permissive/19196754/nes_controller.v:42: Operator ASSIGNDLY expects 8 bits on the Assign RHS, but Assign RHS\'s CONST \'4\'h0\' generates 4 bits.\n                                                                       : ... In instance nes_controller\n       if(latch_phase) data <= 4\'h0;\n                            ^~\n                ... Use "/* verilator lint_off WIDTH */" and lint_on around source to disable this message.\n%Error: Exiting due to 1 warning(s)\n'
function integer log2;
		 input [31:0] value;
		 begin
			  value = value - 1;
			  for (log2 = 0; value > 0; log2 = log2 + 1) begin
					value = value >> 1;
			  end
		 end
	endfunction
function integer log2;

		 input [31:0] value;
		 begin
			  value = value - 1;
			  for (log2 = 0; value > 0; log2 = log2 + 1) begin
					value = value >> 1;
			  end
		 end
	endfunction