data/full_repos/permissive/174783592/WallacePL/Adder/sum24bit.sv
1: b"%Error: data/full_repos/permissive/174783592/WallacePL/Adder/sum24bit.sv:47: Cannot find file containing module: 'kpgGen'\n   kpgGen gen(a[i],b[i],kpgIn[i+1]);\n   ^~~~~~\n        ... Looked in:\n             data/full_repos/permissive/174783592/WallacePL/Adder,data/full_repos/permissive/174783592/kpgGen\n             data/full_repos/permissive/174783592/WallacePL/Adder,data/full_repos/permissive/174783592/kpgGen.v\n             data/full_repos/permissive/174783592/WallacePL/Adder,data/full_repos/permissive/174783592/kpgGen.sv\n             kpgGen\n             kpgGen.v\n             kpgGen.sv\n             obj_dir/kpgGen\n             obj_dir/kpgGen.v\n             obj_dir/kpgGen.sv\n%Error: data/full_repos/permissive/174783592/WallacePL/Adder/sum24bit.sv:52: Cannot find file containing module: 'kpgCmp'\n   kpgCmp cmp(kpgIn[i+1],kpgIn[i],wl1[i+1]);\n   ^~~~~~\n%Error: data/full_repos/permissive/174783592/WallacePL/Adder/sum24bit.sv:57: Cannot find file containing module: 'kpgCmp'\n   kpgCmp cmp(wl1[i+2],wl1[i],wl2[i+2]);\n   ^~~~~~\n%Error: data/full_repos/permissive/174783592/WallacePL/Adder/sum24bit.sv:63: Cannot find file containing module: 'kpgCmp'\n   kpgCmp cmp(wl2[i+4],wl2[i],wl3[i+4]);\n   ^~~~~~\n%Error: data/full_repos/permissive/174783592/WallacePL/Adder/sum24bit.sv:70: Cannot find file containing module: 'kpgCmp'\n   kpgCmp cmp(wl3[i+8],wl3[i],wl4[i+8]);\n   ^~~~~~\n%Error: data/full_repos/permissive/174783592/WallacePL/Adder/sum24bit.sv:76: Cannot find file containing module: 'kpgCmp'\n kpgCmp l12(wl1[2],kpgIn[0],wl2[2]);\n ^~~~~~\n%Error: data/full_repos/permissive/174783592/WallacePL/Adder/sum24bit.sv:79: Cannot find file containing module: 'kpgCmp'\n kpgCmp l231(wl2[4],kpgIn[0],wl3[4]);\n ^~~~~~\n%Error: data/full_repos/permissive/174783592/WallacePL/Adder/sum24bit.sv:80: Cannot find file containing module: 'kpgCmp'\n kpgCmp l232(wl2[5],wl1[1],wl3[5]);\n ^~~~~~\n%Error: data/full_repos/permissive/174783592/WallacePL/Adder/sum24bit.sv:84: Cannot find file containing module: 'kpgCmp'\n kpgCmp l341(wl3[8],kpgIn[0],wl4[8]);\n ^~~~~~\n%Error: data/full_repos/permissive/174783592/WallacePL/Adder/sum24bit.sv:85: Cannot find file containing module: 'kpgCmp'\n kpgCmp l342(wl3[9],wl1[1],wl4[9]);\n ^~~~~~\n%Error: data/full_repos/permissive/174783592/WallacePL/Adder/sum24bit.sv:86: Cannot find file containing module: 'kpgCmp'\n kpgCmp l343(wl3[10],wl2[2],wl4[10]);\n ^~~~~~\n%Error: data/full_repos/permissive/174783592/WallacePL/Adder/sum24bit.sv:87: Cannot find file containing module: 'kpgCmp'\n kpgCmp l344(wl3[11],wl2[3],wl4[11]);\n ^~~~~~\n%Error: data/full_repos/permissive/174783592/WallacePL/Adder/sum24bit.sv:90: Cannot find file containing module: 'kpgCmp'\n kpgCmp l451(wl4[16],kpgIn[0],kpgOut[16]);\n ^~~~~~\n%Error: data/full_repos/permissive/174783592/WallacePL/Adder/sum24bit.sv:91: Cannot find file containing module: 'kpgCmp'\n kpgCmp l452(wl4[17],wl1[1],kpgOut[17]);\n ^~~~~~\n%Error: data/full_repos/permissive/174783592/WallacePL/Adder/sum24bit.sv:92: Cannot find file containing module: 'kpgCmp'\n kpgCmp l453(wl4[18],wl2[2],kpgOut[18]);\n ^~~~~~\n%Error: data/full_repos/permissive/174783592/WallacePL/Adder/sum24bit.sv:93: Cannot find file containing module: 'kpgCmp'\n kpgCmp l454(wl4[19],wl2[3],kpgOut[19]);\n ^~~~~~\n%Error: data/full_repos/permissive/174783592/WallacePL/Adder/sum24bit.sv:94: Cannot find file containing module: 'kpgCmp'\n kpgCmp l455(wl4[20],wl3[4],kpgOut[20]);\n ^~~~~~\n%Error: data/full_repos/permissive/174783592/WallacePL/Adder/sum24bit.sv:95: Cannot find file containing module: 'kpgCmp'\n kpgCmp l456(wl4[21],wl3[5],kpgOut[21]);\n ^~~~~~\n%Error: data/full_repos/permissive/174783592/WallacePL/Adder/sum24bit.sv:96: Cannot find file containing module: 'kpgCmp'\n kpgCmp l457(wl4[22],wl3[6],kpgOut[22]);\n ^~~~~~\n%Error: data/full_repos/permissive/174783592/WallacePL/Adder/sum24bit.sv:97: Cannot find file containing module: 'kpgCmp'\n kpgCmp l458(wl4[23],wl3[7],kpgOut[23]);\n ^~~~~~\n%Error: data/full_repos/permissive/174783592/WallacePL/Adder/sum24bit.sv:98: Cannot find file containing module: 'kpgCmp'\n kpgCmp l459(wl4[24],wl3[8],kpgOut[24]);\n ^~~~~~\n%Error: Exiting due to 21 error(s)\n"
module sum24bit(a,b,kIn,sum);
	input [23:0] a;
	input [23:0] b;
	input [1:0] kIn;
	wire [24:0] sumwire;
	output [24:0]sum;

	wire [1:0] kpgIn [24:0];
	wire [1:0] wl1 [24:1];
	wire [1:0] wl2 [24:2];
	wire [1:0] wl3 [24:4];
	wire [1:0] wl4 [24:8];
	wire [1:0] wl5 [24:16];
	wire [1:0] kpgOut[24:0];

	wire [24:0] temp;
	assign kpgIn [0] = kIn;	
	generate
		genvar i;

		for(i =0;i<24; i = i + 1)
		begin
			kpgGen gen(a[i],b[i],kpgIn[i+1]);
		end

		for(i=0;i<24;i = i +1)
		begin
			kpgCmp cmp(kpgIn[i+1],kpgIn[i],wl1[i+1]);
		end

		for(i=1;i<23;i = i +1)
		begin
			kpgCmp cmp(wl1[i+2],wl1[i],wl2[i+2]);
		end

		
		for(i=2;i<21;i = i +1)
		begin
			kpgCmp cmp(wl2[i+4],wl2[i],wl3[i+4]);
		end
	

		
		for(i=4;i<17;i = i +1)
		begin
			kpgCmp cmp(wl3[i+8],wl3[i],wl4[i+8]);
		end

	endgenerate


	kpgCmp l12(wl1[2],kpgIn[0],wl2[2]);


	kpgCmp l231(wl2[4],kpgIn[0],wl3[4]);
	kpgCmp l232(wl2[5],wl1[1],wl3[5]);


	
	kpgCmp l341(wl3[8],kpgIn[0],wl4[8]);
	kpgCmp l342(wl3[9],wl1[1],wl4[9]);
	kpgCmp l343(wl3[10],wl2[2],wl4[10]);
	kpgCmp l344(wl3[11],wl2[3],wl4[11]);


	kpgCmp l451(wl4[16],kpgIn[0],kpgOut[16]);
	kpgCmp l452(wl4[17],wl1[1],kpgOut[17]);
	kpgCmp l453(wl4[18],wl2[2],kpgOut[18]);
	kpgCmp l454(wl4[19],wl2[3],kpgOut[19]);
	kpgCmp l455(wl4[20],wl3[4],kpgOut[20]);
	kpgCmp l456(wl4[21],wl3[5],kpgOut[21]);
	kpgCmp l457(wl4[22],wl3[6],kpgOut[22]);
	kpgCmp l458(wl4[23],wl3[7],kpgOut[23]);
	kpgCmp l459(wl4[24],wl3[8],kpgOut[24]);
	



	assign kpgOut[15]= wl4[15];
	assign kpgOut[14]= wl4[14];
	assign kpgOut[13]= wl4[13];
	assign kpgOut[12]= wl4[12];
	assign kpgOut[11]= wl4[11];
	assign kpgOut[10]= wl4[10];
	assign kpgOut[9]= wl4[9];
	assign kpgOut[8]= wl4[8];
	assign kpgOut[7]= wl3[7];
	assign kpgOut[6]= wl3[6];
	assign kpgOut[5]= wl3[5];
	assign kpgOut[4]= wl2[4];
	assign kpgOut[3]= wl2[3];
	assign kpgOut[2]= wl2[2];
	assign kpgOut[1]= wl1[1];
	assign kpgOut[0]= kpgIn[0];



	generate
	genvar j;
	
	for(j=0;j<24;j=j+1)
		begin
			or(temp[j],kpgOut[j][0],kpgOut[j][1]);
			xor(sum[j],a[j],b[j],temp[j]);
		end
	endgenerate

	assign sum[24] = kpgOut[24][0] | kpgOut[24][1];
			

	endmodule
