data/full_repos/permissive/452183855/lab2/Lab2_4_bit_RBS.v
1: b"%Error: data/full_repos/permissive/452183855/lab2/Lab2_4_bit_RBS.v:6: Cannot find file containing module: 'Lab2_full_sub'\n    Lab2_full_sub M0(Diff[0], w0, X[0], Y[0], Bin);\n    ^~~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/452183855/lab2,data/full_repos/permissive/452183855/Lab2_full_sub\n             data/full_repos/permissive/452183855/lab2,data/full_repos/permissive/452183855/Lab2_full_sub.v\n             data/full_repos/permissive/452183855/lab2,data/full_repos/permissive/452183855/Lab2_full_sub.sv\n             Lab2_full_sub\n             Lab2_full_sub.v\n             Lab2_full_sub.sv\n             obj_dir/Lab2_full_sub\n             obj_dir/Lab2_full_sub.v\n             obj_dir/Lab2_full_sub.sv\n%Error: data/full_repos/permissive/452183855/lab2/Lab2_4_bit_RBS.v:7: Cannot find file containing module: 'Lab2_full_sub'\n    Lab2_full_sub M1(Diff[1], w1, X[1], Y[1], w0);\n    ^~~~~~~~~~~~~\n%Error: data/full_repos/permissive/452183855/lab2/Lab2_4_bit_RBS.v:8: Cannot find file containing module: 'Lab2_full_sub'\n    Lab2_full_sub M2(Diff[2], w2, X[2], Y[2], w1);\n    ^~~~~~~~~~~~~\n%Error: data/full_repos/permissive/452183855/lab2/Lab2_4_bit_RBS.v:9: Cannot find file containing module: 'Lab2_full_sub'\n    Lab2_full_sub M3(Diff[3], Bout, X[3], Y[3], w2);\n    ^~~~~~~~~~~~~\n%Error: Exiting due to 4 error(s)\n"
module Lab2_4_bit_RBS(output[3:0]Diff, output Bout,
                      input [3:0]X, Y, input Bin);
    
    wire w0, w1, w2;

    Lab2_full_sub M0(Diff[0], w0, X[0], Y[0], Bin);
    Lab2_full_sub M1(Diff[1], w1, X[1], Y[1], w0);
    Lab2_full_sub M2(Diff[2], w2, X[2], Y[2], w1);
    Lab2_full_sub M3(Diff[3], Bout, X[3], Y[3], w2);


endmodule
module Lab2_4_bit_RBS(output[3:0]Diff, output Bout,
                      input [3:0]X, Y, input Bin);

    
    wire w0, w1, w2;

    Lab2_full_sub M0(Diff[0], w0, X[0], Y[0], Bin);
    Lab2_full_sub M1(Diff[1], w1, X[1], Y[1], w0);
    Lab2_full_sub M2(Diff[2], w2, X[2], Y[2], w1);
    Lab2_full_sub M3(Diff[3], Bout, X[3], Y[3], w2);


endmodule