data/full_repos/permissive/148200700/Quartus/ip/random_number_generator/count_entropy/count_entropy.sv
 line:40 column:41: Illegal character "'"
1: b'%Warning-WIDTH: data/full_repos/permissive/148200700/Quartus/ip/random_number_generator/count_entropy/count_entropy.sv:61: Operator OR expects 32 bits on the RHS, but RHS\'s ARRAYSEL generates 24 bits.\n                                                                                                                         : ... In instance count_entropy\n  entropy_readdata <= {32\'h00000000} | entropy_counter[entropy_address];\n                                     ^\n                ... Use "/* verilator lint_off WIDTH */" and lint_on around source to disable this message.\n%Warning-WIDTH: data/full_repos/permissive/148200700/Quartus/ip/random_number_generator/count_entropy/count_entropy.sv:62: Operator OR expects 32 bits on the RHS, but RHS\'s VARREF \'transaction_counter\' generates 24 bits.\n                                                                                                                         : ... In instance count_entropy\n  transaction_readdata <= {32\'h00000000} | transaction_counter;\n                                         ^\n%Error: Exiting due to 2 warning(s)\n'
function integer log2ceil;
	input reg[63:0] val;
	reg [63:0] i;

	begin
		i = 1;
		log2ceil = 0;

		while (i < val) begin
			log2ceil = log2ceil + 1;
			i = i << 1;
		end
	end
endfunction
function integer log2ceil;

	input reg[63:0] val;
	reg [63:0] i;

	begin
		i = 1;
		log2ceil = 0;

		while (i < val) begin
			log2ceil = log2ceil + 1;
			i = i << 1;
		end
	end
endfunction