data/full_repos/permissive/143278/ivltests/pr1657307.v
 line:59: before: ":"
data/verilator_xmls/a41a4ec8-7017-4b9b-a8ba-087de406d3a1.xml
function integer get_index;
      input rank;
      integer rank;
      integer i, sum, multiplier;
      begin
	 multiplier = 1;
	 sum = 0;
	 for(i = rank-1; i >= 0; i = i-1) begin
	    sum = sum + (cindex[i] * multiplier);
	    multiplier = dindex[i] * multiplier;
	 end
	 get_index = sum-1;
      end
   endfunction
function integer get_index;

      input rank;
      integer rank;
      integer i, sum, multiplier;
      begin
	 multiplier = 1;
	 sum = 0;
	 for(i = rank-1; i >= 0; i = i-1) begin
	    sum = sum + (cindex[i] * multiplier);
	    multiplier = dindex[i] * multiplier;
	 end
	 get_index = sum-1;
      end
   endfunction