data/full_repos/permissive/486954482/TinyGarble/circuit_synthesis/knns/first_nns_comb.v
1: b"%Error: data/full_repos/permissive/486954482/TinyGarble/circuit_synthesis/knns/first_nns_comb.v:30: Unsupported: SystemVerilog 2005 reserved word not implemented: 'dist'\n wire [LOGW-1:0] dist[N-1:0];\n                 ^~~~\n%Error: data/full_repos/permissive/486954482/TinyGarble/circuit_synthesis/knns/first_nns_comb.v:30: syntax error, unexpected ';', expecting IDENTIFIER or do or final\n wire [LOGW-1:0] dist[N-1:0];\n                            ^\n%Error: data/full_repos/permissive/486954482/TinyGarble/circuit_synthesis/knns/first_nns_comb.v:56: Unsupported: SystemVerilog 2005 reserved word not implemented: 'dist'\n   .S(dist[i])\n      ^~~~\n%Error: data/full_repos/permissive/486954482/TinyGarble/circuit_synthesis/knns/first_nns_comb.v:56: syntax error, unexpected '[', expecting TYPE-IDENTIFIER\n   .S(dist[i])\n          ^\n%Error: data/full_repos/permissive/486954482/TinyGarble/circuit_synthesis/knns/first_nns_comb.v:62: Unsupported: SystemVerilog 2005 reserved word not implemented: 'dist'\n assign min_dist[0] = dist[0];\n                      ^~~~\n%Error: data/full_repos/permissive/486954482/TinyGarble/circuit_synthesis/knns/first_nns_comb.v:62: syntax error, unexpected '[', expecting TYPE-IDENTIFIER\n assign min_dist[0] = dist[0];\n                          ^\n%Error: data/full_repos/permissive/486954482/TinyGarble/circuit_synthesis/knns/first_nns_comb.v:74: Unsupported: SystemVerilog 2005 reserved word not implemented: 'dist'\n   .B(dist[i]),\n      ^~~~\n%Error: data/full_repos/permissive/486954482/TinyGarble/circuit_synthesis/knns/first_nns_comb.v:74: syntax error, unexpected '[', expecting TYPE-IDENTIFIER\n   .B(dist[i]),\n          ^\n%Error: data/full_repos/permissive/486954482/TinyGarble/circuit_synthesis/knns/first_nns_comb.v:101: Unsupported: SystemVerilog 2005 reserved word not implemented: 'dist'\n   .A(dist[i]),\n      ^~~~\n%Error: data/full_repos/permissive/486954482/TinyGarble/circuit_synthesis/knns/first_nns_comb.v:101: syntax error, unexpected '[', expecting TYPE-IDENTIFIER\n   .A(dist[i]),\n          ^\n%Error: Exiting due to 10 error(s)\n        ... See the manual and https://verilator.org for more assistance.\n"
function integer log2;
		input [31:0] value;
		reg [31:0] temp;
	begin
		temp = value;
		for (log2=0; temp>0; log2=log2+1)
			temp = temp>>1;
	end
	endfunction
function integer log2;

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