data/full_repos/permissive/452721391/02/Add16.v
1: b"%Error: data/full_repos/permissive/452721391/02/Add16.v:34: Cannot find file containing module: 'FullAdder'\n    FullAdder full_adder_inst_a\n    ^~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/452721391/02,data/full_repos/permissive/452721391/FullAdder\n             data/full_repos/permissive/452721391/02,data/full_repos/permissive/452721391/FullAdder.v\n             data/full_repos/permissive/452721391/02,data/full_repos/permissive/452721391/FullAdder.sv\n             FullAdder\n             FullAdder.v\n             FullAdder.sv\n             obj_dir/FullAdder\n             obj_dir/FullAdder.v\n             obj_dir/FullAdder.sv\n%Error: data/full_repos/permissive/452721391/02/Add16.v:44: Cannot find file containing module: 'FullAdder'\n    FullAdder full_adder_inst_b\n    ^~~~~~~~~\n%Error: data/full_repos/permissive/452721391/02/Add16.v:54: Cannot find file containing module: 'FullAdder'\n    FullAdder full_adder_inst_c\n    ^~~~~~~~~\n%Error: data/full_repos/permissive/452721391/02/Add16.v:64: Cannot find file containing module: 'FullAdder'\n    FullAdder full_adder_inst_d\n    ^~~~~~~~~\n%Error: data/full_repos/permissive/452721391/02/Add16.v:74: Cannot find file containing module: 'FullAdder'\n    FullAdder full_adder_inst_e\n    ^~~~~~~~~\n%Error: data/full_repos/permissive/452721391/02/Add16.v:84: Cannot find file containing module: 'FullAdder'\n    FullAdder full_adder_inst_f\n    ^~~~~~~~~\n%Error: data/full_repos/permissive/452721391/02/Add16.v:94: Cannot find file containing module: 'FullAdder'\n    FullAdder full_adder_inst_g\n    ^~~~~~~~~\n%Error: data/full_repos/permissive/452721391/02/Add16.v:104: Cannot find file containing module: 'FullAdder'\n    FullAdder full_adder_inst_h\n    ^~~~~~~~~\n%Error: data/full_repos/permissive/452721391/02/Add16.v:114: Cannot find file containing module: 'FullAdder'\n    FullAdder full_adder_inst_i\n    ^~~~~~~~~\n%Error: data/full_repos/permissive/452721391/02/Add16.v:124: Cannot find file containing module: 'FullAdder'\n    FullAdder full_adder_inst_j\n    ^~~~~~~~~\n%Error: data/full_repos/permissive/452721391/02/Add16.v:134: Cannot find file containing module: 'FullAdder'\n    FullAdder full_adder_inst_k\n    ^~~~~~~~~\n%Error: data/full_repos/permissive/452721391/02/Add16.v:144: Cannot find file containing module: 'FullAdder'\n    FullAdder full_adder_inst_l\n    ^~~~~~~~~\n%Error: data/full_repos/permissive/452721391/02/Add16.v:154: Cannot find file containing module: 'FullAdder'\n    FullAdder full_adder_inst_m\n    ^~~~~~~~~\n%Error: data/full_repos/permissive/452721391/02/Add16.v:164: Cannot find file containing module: 'FullAdder'\n    FullAdder full_adder_inst_n\n    ^~~~~~~~~\n%Error: data/full_repos/permissive/452721391/02/Add16.v:174: Cannot find file containing module: 'FullAdder'\n    FullAdder full_adder_inst_o\n    ^~~~~~~~~\n%Error: data/full_repos/permissive/452721391/02/Add16.v:184: Cannot find file containing module: 'FullAdder'\n    FullAdder full_adder_inst_p\n    ^~~~~~~~~\n%Error: Exiting due to 16 error(s)\n"
module Add16(
    input [15:0] a,
    input [15:0] b,
    output [15:0] out
);

    wire couta;
    FullAdder full_adder_inst_a
    (
        .a(a[0]),
        .b(b[0]),
        .c(0),
        .sum(out[0]),
        .carry(couta)
    );

    wire coutb;
    FullAdder full_adder_inst_b
    (
        .a(a[1]),
        .b(b[1]),
        .c(couta),
        .sum(out[1]),
        .carry(coutb)
    );

    wire coutc;
    FullAdder full_adder_inst_c
    (
        .a(a[2]),
        .b(b[2]),
        .c(coutb),
        .sum(out[2]),
        .carry(coutc)
    );

    wire coutd;
    FullAdder full_adder_inst_d
    (
        .a(a[3]),
        .b(b[3]),
        .c(coutc),
        .sum(out[3]),
        .carry(coutd)
    );

    wire coute;
    FullAdder full_adder_inst_e
    (
        .a(a[4]),
        .b(b[4]),
        .c(coutd),
        .sum(out[4]),
        .carry(coute)
    );

    wire coutf;
    FullAdder full_adder_inst_f
    (
        .a(a[5]),
        .b(b[5]),
        .c(coute),
        .sum(out[5]),
        .carry(coutf)
    );

    wire coutg;
    FullAdder full_adder_inst_g
    (
        .a(a[6]),
        .b(b[6]),
        .c(coutf),
        .sum(out[6]),
        .carry(coutg)
    );

    wire couth;
    FullAdder full_adder_inst_h
    (
        .a(a[7]),
        .b(b[7]),
        .c(coutg),
        .sum(out[7]),
        .carry(couth)
    );

    wire couti;
    FullAdder full_adder_inst_i
    (
        .a(a[8]),
        .b(b[8]),
        .c(couth),
        .sum(out[8]),
        .carry(couti)
    );

    wire coutj;
    FullAdder full_adder_inst_j
    (
        .a(a[9]),
        .b(b[9]),
        .c(couti),
        .sum(out[9]),
        .carry(coutj)
    );

    wire coutk;
    FullAdder full_adder_inst_k
    (
        .a(a[10]),
        .b(b[10]),
        .c(coutj),
        .sum(out[10]),
        .carry(coutk)
    );

    wire coutl;
    FullAdder full_adder_inst_l
    (
        .a(a[11]),
        .b(b[11]),
        .c(coutk),
        .sum(out[11]),
        .carry(coutl)
    );

    wire coutm;
    FullAdder full_adder_inst_m
    (
        .a(a[12]),
        .b(b[12]),
        .c(coutl),
        .sum(out[12]),
        .carry(coutm)
    );

    wire coutn;
    FullAdder full_adder_inst_n
    (
        .a(a[13]),
        .b(b[13]),
        .c(coutm),
        .sum(out[13]),
        .carry(coutn)
    );

    wire couto;
    FullAdder full_adder_inst_o
    (
        .a(a[14]),
        .b(b[14]),
        .c(coutn),
        .sum(out[14]),
        .carry(couto)
    );

    wire coutp;
    FullAdder full_adder_inst_p
    (
        .a(a[15]),
        .b(b[15]),
        .c(couto),
        .sum(out[15]),
        .carry(coutp)
    );

