data/full_repos/permissive/423547971/Modules with Simulations/Sequence Detector Shift Register/seq_det_101.v
1: b'%Error: Cannot find file containing module: with\n        ... Looked in:\n             data/full_repos/permissive/423547971/Modules/with\n             data/full_repos/permissive/423547971/Modules/with.v\n             data/full_repos/permissive/423547971/Modules/with.sv\n             with\n             with.v\n             with.sv\n             obj_dir/with\n             obj_dir/with.v\n             obj_dir/with.sv\n%Error: Cannot find file containing module: Simulations/Sequence\n%Error: Cannot find file containing module: Detector\n%Error: Cannot find file containing module: Shift\n%Error: Cannot find file containing module: Register,data/full_repos/permissive/423547971\n%Error: Cannot find file containing module: data/full_repos/permissive/423547971/Modules\n%Error: Cannot find file containing module: Register/seq_det_101.v\n%Error: Exiting due to 7 error(s)\n'
module seq_det_101(
    input clk,
    input reset,
    input serial_in,
    output detected_101
    );
    
    reg [2:0] seq_reg;
    
    always @(posedge clk or posedge reset) begin
        if(reset)
            seq_reg <= 0;
        else
            seq_reg <= {seq_reg[1:0], serial_in};
    end
    
    assign detected_101 = (seq_reg == 3'b101) ? 1 : 0;
    
endmodule
module seq_det_101(
    input clk,
    input reset,
    input serial_in,
    output detected_101
    );

    
    reg [2:0] seq_reg;
    
    always @(posedge clk or posedge reset) begin
        if(reset)
            seq_reg <= 0;
        else
            seq_reg <= {seq_reg[1:0], serial_in};
    end
    
    assign detected_101 = (seq_reg == 3'b101) ? 1 : 0;
    
endmodule