data/full_repos/permissive/413230008/Seven-Segment Display Driver/Code/Sources/button.v
1: b'%Error: Cannot find file containing module: Display\n        ... Looked in:\n             data/full_repos/permissive/413230008/Seven-Segment/Display\n             data/full_repos/permissive/413230008/Seven-Segment/Display.v\n             data/full_repos/permissive/413230008/Seven-Segment/Display.sv\n             Display\n             Display.v\n             Display.sv\n             obj_dir/Display\n             obj_dir/Display.v\n             obj_dir/Display.sv\n%Error: Cannot find file containing module: Driver/Code/Sources,data/full_repos/permissive/413230008\n%Error: Cannot find file containing module: data/full_repos/permissive/413230008/Seven-Segment\n%Error: Cannot find file containing module: Driver/Code/Sources/button.v\n%Error: Exiting due to 4 error(s)\n'
module button(
    input clk,
    input in,
    output out
    );
    
    localparam N = 3;
    
    reg [N - 1:0] Q_reg, Q_next;
    
    always @(posedge clk)
    begin
        Q_reg <= Q_next;
    end
    

    always @(Q_reg, in)
    begin

        Q_next = {in, Q_reg[N - 1:1]};
    end
    

    assign out = (&Q_reg[N - 1:1]) & ~Q_reg[0];
endmodule
module button(
    input clk,
    input in,
    output out
    );

    
    localparam N = 3;
    
    reg [N - 1:0] Q_reg, Q_next;
    
    always @(posedge clk)
    begin
        Q_reg <= Q_next;
    end
    

    always @(Q_reg, in)
    begin

        Q_next = {in, Q_reg[N - 1:1]};
    end
    

    assign out = (&Q_reg[N - 1:1]) & ~Q_reg[0];
endmodule