data/full_repos/permissive/496903659/109 shift18.v
1: b'%Error: Cannot find file containing module: data/full_repos/permissive/496903659/109\n        ... Looked in:\n             data/full_repos/permissive/496903659,data/full_repos/permissive/496903659/data/full_repos/permissive/496903659/109\n             data/full_repos/permissive/496903659,data/full_repos/permissive/496903659/data/full_repos/permissive/496903659/109.v\n             data/full_repos/permissive/496903659,data/full_repos/permissive/496903659/data/full_repos/permissive/496903659/109.sv\n             data/full_repos/permissive/496903659/109\n             data/full_repos/permissive/496903659/109.v\n             data/full_repos/permissive/496903659/109.sv\n             obj_dir/data/full_repos/permissive/496903659/109\n             obj_dir/data/full_repos/permissive/496903659/109.v\n             obj_dir/data/full_repos/permissive/496903659/109.sv\n%Error: Cannot find file containing module: shift18.v\n%Error: Exiting due to 2 error(s)\n'
module top_module(
    input clk,
    input load,
    input ena,
    input [1:0] amount,
    input [63:0] data,
    output reg [63:0] q); 

    always @(posedge clk) begin
        if(load) begin
            q <= data;
        end
        else begin
            if(ena) begin
                case(amount)
                    2'b00: q <= {q[62:0], 1'b0};
                    2'b01: q <= {q[55:0], {8{1'b0}}};
                    2'b10: q <= {q[63], q[63:1]};
                    2'b11: q <= {{8{q[63]}}, q[63:8]};
                endcase
            end
        end
    end
endmodule
module top_module(
    input clk,
    input load,
    input ena,
    input [1:0] amount,
    input [63:0] data,
    output reg [63:0] q);
 

    always @(posedge clk) begin
        if(load) begin
            q <= data;
        end
        else begin
            if(ena) begin
                case(amount)
                    2'b00: q <= {q[62:0], 1'b0};
                    2'b01: q <= {q[55:0], {8{1'b0}}};
                    2'b10: q <= {q[63], q[63:1]};
                    2'b11: q <= {{8{q[63]}}, q[63:8]};
                endcase
            end
        end
    end
endmodule