data/full_repos/permissive/143278/ivltests/function8.v
data/verilator_xmls/b0c1fe32-1348-4fba-b43c-d7a5c3d33981.xml
function [STRLEN*BYTESIZE - 1 : 0] bits2text;
      input [STRLEN-1:0] use_map;

      integer		 idx;
      begin
	 bits2text = 0;
	 for (idx = 0 ; idx < STRLEN ; idx = idx+1) begin
	    bits2text[(idx*BYTESIZE) +: BYTESIZE] = (use_map[idx] == 1'b0)? "1" : "0";
	 end
      end
   endfunction
function [STRLEN*BYTESIZE - 1 : 0] bits2text;

      input [STRLEN-1:0] use_map;

      integer		 idx;
      begin
	 bits2text = 0;
	 for (idx = 0 ; idx < STRLEN ; idx = idx+1) begin
	    bits2text[(idx*BYTESIZE) +: BYTESIZE] = (use_map[idx] == 1'b0)? "1" : "0";
	 end
      end
   endfunction