data/full_repos/permissive/508331744/verilog/rtl/SQRT_CSLA_ZFC.v
1: b"%Error: data/full_repos/permissive/508331744/verilog/rtl/SQRT_CSLA_ZFC.v:15: Cannot find file containing module: 'RCA'\nRCA #(2) rca1 (A[1:0],B[1:0],cin,carries[0],Y[1:0]);\n^~~\n        ... Looked in:\n             data/full_repos/permissive/508331744/verilog/rtl,data/full_repos/permissive/508331744/RCA\n             data/full_repos/permissive/508331744/verilog/rtl,data/full_repos/permissive/508331744/RCA.v\n             data/full_repos/permissive/508331744/verilog/rtl,data/full_repos/permissive/508331744/RCA.sv\n             RCA\n             RCA.v\n             RCA.sv\n             obj_dir/RCA\n             obj_dir/RCA.v\n             obj_dir/RCA.sv\n%Error: data/full_repos/permissive/508331744/verilog/rtl/SQRT_CSLA_ZFC.v:17: Cannot find file containing module: 'RCA_nocin'\nRCA_nocin #(2) rca2(A[3:2],B[3:2],carries[1],temp[3:2]);\n^~~~~~~~~\n%Error: data/full_repos/permissive/508331744/verilog/rtl/SQRT_CSLA_ZFC.v:18: Cannot find file containing module: 'ZFC'\nZFC #(2) zfc1 (temp[3:2],carries[0],carries[1],Y[3:2],csel[0]);\n^~~\n%Error: data/full_repos/permissive/508331744/verilog/rtl/SQRT_CSLA_ZFC.v:20: Cannot find file containing module: 'RCA_nocin'\nRCA_nocin #(3) rca3 (A[6:4],B[6:4],carries[2],temp[6:4]);\n^~~~~~~~~\n%Error: data/full_repos/permissive/508331744/verilog/rtl/SQRT_CSLA_ZFC.v:21: Cannot find file containing module: 'ZFC'\nZFC #(3) zfc2 (temp[6:4],csel[0],carries[2],Y[6:4],csel[1]);\n^~~\n%Error: data/full_repos/permissive/508331744/verilog/rtl/SQRT_CSLA_ZFC.v:23: Cannot find file containing module: 'RCA_nocin'\nRCA_nocin #(4) rca4 (A[10:7],B[10:7],carries[3],temp[10:7]);\n^~~~~~~~~\n%Error: data/full_repos/permissive/508331744/verilog/rtl/SQRT_CSLA_ZFC.v:24: Cannot find file containing module: 'ZFC'\nZFC #(4) zfc3 (temp[10:7],csel[1],carries[3],Y[10:7],csel[2]);\n^~~\n%Error: data/full_repos/permissive/508331744/verilog/rtl/SQRT_CSLA_ZFC.v:26: Cannot find file containing module: 'RCA_nocin'\nRCA_nocin #(6) rca5 (A[16:11],B[16:11],carries[4],temp[16:11]);\n^~~~~~~~~\n%Error: data/full_repos/permissive/508331744/verilog/rtl/SQRT_CSLA_ZFC.v:27: Cannot find file containing module: 'ZFC'\nZFC #(6) zfc4 (temp[16:11],csel[2],carries[4],Y[16:11],csel[3]);\n^~~\n%Error: data/full_repos/permissive/508331744/verilog/rtl/SQRT_CSLA_ZFC.v:29: Cannot find file containing module: 'RCA_nocin'\nRCA_nocin #(7) rca6 (A[23:17],B[23:17],carries[5],temp[23:17]);\n^~~~~~~~~\n%Error: data/full_repos/permissive/508331744/verilog/rtl/SQRT_CSLA_ZFC.v:30: Cannot find file containing module: 'ZFC'\nZFC #(7) zfc5 (temp[23:17],csel[3],carries[5],Y[23:17],csel[4]);\n^~~\n%Error: data/full_repos/permissive/508331744/verilog/rtl/SQRT_CSLA_ZFC.v:32: Cannot find file containing module: 'RCA_nocin'\nRCA_nocin #(7) rca7 (A[30:24],B[30:24],carries[6],temp[30:24]);\n^~~~~~~~~\n%Error: data/full_repos/permissive/508331744/verilog/rtl/SQRT_CSLA_ZFC.v:33: Cannot find file containing module: 'ZFC'\nZFC #(7) zfc6 (temp[30:24],csel[4],carries[6],Y[30:24],csel[5]);\n^~~\n%Error: data/full_repos/permissive/508331744/verilog/rtl/SQRT_CSLA_ZFC.v:35: Cannot find file containing module: 'RCA_nocin'\nRCA_nocin #(3) rca8 (A[33:31],B[33:31],carries[7],temp[33:31]);\n^~~~~~~~~\n%Error: data/full_repos/permissive/508331744/verilog/rtl/SQRT_CSLA_ZFC.v:36: Cannot find file containing module: 'ZFC'\nZFC #(3) zfc7 (temp[33:31],csel[5],carries[7],Y[33:31],csel[6]);\n^~~\n%Error: data/full_repos/permissive/508331744/verilog/rtl/SQRT_CSLA_ZFC.v:38: Cannot find file containing module: 'RCA_nocin'\nRCA_nocin #(4) rca9 (A[37:34],B[37:34],carries[8],temp[37:34]);\n^~~~~~~~~\n%Error: data/full_repos/permissive/508331744/verilog/rtl/SQRT_CSLA_ZFC.v:39: Cannot find file containing module: 'ZFC'\nZFC #(4) zfc8 (temp[37:34],csel[6],carries[8],Y[37:34],csel[7]);\n^~~\n%Error: data/full_repos/permissive/508331744/verilog/rtl/SQRT_CSLA_ZFC.v:41: Cannot find file containing module: 'RCA_nocin'\nRCA_nocin #(5) rca10 (A[42:38],B[42:38],carries[9],temp[42:38]);\n^~~~~~~~~\n%Error: data/full_repos/permissive/508331744/verilog/rtl/SQRT_CSLA_ZFC.v:42: Cannot find file containing module: 'ZFC'\nZFC #(5) zfc9 (temp[42:38],csel[7],carries[9],Y[42:38],csel[8]);\n^~~\n%Error: data/full_repos/permissive/508331744/verilog/rtl/SQRT_CSLA_ZFC.v:44: Cannot find file containing module: 'RCA_nocin'\nRCA_nocin #(6) rca11 (A[48:43],B[48:43],carries[10],temp[48:43]);\n^~~~~~~~~\n%Error: data/full_repos/permissive/508331744/verilog/rtl/SQRT_CSLA_ZFC.v:45: Cannot find file containing module: 'ZFC'\nZFC #(6) zfc10 (temp[48:43],csel[8],carries[10],Y[48:43],csel[9]);\n^~~\n%Error: data/full_repos/permissive/508331744/verilog/rtl/SQRT_CSLA_ZFC.v:47: Cannot find file containing module: 'RCA_nocin'\nRCA_nocin #(7) rca12 (A[55:49],B[55:49],carries[11],temp[55:49]);\n^~~~~~~~~\n%Error: data/full_repos/permissive/508331744/verilog/rtl/SQRT_CSLA_ZFC.v:48: Cannot find file containing module: 'ZFC'\nZFC #(7) zfc11 (temp[55:49],csel[9],carries[11],Y[55:49],csel[10]);\n^~~\n%Error: data/full_repos/permissive/508331744/verilog/rtl/SQRT_CSLA_ZFC.v:50: Cannot find file containing module: 'RCA_nocin'\nRCA_nocin #(8) rca13 (A[63:56],B[63:56],carries[12],temp[63:56]);\n^~~~~~~~~\n%Error: data/full_repos/permissive/508331744/verilog/rtl/SQRT_CSLA_ZFC.v:51: Cannot find file containing module: 'ZFC'\nZFC #(8) zfc12 (temp[63:56],csel[10],carries[12],Y[63:56],csel[11]);\n^~~\n%Error: Exiting due to 25 error(s)\n"
module SQRT_CSLA_ZFC(

    input [63:0] A,B,
    input cin,
    output [63:0] Y,
    output cout,Z
    );

