data/full_repos/permissive/469509877/rtl/HorizontalCounter.v
1: b"%Error: data/full_repos/permissive/469509877/rtl/HorizontalCounter.v:34: Cannot find file containing module: 'countU10'\n    countU10 counter (.clk(clk), .Up(enable), .reset(reset), .Q(Q));\n    ^~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/469509877/rtl,data/full_repos/permissive/469509877/countU10\n             data/full_repos/permissive/469509877/rtl,data/full_repos/permissive/469509877/countU10.v\n             data/full_repos/permissive/469509877/rtl,data/full_repos/permissive/469509877/countU10.sv\n             countU10\n             countU10.v\n             countU10.sv\n             obj_dir/countU10\n             obj_dir/countU10.v\n             obj_dir/countU10.sv\n%Error: Exiting due to 1 error(s)\n"
module HorizontalCounter(
    input clk,
    input enable,
    output zeroDetect,
    output endDetect,
    output InActiveZone,
    output OutActiveZone,
    output reset,
    output [9:0] Q
    );
    
    countU10 counter (.clk(clk), .Up(enable), .reset(reset), .Q(Q));
    
    assign zeroDetect = Q[9] & ~Q[8] & Q[7] & ~Q[6] & ~Q[5] & ~Q[4] & Q[3] & Q[2] & Q[1] & ~Q[0];
    assign endDetect = Q[9] & ~Q[8] & Q[7] & Q[6] & Q[5] & ~Q[4] & Q[3] & Q[2] & Q[1] & ~Q[0];
    assign InActiveZone = Q[9] & Q[8] & ~Q[7] & ~Q[6] & ~Q[5] & Q[4] & Q[3] & Q[2] & Q[1] & Q[0];  
    assign OutActiveZone = Q[9] & ~Q[8] & ~Q[7] & Q[6] & Q[5] & Q[4] & Q[3] & Q[2] & Q[1] & Q[0];
    assign reset = Q[9] & Q[8] & ~Q[7] & ~Q[6] & ~Q[5] & Q[4] & Q[3] & Q[2] & Q[1] & Q[0];
endmodule
module HorizontalCounter(
    input clk,
    input enable,
    output zeroDetect,
    output endDetect,
    output InActiveZone,
    output OutActiveZone,
    output reset,
    output [9:0] Q
    );

    
    countU10 counter (.clk(clk), .Up(enable), .reset(reset), .Q(Q));
    
    assign zeroDetect = Q[9] & ~Q[8] & Q[7] & ~Q[6] & ~Q[5] & ~Q[4] & Q[3] & Q[2] & Q[1] & ~Q[0];
    assign endDetect = Q[9] & ~Q[8] & Q[7] & Q[6] & Q[5] & ~Q[4] & Q[3] & Q[2] & Q[1] & ~Q[0];
    assign InActiveZone = Q[9] & Q[8] & ~Q[7] & ~Q[6] & ~Q[5] & Q[4] & Q[3] & Q[2] & Q[1] & Q[0];  
    assign OutActiveZone = Q[9] & ~Q[8] & ~Q[7] & Q[6] & Q[5] & Q[4] & Q[3] & Q[2] & Q[1] & Q[0];
    assign reset = Q[9] & Q[8] & ~Q[7] & ~Q[6] & ~Q[5] & Q[4] & Q[3] & Q[2] & Q[1] & Q[0];
endmodule