data/full_repos/permissive/502135797/Lab2_Feb_15_2022/Code/FA.v
1: b"%Error: data/full_repos/permissive/502135797/Lab2_Feb_15_2022/Code/FA.v:34: Cannot find file containing module: 'MAJORITY'\n    MAJORITY UNIT\n    ^~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/502135797/Lab2_Feb_15_2022/Code,data/full_repos/permissive/502135797/MAJORITY\n             data/full_repos/permissive/502135797/Lab2_Feb_15_2022/Code,data/full_repos/permissive/502135797/MAJORITY.v\n             data/full_repos/permissive/502135797/Lab2_Feb_15_2022/Code,data/full_repos/permissive/502135797/MAJORITY.sv\n             MAJORITY\n             MAJORITY.v\n             MAJORITY.sv\n             obj_dir/MAJORITY\n             obj_dir/MAJORITY.v\n             obj_dir/MAJORITY.sv\n%Error: Exiting due to 1 error(s)\n"
module FA(
    input a,
    input b,
    input cin,
    output sum,
    output cout
    );
    wire temp;
    xor(temp,a,b);
    xor(sum,temp,cin);
    
    MAJORITY UNIT
    (
    .x(a),
    .y(b),
    .z(cin),
    .p(cout)
    );
    
    
    
    
    
endmodule
module FA(
    input a,
    input b,
    input cin,
    output sum,
    output cout
    );

    wire temp;
    xor(temp,a,b);
    xor(sum,temp,cin);
    
    MAJORITY UNIT
    (
    .x(a),
    .y(b),
    .z(cin),
    .p(cout)
    );
    
    
    
    
    
endmodule