data/full_repos/permissive/135475029/lab_3/src/DisplayFourBitSum.v
1: b"%Error: data/full_repos/permissive/135475029/lab_3/src/DisplayFourBitSum.v:33: Cannot find file containing module: 'FourBitAdder'\n    FourBitAdder ADDER (A, B, sum);\n    ^~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/135475029/lab_3/src,data/full_repos/permissive/135475029/FourBitAdder\n             data/full_repos/permissive/135475029/lab_3/src,data/full_repos/permissive/135475029/FourBitAdder.v\n             data/full_repos/permissive/135475029/lab_3/src,data/full_repos/permissive/135475029/FourBitAdder.sv\n             FourBitAdder\n             FourBitAdder.v\n             FourBitAdder.sv\n             obj_dir/FourBitAdder\n             obj_dir/FourBitAdder.v\n             obj_dir/FourBitAdder.sv\n%Error: data/full_repos/permissive/135475029/lab_3/src/DisplayFourBitSum.v:34: Cannot find file containing module: 'Decoder'\n    Decoder DECODER (sum[3:0], segs);\n    ^~~~~~~\n%Error: Exiting due to 2 error(s)\n"
module DisplayFourBitSum(
    input [3:0] A, 
    input [3:0] B, 
    output [6:0] segs, 
    output overflow, 
    output [3:0] AN
    );
    
    wire [4:0] sum;
    
    FourBitAdder ADDER (A, B, sum);
    Decoder DECODER (sum[3:0], segs);
    
    assign overflow = sum[4];
    
    assign AN[0] = 0;
    assign AN[1] = 1;
    assign AN[2] = 1;
    assign AN[3] = 1;
    
endmodule
module DisplayFourBitSum(
    input [3:0] A, 
    input [3:0] B, 
    output [6:0] segs, 
    output overflow, 
    output [3:0] AN
    );

    
    wire [4:0] sum;
    
    FourBitAdder ADDER (A, B, sum);
    Decoder DECODER (sum[3:0], segs);
    
    assign overflow = sum[4];
    
    assign AN[0] = 0;
    assign AN[1] = 1;
    assign AN[2] = 1;
    assign AN[3] = 1;
    
endmodule