wire [63:0] temp;
wire [12:0] carries;
wire [11:0] csel;

RCA #(2) rca1 (A[1:0],B[1:0],cin,carries[0],Y[1:0]);

RCA_nocin #(2) rca2(A[3:2],B[3:2],carries[1],temp[3:2]);
ZFC #(2) zfc1 (temp[3:2],carries[0],carries[1],Y[3:2],csel[0]);

RCA_nocin #(3) rca3 (A[6:4],B[6:4],carries[2],temp[6:4]);
ZFC #(3) zfc2 (temp[6:4],csel[0],carries[2],Y[6:4],csel[1]);

RCA_nocin #(4) rca4 (A[10:7],B[10:7],carries[3],temp[10:7]);
ZFC #(4) zfc3 (temp[10:7],csel[1],carries[3],Y[10:7],csel[2]);

RCA_nocin #(6) rca5 (A[16:11],B[16:11],carries[4],temp[16:11]);
ZFC #(6) zfc4 (temp[16:11],csel[2],carries[4],Y[16:11],csel[3]);

RCA_nocin #(7) rca6 (A[23:17],B[23:17],carries[5],temp[23:17]);
ZFC #(7) zfc5 (temp[23:17],csel[3],carries[5],Y[23:17],csel[4]);

RCA_nocin #(7) rca7 (A[30:24],B[30:24],carries[6],temp[30:24]);
ZFC #(7) zfc6 (temp[30:24],csel[4],carries[6],Y[30:24],csel[5]);

