data/full_repos/permissive/496903659/105 countbcd.v
1: b'%Error: Cannot find file containing module: data/full_repos/permissive/496903659/105\n        ... Looked in:\n             data/full_repos/permissive/496903659,data/full_repos/permissive/496903659/data/full_repos/permissive/496903659/105\n             data/full_repos/permissive/496903659,data/full_repos/permissive/496903659/data/full_repos/permissive/496903659/105.v\n             data/full_repos/permissive/496903659,data/full_repos/permissive/496903659/data/full_repos/permissive/496903659/105.sv\n             data/full_repos/permissive/496903659/105\n             data/full_repos/permissive/496903659/105.v\n             data/full_repos/permissive/496903659/105.sv\n             obj_dir/data/full_repos/permissive/496903659/105\n             obj_dir/data/full_repos/permissive/496903659/105.v\n             obj_dir/data/full_repos/permissive/496903659/105.sv\n%Error: Cannot find file containing module: countbcd.v\n%Error: Exiting due to 2 error(s)\n'
module top_module (
    input clk,
    input reset,
    output [3:1] ena,
    output [15:0] q);
    
    assign ena[1] = (q[3:0] == 4'd9);
    assign ena[2] = (q[7:4] == 4'd9) & (q[3:0] == 4'd9);
    assign ena[3] = (q[11:8] == 4'd9) & (q[7:4] == 4'd9) & (q[3:0] == 4'd9);
    
    reg [3:1] z;
    reg r;
    always @(posedge clk) begin
        z <= ena;
        r <= reset;
    end
    
    count10 obj[3:0]( {z, clk} | {{3{r}}, 1'b0}, {4{reset}}, q);

endmodule
module top_module (
    input clk,
    input reset,
    output [3:1] ena,
    output [15:0] q);

    
    assign ena[1] = (q[3:0] == 4'd9);
    assign ena[2] = (q[7:4] == 4'd9) & (q[3:0] == 4'd9);
    assign ena[3] = (q[11:8] == 4'd9) & (q[7:4] == 4'd9) & (q[3:0] == 4'd9);
    
    reg [3:1] z;
    reg r;
    always @(posedge clk) begin
        z <= ena;
        r <= reset;
    end
    
    count10 obj[3:0]( {z, clk} | {{3{r}}, 1'b0}, {4{reset}}, q);

endmodule