data/full_repos/permissive/469509877/rtl/HorizontalGaps.v
1: b"%Error: data/full_repos/permissive/469509877/rtl/HorizontalGaps.v:40: Cannot find file containing module: 'HorizGap1'\n    HorizGap1 HorizGap1(.Hcount(Hcount), .Vcount(Vcount), .btnC(btnC), .clk(clk), .sw(sw), .frame(frame), .sec(sec), .btnUDLR(btnUDLR),\n    ^~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/469509877/rtl,data/full_repos/permissive/469509877/HorizGap1\n             data/full_repos/permissive/469509877/rtl,data/full_repos/permissive/469509877/HorizGap1.v\n             data/full_repos/permissive/469509877/rtl,data/full_repos/permissive/469509877/HorizGap1.sv\n             HorizGap1\n             HorizGap1.v\n             HorizGap1.sv\n             obj_dir/HorizGap1\n             obj_dir/HorizGap1.v\n             obj_dir/HorizGap1.sv\n%Error: data/full_repos/permissive/469509877/rtl/HorizontalGaps.v:42: Cannot find file containing module: 'HorizGap2'\n    HorizGap2 HorizGap2(.Hcount(Hcount), .Vcount(Vcount), .btnC(btnC), .clk(clk), .sw(sw), .frame(frame), .sec(sec), .btnUDLR(btnUDLR),\n    ^~~~~~~~~\n%Error: data/full_repos/permissive/469509877/rtl/HorizontalGaps.v:44: Cannot find file containing module: 'HorizGap3'\n    HorizGap3 HorizGap3(.Hcount(Hcount), .Vcount(Vcount), .btnC(btnC), .clk(clk), .sw(sw), .frame(frame), .sec(sec), .btnUDLR(btnUDLR),\n    ^~~~~~~~~\n%Error: data/full_repos/permissive/469509877/rtl/HorizontalGaps.v:46: Cannot find file containing module: 'HorizGap4'\n    HorizGap4 HorizGap4(.Hcount(Hcount), .Vcount(Vcount), .btnC(btnC), .clk(clk), .sw(sw), .frame(frame), .sec(sec), .btnUDLR(btnUDLR),\n    ^~~~~~~~~\n%Error: data/full_repos/permissive/469509877/rtl/HorizontalGaps.v:48: Cannot find file containing module: 'HorizGap5'\n    HorizGap5 HorizGap5(.Hcount(Hcount), .Vcount(Vcount), .btnC(btnC), .clk(clk), .sw(sw), .frame(frame), .sec(sec), .btnUDLR(btnUDLR),\n    ^~~~~~~~~\n%Error: data/full_repos/permissive/469509877/rtl/HorizontalGaps.v:50: Cannot find file containing module: 'HorizGap6'\n    HorizGap6 HorizGap6(.Hcount(Hcount), .Vcount(Vcount), .btnC(btnC), .clk(clk), .sw(sw), .frame(frame), .sec(sec), .btnUDLR(btnUDLR),\n    ^~~~~~~~~\n%Error: data/full_repos/permissive/469509877/rtl/HorizontalGaps.v:52: Cannot find file containing module: 'HorizGap7'\n    HorizGap7 HorizGap7(.Hcount(Hcount), .Vcount(Vcount), .btnC(btnC), .clk(clk), .sw(sw), .frame(frame), .sec(sec), .btnUDLR(btnUDLR),\n    ^~~~~~~~~\n%Error: Exiting due to 7 error(s)\n"
module HorizontalGaps(
    input [9:0] Hcount,
    input [9:0] Vcount,
    input btnC,
    input clk,
    input [6:4] sw,
    input frame,
    input sec,
    input btnUDLR,
    input reset,
    input [3:0] Green,
    input [3:0] RedIn,
    output [3:0] RedOut
    );
    
    wire [3:0] Red1, Red2, Red3, Red4, Red5, Red6, Red7;
    
    HorizGap1 HorizGap1(.Hcount(Hcount), .Vcount(Vcount), .btnC(btnC), .clk(clk), .sw(sw), .frame(frame), .sec(sec), .btnUDLR(btnUDLR),
                        .reset(reset), .Green(Green), .RedIn(RedIn), .RedOut(Red1));
    HorizGap2 HorizGap2(.Hcount(Hcount), .Vcount(Vcount), .btnC(btnC), .clk(clk), .sw(sw), .frame(frame), .sec(sec), .btnUDLR(btnUDLR),
                        .reset(reset), .Green(Green), .RedIn(RedIn), .RedOut(Red2));
    HorizGap3 HorizGap3(.Hcount(Hcount), .Vcount(Vcount), .btnC(btnC), .clk(clk), .sw(sw), .frame(frame), .sec(sec), .btnUDLR(btnUDLR),
                        .reset(reset), .Green(Green), .RedIn(RedIn), .RedOut(Red3));
    HorizGap4 HorizGap4(.Hcount(Hcount), .Vcount(Vcount), .btnC(btnC), .clk(clk), .sw(sw), .frame(frame), .sec(sec), .btnUDLR(btnUDLR),
                        .reset(reset), .Green(Green), .RedIn(RedIn), .RedOut(Red4));
    HorizGap5 HorizGap5(.Hcount(Hcount), .Vcount(Vcount), .btnC(btnC), .clk(clk), .sw(sw), .frame(frame), .sec(sec), .btnUDLR(btnUDLR),
                        .reset(reset), .Green(Green), .RedIn(RedIn), .RedOut(Red5));
    HorizGap6 HorizGap6(.Hcount(Hcount), .Vcount(Vcount), .btnC(btnC), .clk(clk), .sw(sw), .frame(frame), .sec(sec), .btnUDLR(btnUDLR),
                        .reset(reset), .Green(Green), .RedIn(RedIn), .RedOut(Red6));
    HorizGap7 HorizGap7(.Hcount(Hcount), .Vcount(Vcount), .btnC(btnC), .clk(clk), .sw(sw), .frame(frame), .sec(sec), .btnUDLR(btnUDLR),
                        .reset(reset), .Green(Green), .RedIn(RedIn), .RedOut(Red7));
                                                                                                                                                                                                                                                            
        assign RedOut[3] = Red1[3] & Red2[3] & Red3[3] & Red4[3] & Red5[3] & Red6[3] & Red7[3];
        assign RedOut[2] = Red1[2] & Red2[2] & Red3[2] & Red4[2] & Red5[2] & Red6[2] & Red7[2];
        assign RedOut[1] = Red1[1] & Red2[1] & Red3[1] & Red4[1] & Red5[1] & Red6[1] & Red7[1];
        assign RedOut[0] = Red1[0] & Red2[0] & Red3[0] & Red4[0] & Red5[0] & Red6[0] & Red7[0];            