RCA_nocin #(3) rca8 (A[33:31],B[33:31],carries[7],temp[33:31]);
ZFC #(3) zfc7 (temp[33:31],csel[5],carries[7],Y[33:31],csel[6]);

RCA_nocin #(4) rca9 (A[37:34],B[37:34],carries[8],temp[37:34]);
ZFC #(4) zfc8 (temp[37:34],csel[6],carries[8],Y[37:34],csel[7]);

RCA_nocin #(5) rca10 (A[42:38],B[42:38],carries[9],temp[42:38]);
ZFC #(5) zfc9 (temp[42:38],csel[7],carries[9],Y[42:38],csel[8]);

RCA_nocin #(6) rca11 (A[48:43],B[48:43],carries[10],temp[48:43]);
ZFC #(6) zfc10 (temp[48:43],csel[8],carries[10],Y[48:43],csel[9]);

RCA_nocin #(7) rca12 (A[55:49],B[55:49],carries[11],temp[55:49]);
ZFC #(7) zfc11 (temp[55:49],csel[9],carries[11],Y[55:49],csel[10]);

RCA_nocin #(8) rca13 (A[63:56],B[63:56],carries[12],temp[63:56]);
ZFC #(8) zfc12 (temp[63:56],csel[10],carries[12],Y[63:56],csel[11]);

assign cout = csel[11];

assign Z = (Y == 0)? 1 : 0;   
    
endmodule
module SQRT_CSLA_ZFC(

    input [63:0] A,B,
    input cin,
    output [63:0] Y,
    output cout,Z
    );


wire [63:0] temp;
wire [12:0] carries;
wire [11:0] csel;

RCA #(2) rca1 (A[1:0],B[1:0],cin,carries[0],Y[1:0]);

RCA_nocin #(2) rca2(A[3:2],B[3:2],carries[1],temp[3:2]);
ZFC #(2) zfc1 (temp[3:2],carries[0],carries[1],Y[3:2],csel[0]);

RCA_nocin #(3) rca3 (A[6:4],B[6:4],carries[2],temp[6:4]);
ZFC #(3) zfc2 (temp[6:4],csel[0],carries[2],Y[6:4],csel[1]);

RCA_nocin #(4) rca4 (A[10:7],B[10:7],carries[3],temp[10:7]);
ZFC #(4) zfc3 (temp[10:7],csel[1],carries[3],Y[10:7],csel[2]);

RCA_nocin #(6) rca5 (A[16:11],B[16:11],carries[4],temp[16:11]);
ZFC #(6) zfc4 (temp[16:11],csel[2],carries[4],Y[16:11],csel[3]);

RCA_nocin #(7) rca6 (A[23:17],B[23:17],carries[5],temp[23:17]);
ZFC #(7) zfc5 (temp[23:17],csel[3],carries[5],Y[23:17],csel[4]);

RCA_nocin #(7) rca7 (A[30:24],B[30:24],carries[6],temp[30:24]);
ZFC #(7) zfc6 (temp[30:24],csel[4],carries[6],Y[30:24],csel[5]);

RCA_nocin #(3) rca8 (A[33:31],B[33:31],carries[7],temp[33:31]);
ZFC #(3) zfc7 (temp[33:31],csel[5],carries[7],Y[33:31],csel[6]);

RCA_nocin #(4) rca9 (A[37:34],B[37:34],carries[8],temp[37:34]);
ZFC #(4) zfc8 (temp[37:34],csel[6],carries[8],Y[37:34],csel[7]);

RCA_nocin #(5) rca10 (A[42:38],B[42:38],carries[9],temp[42:38]);
ZFC #(5) zfc9 (temp[42:38],csel[7],carries[9],Y[42:38],csel[8]);

RCA_nocin #(6) rca11 (A[48:43],B[48:43],carries[10],temp[48:43]);
ZFC #(6) zfc10 (temp[48:43],csel[8],carries[10],Y[48:43],csel[9]);

RCA_nocin #(7) rca12 (A[55:49],B[55:49],carries[11],temp[55:49]);
ZFC #(7) zfc11 (temp[55:49],csel[9],carries[11],Y[55:49],csel[10]);

RCA_nocin #(8) rca13 (A[63:56],B[63:56],carries[12],temp[63:56]);
ZFC #(8) zfc12 (temp[63:56],csel[10],carries[12],Y[63:56],csel[11]);

assign cout = csel[11];

assign Z = (Y == 0)? 1 : 0;   
    
endmodule