data/full_repos/permissive/216615048/src/ripple.v
'utf-8' codec can't decode byte 0x96 in position 625: invalid start byte
1: b"%Error: data/full_repos/permissive/216615048/src/ripple.v:25: Cannot find file containing module: 'FA'\n            FA adder(a[i], b[i], carry[i], out[i], carry[i+1]);\n            ^~\n        ... Looked in:\n             data/full_repos/permissive/216615048/src,data/full_repos/permissive/216615048/FA\n             data/full_repos/permissive/216615048/src,data/full_repos/permissive/216615048/FA.v\n             data/full_repos/permissive/216615048/src,data/full_repos/permissive/216615048/FA.sv\n             FA\n             FA.v\n             FA.sv\n             obj_dir/FA\n             obj_dir/FA.v\n             obj_dir/FA.sv\n%Error: Exiting due to 1 error(s)\n"
module ripple#(parameter n = 31)(input [n:0]a, input [n:0]b, output [n:0]out, output cout);
    wire [n+1:0]carry;
    genvar i;
    assign carry[0] = 0;
    generate
        for (i = 0; i < n+1; i = i + 1) begin
            FA adder(a[i], b[i], carry[i], out[i], carry[i+1]);
        end 
    endgenerate
    assign cout = carry[n+1];
endmodule
module ripple#(parameter n = 31)(input [n:0]a, input [n:0]b, output [n:0]out, output cout);

    wire [n+1:0]carry;
    genvar i;
    assign carry[0] = 0;
    generate
        for (i = 0; i < n+1; i = i + 1) begin
            FA adder(a[i], b[i], carry[i], out[i], carry[i+1]);
        end 
    endgenerate
    assign cout = carry[n+1];
endmodule