data/full_repos/permissive/496903659/155 exams#review2015_fsmshift.v
1: b'%Error: Cannot find file containing module: data/full_repos/permissive/496903659/155\n        ... Looked in:\n             data/full_repos/permissive/496903659,data/full_repos/permissive/496903659/data/full_repos/permissive/496903659/155\n             data/full_repos/permissive/496903659,data/full_repos/permissive/496903659/data/full_repos/permissive/496903659/155.v\n             data/full_repos/permissive/496903659,data/full_repos/permissive/496903659/data/full_repos/permissive/496903659/155.sv\n             data/full_repos/permissive/496903659/155\n             data/full_repos/permissive/496903659/155.v\n             data/full_repos/permissive/496903659/155.sv\n             obj_dir/data/full_repos/permissive/496903659/155\n             obj_dir/data/full_repos/permissive/496903659/155.v\n             obj_dir/data/full_repos/permissive/496903659/155.sv\n%Error: Cannot find file containing module: exams#review2015_fsmshift.v\n%Error: Exiting due to 2 error(s)\n'
module top_module (
    input clk,
    input reset,
    output shift_ena);
    
    reg [1:0] counter;
    always @(posedge clk) begin
        if (reset) begin
            shift_ena <= 1;
            counter <= 0;
        end
        else begin
            counter <= counter + 1;
            if (counter == 3)
                shift_ena <= 0;
        end
    end

endmodule
module top_module (
    input clk,
    input reset,
    output shift_ena);

    
    reg [1:0] counter;
    always @(posedge clk) begin
        if (reset) begin
            shift_ena <= 1;
            counter <= 0;
        end
        else begin
            counter <= counter + 1;
            if (counter == 3)
                shift_ena <= 0;
        end
    end

endmodule