endmodule
module HorizontalGaps(
    input [9:0] Hcount,
    input [9:0] Vcount,
    input btnC,
    input clk,
    input [6:4] sw,
    input frame,
    input sec,
    input btnUDLR,
    input reset,
    input [3:0] Green,
    input [3:0] RedIn,
    output [3:0] RedOut
    );

    
    wire [3:0] Red1, Red2, Red3, Red4, Red5, Red6, Red7;
    
    HorizGap1 HorizGap1(.Hcount(Hcount), .Vcount(Vcount), .btnC(btnC), .clk(clk), .sw(sw), .frame(frame), .sec(sec), .btnUDLR(btnUDLR),
                        .reset(reset), .Green(Green), .RedIn(RedIn), .RedOut(Red1));
    HorizGap2 HorizGap2(.Hcount(Hcount), .Vcount(Vcount), .btnC(btnC), .clk(clk), .sw(sw), .frame(frame), .sec(sec), .btnUDLR(btnUDLR),
                        .reset(reset), .Green(Green), .RedIn(RedIn), .RedOut(Red2));
    HorizGap3 HorizGap3(.Hcount(Hcount), .Vcount(Vcount), .btnC(btnC), .clk(clk), .sw(sw), .frame(frame), .sec(sec), .btnUDLR(btnUDLR),
                        .reset(reset), .Green(Green), .RedIn(RedIn), .RedOut(Red3));
    HorizGap4 HorizGap4(.Hcount(Hcount), .Vcount(Vcount), .btnC(btnC), .clk(clk), .sw(sw), .frame(frame), .sec(sec), .btnUDLR(btnUDLR),
                        .reset(reset), .Green(Green), .RedIn(RedIn), .RedOut(Red4));
    HorizGap5 HorizGap5(.Hcount(Hcount), .Vcount(Vcount), .btnC(btnC), .clk(clk), .sw(sw), .frame(frame), .sec(sec), .btnUDLR(btnUDLR),
                        .reset(reset), .Green(Green), .RedIn(RedIn), .RedOut(Red5));
    HorizGap6 HorizGap6(.Hcount(Hcount), .Vcount(Vcount), .btnC(btnC), .clk(clk), .sw(sw), .frame(frame), .sec(sec), .btnUDLR(btnUDLR),
                        .reset(reset), .Green(Green), .RedIn(RedIn), .RedOut(Red6));
    HorizGap7 HorizGap7(.Hcount(Hcount), .Vcount(Vcount), .btnC(btnC), .clk(clk), .sw(sw), .frame(frame), .sec(sec), .btnUDLR(btnUDLR),
                        .reset(reset), .Green(Green), .RedIn(RedIn), .RedOut(Red7));
                                                                                                                                                                                                                                                            
        assign RedOut[3] = Red1[3] & Red2[3] & Red3[3] & Red4[3] & Red5[3] & Red6[3] & Red7[3];
        assign RedOut[2] = Red1[2] & Red2[2] & Red3[2] & Red4[2] & Red5[2] & Red6[2] & Red7[2];
        assign RedOut[1] = Red1[1] & Red2[1] & Red3[1] & Red4[1] & Red5[1] & Red6[1] & Red7[1];
        assign RedOut[0] = Red1[0] & Red2[0] & Red3[0] & Red4[0] & Red5[0] & Red6[0] & Red7[0];            
endmodule