data/full_repos/permissive/117439233/hdl/src/CLA_32bit.v
1: b"%Error: data/full_repos/permissive/117439233/hdl/src/CLA_32bit.v:30: Cannot find file containing module: 'CLA_16bit'\n CLA_16bit FIRST (.A(A[15: 0]), .B(B_1[15: 0]), .Cin(CO[0]), .S(S[15: 0]), .PG(P[0]), .GG(G[0]), .C16(CO[1]));\n ^~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/117439233/hdl/src,data/full_repos/permissive/117439233/CLA_16bit\n             data/full_repos/permissive/117439233/hdl/src,data/full_repos/permissive/117439233/CLA_16bit.v\n             data/full_repos/permissive/117439233/hdl/src,data/full_repos/permissive/117439233/CLA_16bit.sv\n             CLA_16bit\n             CLA_16bit.v\n             CLA_16bit.sv\n             obj_dir/CLA_16bit\n             obj_dir/CLA_16bit.v\n             obj_dir/CLA_16bit.sv\n%Error: data/full_repos/permissive/117439233/hdl/src/CLA_32bit.v:31: Cannot find file containing module: 'CLA_16bit'\n CLA_16bit SECOND(.A(A[31:16]), .B(B_1[31:16]), .Cin(CO[1]), .S(S[31:16]), .PG(P[1]), .GG(G[1]), .C16(CO[2]));\n ^~~~~~~~~\n%Error: Exiting due to 2 error(s)\n"
module CLA_32bit(
    input Cin,
    input sel,
    input  [31:0] A,
    input  [31:0] B,
    output [31:0]S,
    output Cout
    );
	
	wire [3:0] P;
	wire [3:0] G;
	wire [2:0] CO;
	assign CO[0] = Cin;
	assign Cout = CO[2];
	wire [31:0] B_1 = sel ? (~B + 1) : B;
	
	CLA_16bit FIRST (.A(A[15: 0]), .B(B_1[15: 0]), .Cin(CO[0]), .S(S[15: 0]), .PG(P[0]), .GG(G[0]), .C16(CO[1]));
	CLA_16bit SECOND(.A(A[31:16]), .B(B_1[31:16]), .Cin(CO[1]), .S(S[31:16]), .PG(P[1]), .GG(G[1]), .C16(CO[2]));
	 
endmodule
module CLA_32bit(
    input Cin,
    input sel,
    input  [31:0] A,
    input  [31:0] B,
    output [31:0]S,
    output Cout
    );

	
	wire [3:0] P;
	wire [3:0] G;
	wire [2:0] CO;
	assign CO[0] = Cin;
	assign Cout = CO[2];
	wire [31:0] B_1 = sel ? (~B + 1) : B;
	
	CLA_16bit FIRST (.A(A[15: 0]), .B(B_1[15: 0]), .Cin(CO[0]), .S(S[15: 0]), .PG(P[0]), .GG(G[0]), .C16(CO[1]));
	CLA_16bit SECOND(.A(A[31:16]), .B(B_1[31:16]), .Cin(CO[1]), .S(S[31:16]), .PG(P[1]), .GG(G[1]), .C16(CO[2]));
	 
endmodule