data/full_repos/permissive/505918157/Adder.v
1: b"%Error: data/full_repos/permissive/505918157/Adder.v:30: Cannot find file containing module: 'c_addsub_0'\n    c_addsub_0 add_sub_ip(\n    ^~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/505918157,data/full_repos/permissive/505918157/c_addsub_0\n             data/full_repos/permissive/505918157,data/full_repos/permissive/505918157/c_addsub_0.v\n             data/full_repos/permissive/505918157,data/full_repos/permissive/505918157/c_addsub_0.sv\n             c_addsub_0\n             c_addsub_0.v\n             c_addsub_0.sv\n             obj_dir/c_addsub_0\n             obj_dir/c_addsub_0.v\n             obj_dir/c_addsub_0.sv\n%Error: Exiting due to 1 error(s)\n"
module Add_sub(
    input add,
    input [31:0] num1,
    input [31:0] num2,
    output [31:0] result
    );

    c_addsub_0 add_sub_ip(
        .A(num1),
        .B(num2),
        .ADD(add),
        .S(result)
    );

endmodule
module Add_sub(
    input add,
    input [31:0] num1,
    input [31:0] num2,
    output [31:0] result
    );


    c_addsub_0 add_sub_ip(
        .A(num1),
        .B(num2),
        .ADD(add),
        .S(result)
    );

endmodule