module sum24bit(a,b,kIn,sum);

	input [23:0] a;
	input [23:0] b;
	input [1:0] kIn;
	wire [24:0] sumwire;
	output [24:0]sum;

	wire [1:0] kpgIn [24:0];
	wire [1:0] wl1 [24:1];
	wire [1:0] wl2 [24:2];
	wire [1:0] wl3 [24:4];
	wire [1:0] wl4 [24:8];
	wire [1:0] wl5 [24:16];
	wire [1:0] kpgOut[24:0];

	wire [24:0] temp;
	assign kpgIn [0] = kIn;	
	generate
		genvar i;

		for(i =0;i<24; i = i + 1)
		begin
			kpgGen gen(a[i],b[i],kpgIn[i+1]);
		end

		for(i=0;i<24;i = i +1)
		begin
			kpgCmp cmp(kpgIn[i+1],kpgIn[i],wl1[i+1]);
		end

		for(i=1;i<23;i = i +1)
		begin
			kpgCmp cmp(wl1[i+2],wl1[i],wl2[i+2]);
		end

		
		for(i=2;i<21;i = i +1)
		begin
			kpgCmp cmp(wl2[i+4],wl2[i],wl3[i+4]);
		end
	

		
		for(i=4;i<17;i = i +1)
		begin
			kpgCmp cmp(wl3[i+8],wl3[i],wl4[i+8]);
		end

	endgenerate


	kpgCmp l12(wl1[2],kpgIn[0],wl2[2]);


	kpgCmp l231(wl2[4],kpgIn[0],wl3[4]);
	kpgCmp l232(wl2[5],wl1[1],wl3[5]);


	
	kpgCmp l341(wl3[8],kpgIn[0],wl4[8]);
	kpgCmp l342(wl3[9],wl1[1],wl4[9]);
	kpgCmp l343(wl3[10],wl2[2],wl4[10]);
	kpgCmp l344(wl3[11],wl2[3],wl4[11]);


	kpgCmp l451(wl4[16],kpgIn[0],kpgOut[16]);
	kpgCmp l452(wl4[17],wl1[1],kpgOut[17]);
	kpgCmp l453(wl4[18],wl2[2],kpgOut[18]);
	kpgCmp l454(wl4[19],wl2[3],kpgOut[19]);
	kpgCmp l455(wl4[20],wl3[4],kpgOut[20]);
	kpgCmp l456(wl4[21],wl3[5],kpgOut[21]);
	kpgCmp l457(wl4[22],wl3[6],kpgOut[22]);
	kpgCmp l458(wl4[23],wl3[7],kpgOut[23]);
	kpgCmp l459(wl4[24],wl3[8],kpgOut[24]);
	



	assign kpgOut[15]= wl4[15];
	assign kpgOut[14]= wl4[14];
	assign kpgOut[13]= wl4[13];
	assign kpgOut[12]= wl4[12];
	assign kpgOut[11]= wl4[11];
	assign kpgOut[10]= wl4[10];
	assign kpgOut[9]= wl4[9];
	assign kpgOut[8]= wl4[8];
	assign kpgOut[7]= wl3[7];
	assign kpgOut[6]= wl3[6];
	assign kpgOut[5]= wl3[5];
	assign kpgOut[4]= wl2[4];
	assign kpgOut[3]= wl2[3];
	assign kpgOut[2]= wl2[2];
	assign kpgOut[1]= wl1[1];
	assign kpgOut[0]= kpgIn[0];



	generate
	genvar j;
	
	for(j=0;j<24;j=j+1)
		begin
			or(temp[j],kpgOut[j][0],kpgOut[j][1]);
			xor(sum[j],a[j],b[j],temp[j]);
		end
	endgenerate

	assign sum[24] = kpgOut[24][0] | kpgOut[24][1];
			

	endmodule