data/full_repos/permissive/498662723/Circuits/Sequential Logic/Shift Registers/lfsr32.v
1: b'%Error: Cannot find file containing module: Logic/Shift\n        ... Looked in:\n             data/full_repos/permissive/498662723/Circuits/Sequential/Logic/Shift\n             data/full_repos/permissive/498662723/Circuits/Sequential/Logic/Shift.v\n             data/full_repos/permissive/498662723/Circuits/Sequential/Logic/Shift.sv\n             Logic/Shift\n             Logic/Shift.v\n             Logic/Shift.sv\n             obj_dir/Logic/Shift\n             obj_dir/Logic/Shift.v\n             obj_dir/Logic/Shift.sv\n%Error: Cannot find file containing module: Registers,data/full_repos/permissive/498662723\n%Error: Cannot find file containing module: data/full_repos/permissive/498662723/Circuits/Sequential\n%Error: Cannot find file containing module: Registers/lfsr32.v\n%Error: Exiting due to 4 error(s)\n'
module top_module(
    input clk,
    input reset,
    output [31:0] q
); 
    
    reg [31:0]q_next;
    

    always @ (*)
        begin
            q_next = q[31:1];
            q_next[31] = q[0] ^ 1'b0;
            q_next[21] = q[0] ^ q[22];
            q_next[1] = q[0] ^ q[2];
            q_next[0] = q[0] ^ q[1];
        end
    
    always @ (posedge clk)
        begin
            if (reset)
                q <= 32'h1;
            else
                q <= q_next;
        end
	
endmodule
module top_module(
    input clk,
    input reset,
    output [31:0] q
);
 
    
    reg [31:0]q_next;
    

    always @ (*)
        begin
            q_next = q[31:1];
            q_next[31] = q[0] ^ 1'b0;
            q_next[21] = q[0] ^ q[22];
            q_next[1] = q[0] ^ q[2];
            q_next[0] = q[0] ^ q[1];
        end
    
    always @ (posedge clk)
        begin
            if (reset)
                q <= 32'h1;
            else
                q <= q_next;
        end
	
endmodule