data/full_repos/permissive/469509877/rtl/GapVerticalComponent.v
1: b"%Error: data/full_repos/permissive/469509877/rtl/GapVerticalComponent.v:41: Cannot find file containing module: 'countUD10L'\n    countUD10L counter0 (.clk(clk), .Up(Up & frame), .Dw(Dw & frame), .reset(reset), .LD(load), .D(UpStartingPosition), .Q(topPixel));\n    ^~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/469509877/rtl,data/full_repos/permissive/469509877/countUD10L\n             data/full_repos/permissive/469509877/rtl,data/full_repos/permissive/469509877/countUD10L.v\n             data/full_repos/permissive/469509877/rtl,data/full_repos/permissive/469509877/countUD10L.sv\n             countUD10L\n             countUD10L.v\n             countUD10L.sv\n             obj_dir/countUD10L\n             obj_dir/countUD10L.v\n             obj_dir/countUD10L.sv\n%Error: data/full_repos/permissive/469509877/rtl/GapVerticalComponent.v:42: Cannot find file containing module: 'countUD10L'\n    countUD10L counter1 (.clk(clk), .Up(Up & frame), .Dw(Dw & frame), .reset(reset), .LD(load), .D(UpStartingPosition + 10'b0000010000), .Q(bottomPixel0));    \n    ^~~~~~~~~~\n%Error: data/full_repos/permissive/469509877/rtl/GapVerticalComponent.v:43: Cannot find file containing module: 'countUD10L'\n    countUD10L counter2 (.clk(clk), .Up(Up & frame), .Dw(Dw & frame), .reset(reset), .LD(load), .D(UpStartingPosition + 10'b0000110000), .Q(bottomPixel1));\n    ^~~~~~~~~~\n%Error: data/full_repos/permissive/469509877/rtl/GapVerticalComponent.v:44: Cannot find file containing module: 'countUD10L'\n    countUD10L counter3 (.clk(clk), .Up(Up & frame), .Dw(Dw & frame), .reset(reset), .LD(load), .D(UpStartingPosition + 10'b0001010000), .Q(bottomPixel2));\n    ^~~~~~~~~~\n%Error: data/full_repos/permissive/469509877/rtl/GapVerticalComponent.v:45: Cannot find file containing module: 'countUD10L'\n    countUD10L counter4 (.clk(clk), .Up(Up & frame), .Dw(Dw & frame), .reset(reset), .LD(load), .D(UpStartingPosition + 10'b0001110000), .Q(bottomPixel3));\n    ^~~~~~~~~~\n%Error: data/full_repos/permissive/469509877/rtl/GapVerticalComponent.v:46: Cannot find file containing module: 'countUD10L'\n    countUD10L counter5 (.clk(clk), .Up(Up & frame), .Dw(Dw & frame), .reset(reset), .LD(load), .D(UpStartingPosition + 10'b0010010000), .Q(bottomPixel4));\n    ^~~~~~~~~~\n%Error: data/full_repos/permissive/469509877/rtl/GapVerticalComponent.v:47: Cannot find file containing module: 'countUD10L'\n    countUD10L counter6 (.clk(clk), .Up(Up & frame), .Dw(Dw & frame), .reset(reset), .LD(load), .D(UpStartingPosition + 10'b0010110000), .Q(bottomPixel5));    \n    ^~~~~~~~~~\n%Error: data/full_repos/permissive/469509877/rtl/GapVerticalComponent.v:48: Cannot find file containing module: 'countUD10L'\n    countUD10L counter7 (.clk(clk), .Up(Up & frame), .Dw(Dw & frame), .reset(reset), .LD(load), .D(UpStartingPosition + 10'b0011010000), .Q(bottomPixel6));            \n    ^~~~~~~~~~\n%Error: data/full_repos/permissive/469509877/rtl/GapVerticalComponent.v:49: Cannot find file containing module: 'countUD10L'\n    countUD10L counter8 (.clk(clk), .Up(Up & frame), .Dw(Dw & frame), .reset(reset), .LD(load), .D(UpStartingPosition + 10'b0011110000), .Q(bottomPixel7));    \n    ^~~~~~~~~~\n%Error: data/full_repos/permissive/469509877/rtl/GapVerticalComponent.v:51: Cannot find file containing module: 'GapSize'\n    GapSize GapSize (.b0(bottomPixel0), .b1(bottomPixel1), .b2(bottomPixel2), .b3(bottomPixel3), \n    ^~~~~~~\n%Error: Exiting due to 10 error(s)\n"
module GapVerticalComponent(
    input [9:0] Vcount,
    input [3:0] RedIn,
    input clk,
    input [6:4] sw,
    input Up,
    input Dw,
    input frame,
    input load,
    input reset,
    input [9:0] UpStartingPosition,
    output[3:0] RedOut,
    output[9:0] UpOut,
    output [9:0] DwOut
    );
    
    wire [9:0] topPixel, bottomPixel0, bottomPixel1, bottomPixel2, bottomPixel3, bottomPixel4, bottomPixel5, bottomPixel6, bottomPixel7, DwStartingPosition;
    
    countUD10L counter0 (.clk(clk), .Up(Up & frame), .Dw(Dw & frame), .reset(reset), .LD(load), .D(UpStartingPosition), .Q(topPixel));
    countUD10L counter1 (.clk(clk), .Up(Up & frame), .Dw(Dw & frame), .reset(reset), .LD(load), .D(UpStartingPosition + 10'b0000010000), .Q(bottomPixel0));    
    countUD10L counter2 (.clk(clk), .Up(Up & frame), .Dw(Dw & frame), .reset(reset), .LD(load), .D(UpStartingPosition + 10'b0000110000), .Q(bottomPixel1));
    countUD10L counter3 (.clk(clk), .Up(Up & frame), .Dw(Dw & frame), .reset(reset), .LD(load), .D(UpStartingPosition + 10'b0001010000), .Q(bottomPixel2));
    countUD10L counter4 (.clk(clk), .Up(Up & frame), .Dw(Dw & frame), .reset(reset), .LD(load), .D(UpStartingPosition + 10'b0001110000), .Q(bottomPixel3));
    countUD10L counter5 (.clk(clk), .Up(Up & frame), .Dw(Dw & frame), .reset(reset), .LD(load), .D(UpStartingPosition + 10'b0010010000), .Q(bottomPixel4));
    countUD10L counter6 (.clk(clk), .Up(Up & frame), .Dw(Dw & frame), .reset(reset), .LD(load), .D(UpStartingPosition + 10'b0010110000), .Q(bottomPixel5));    
    countUD10L counter7 (.clk(clk), .Up(Up & frame), .Dw(Dw & frame), .reset(reset), .LD(load), .D(UpStartingPosition + 10'b0011010000), .Q(bottomPixel6));            
    countUD10L counter8 (.clk(clk), .Up(Up & frame), .Dw(Dw & frame), .reset(reset), .LD(load), .D(UpStartingPosition + 10'b0011110000), .Q(bottomPixel7));    
    
    GapSize GapSize (.b0(bottomPixel0), .b1(bottomPixel1), .b2(bottomPixel2), .b3(bottomPixel3), 
                     .b4(bottomPixel4), .b5(bottomPixel5), .b6(bottomPixel6), .b7(bottomPixel7),
                     .sw({sw[6], sw[5], sw[4]}), .DwStartingPosition(DwStartingPosition)); 
                     
    assign UpOut = topPixel;
    assign DwOut = DwStartingPosition;                  
    
    assign RedOut[3] =  ((~((topPixel <= Vcount) & (Vcount <= DwStartingPosition))) & RedIn[3]);
    assign RedOut[2] =  ((~((topPixel <= Vcount) & (Vcount <= DwStartingPosition))) & RedIn[2]);
    assign RedOut[1] =  ((~((topPixel <= Vcount) & (Vcount <= DwStartingPosition))) & RedIn[1]);
    assign RedOut[0] =  ((~((topPixel <= Vcount) & (Vcount <= DwStartingPosition))) & RedIn[0]);                                                                    
endmodule
module GapVerticalComponent(
    input [9:0] Vcount,
    input [3:0] RedIn,
    input clk,
    input [6:4] sw,
    input Up,
    input Dw,
    input frame,
    input load,
    input reset,
    input [9:0] UpStartingPosition,
    output[3:0] RedOut,
    output[9:0] UpOut,
    output [9:0] DwOut
    );

    
    wire [9:0] topPixel, bottomPixel0, bottomPixel1, bottomPixel2, bottomPixel3, bottomPixel4, bottomPixel5, bottomPixel6, bottomPixel7, DwStartingPosition;
    
    countUD10L counter0 (.clk(clk), .Up(Up & frame), .Dw(Dw & frame), .reset(reset), .LD(load), .D(UpStartingPosition), .Q(topPixel));
    countUD10L counter1 (.clk(clk), .Up(Up & frame), .Dw(Dw & frame), .reset(reset), .LD(load), .D(UpStartingPosition + 10'b0000010000), .Q(bottomPixel0));    
    countUD10L counter2 (.clk(clk), .Up(Up & frame), .Dw(Dw & frame), .reset(reset), .LD(load), .D(UpStartingPosition + 10'b0000110000), .Q(bottomPixel1));
    countUD10L counter3 (.clk(clk), .Up(Up & frame), .Dw(Dw & frame), .reset(reset), .LD(load), .D(UpStartingPosition + 10'b0001010000), .Q(bottomPixel2));
    countUD10L counter4 (.clk(clk), .Up(Up & frame), .Dw(Dw & frame), .reset(reset), .LD(load), .D(UpStartingPosition + 10'b0001110000), .Q(bottomPixel3));
    countUD10L counter5 (.clk(clk), .Up(Up & frame), .Dw(Dw & frame), .reset(reset), .LD(load), .D(UpStartingPosition + 10'b0010010000), .Q(bottomPixel4));
    countUD10L counter6 (.clk(clk), .Up(Up & frame), .Dw(Dw & frame), .reset(reset), .LD(load), .D(UpStartingPosition + 10'b0010110000), .Q(bottomPixel5));    
    countUD10L counter7 (.clk(clk), .Up(Up & frame), .Dw(Dw & frame), .reset(reset), .LD(load), .D(UpStartingPosition + 10'b0011010000), .Q(bottomPixel6));            
    countUD10L counter8 (.clk(clk), .Up(Up & frame), .Dw(Dw & frame), .reset(reset), .LD(load), .D(UpStartingPosition + 10'b0011110000), .Q(bottomPixel7));    
    
    GapSize GapSize (.b0(bottomPixel0), .b1(bottomPixel1), .b2(bottomPixel2), .b3(bottomPixel3), 
                     .b4(bottomPixel4), .b5(bottomPixel5), .b6(bottomPixel6), .b7(bottomPixel7),
                     .sw({sw[6], sw[5], sw[4]}), .DwStartingPosition(DwStartingPosition)); 
                     
    assign UpOut = topPixel;
    assign DwOut = DwStartingPosition;                  
    
    assign RedOut[3] =  ((~((topPixel <= Vcount) & (Vcount <= DwStartingPosition))) & RedIn[3]);
    assign RedOut[2] =  ((~((topPixel <= Vcount) & (Vcount <= DwStartingPosition))) & RedIn[2]);
    assign RedOut[1] =  ((~((topPixel <= Vcount) & (Vcount <= DwStartingPosition))) & RedIn[1]);
    assign RedOut[0] =  ((~((topPixel <= Vcount) & (Vcount <= DwStartingPosition))) & RedIn[0]);                                                                    
endmodule