endmodule
module Add16(
    input [15:0] a,
    input [15:0] b,
    output [15:0] out
);


    wire couta;
    FullAdder full_adder_inst_a
    (
        .a(a[0]),
        .b(b[0]),
        .c(0),
        .sum(out[0]),
        .carry(couta)
    );

    wire coutb;
    FullAdder full_adder_inst_b
    (
        .a(a[1]),
        .b(b[1]),
        .c(couta),
        .sum(out[1]),
        .carry(coutb)
    );

    wire coutc;
    FullAdder full_adder_inst_c
    (
        .a(a[2]),
        .b(b[2]),
        .c(coutb),
        .sum(out[2]),
        .carry(coutc)
    );

    wire coutd;
    FullAdder full_adder_inst_d
    (
        .a(a[3]),
        .b(b[3]),
        .c(coutc),
        .sum(out[3]),
        .carry(coutd)
    );

    wire coute;
    FullAdder full_adder_inst_e
    (
        .a(a[4]),
        .b(b[4]),
        .c(coutd),
        .sum(out[4]),
        .carry(coute)
    );

    wire coutf;
    FullAdder full_adder_inst_f
    (
        .a(a[5]),
        .b(b[5]),
        .c(coute),
        .sum(out[5]),
        .carry(coutf)
    );

    wire coutg;
    FullAdder full_adder_inst_g
    (
        .a(a[6]),
        .b(b[6]),
        .c(coutf),
        .sum(out[6]),
        .carry(coutg)
    );

    wire couth;
    FullAdder full_adder_inst_h
    (
        .a(a[7]),
        .b(b[7]),
        .c(coutg),
        .sum(out[7]),
        .carry(couth)
    );

    wire couti;
    FullAdder full_adder_inst_i
    (
        .a(a[8]),
        .b(b[8]),
        .c(couth),
        .sum(out[8]),
        .carry(couti)
    );

    wire coutj;
    FullAdder full_adder_inst_j
    (
        .a(a[9]),
        .b(b[9]),
        .c(couti),
        .sum(out[9]),
        .carry(coutj)
    );

    wire coutk;
    FullAdder full_adder_inst_k
    (
        .a(a[10]),
        .b(b[10]),
        .c(coutj),
        .sum(out[10]),
        .carry(coutk)
    );

    wire coutl;
    FullAdder full_adder_inst_l
    (
        .a(a[11]),
        .b(b[11]),
        .c(coutk),
        .sum(out[11]),
        .carry(coutl)
    );

    wire coutm;
    FullAdder full_adder_inst_m
    (
        .a(a[12]),
        .b(b[12]),
        .c(coutl),
        .sum(out[12]),
        .carry(coutm)
    );

    wire coutn;
    FullAdder full_adder_inst_n
    (
        .a(a[13]),
        .b(b[13]),
        .c(coutm),
        .sum(out[13]),
        .carry(coutn)
    );

    wire couto;
    FullAdder full_adder_inst_o
    (
        .a(a[14]),
        .b(b[14]),
        .c(coutn),
        .sum(out[14]),
        .carry(couto)
    );

    wire coutp;
    FullAdder full_adder_inst_p
    (
        .a(a[15]),
        .b(b[15]),
        .c(couto),
        .sum(out[15]),
        .carry(coutp)
    );

endmodule