data/full_repos/permissive/424312442/lab_5_seven seg displays/sources_1/new/bcd_seg_complete.v
1: b'%Error: Cannot find file containing module: seg\n        ... Looked in:\n             data/full_repos/permissive/424312442/lab_5_seven/seg\n             data/full_repos/permissive/424312442/lab_5_seven/seg.v\n             data/full_repos/permissive/424312442/lab_5_seven/seg.sv\n             seg\n             seg.v\n             seg.sv\n             obj_dir/seg\n             obj_dir/seg.v\n             obj_dir/seg.sv\n%Error: Cannot find file containing module: displays/sources_1/new,data/full_repos/permissive/424312442\n%Error: Cannot find file containing module: data/full_repos/permissive/424312442/lab_5_seven\n%Error: Cannot find file containing module: displays/sources_1/new/bcd_seg_complete.v\n%Error: Exiting due to 4 error(s)\n'
module bcd_seg_complete(CLK, BCD0, BCD1, BCD2, BCD3, AN, SEGN);
input CLK;
input [3:0] BCD0;
input [3:0] BCD1;
input [3:0] BCD2;
input [3:0] BCD3;
output [3:0] AN;
output [6:0] SEGN;

reg [3:0] BCD;

dig_cont (CLK, AN);
bcd_to_sevseg bcd3 (BCD, SEGN);

always @(posedge CLK)
begin
    if (AN == 4'b1110)
        BCD = BCD0;
    else if (AN == 4'b1101)
        BCD = BCD1;
    else if (AN == 4'b1011)
        BCD = BCD2;
    else if (AN == 4'b0111)
        BCD = BCD3;
    else;
end
endmodule
module bcd_seg_complete(CLK, BCD0, BCD1, BCD2, BCD3, AN, SEGN);

input CLK;
input [3:0] BCD0;
input [3:0] BCD1;
input [3:0] BCD2;
input [3:0] BCD3;
output [3:0] AN;
output [6:0] SEGN;

reg [3:0] BCD;

dig_cont (CLK, AN);
bcd_to_sevseg bcd3 (BCD, SEGN);

always @(posedge CLK)
begin
    if (AN == 4'b1110)
        BCD = BCD0;
    else if (AN == 4'b1101)
        BCD = BCD1;
    else if (AN == 4'b1011)
        BCD = BCD2;
    else if (AN == 4'b0111)
        BCD = BCD3;
    else;
end
endmodule