data/full_repos/permissive/451861474/Johnson Counter/A2Q2_johnson_ctr.v
1: b'%Error: Cannot find file containing module: Counter,data/full_repos/permissive/451861474\n        ... Looked in:\n             data/full_repos/permissive/451861474/Johnson/Counter,data/full_repos/permissive/451861474\n             data/full_repos/permissive/451861474/Johnson/Counter,data/full_repos/permissive/451861474.v\n             data/full_repos/permissive/451861474/Johnson/Counter,data/full_repos/permissive/451861474.sv\n             Counter,data/full_repos/permissive/451861474\n             Counter,data/full_repos/permissive/451861474.v\n             Counter,data/full_repos/permissive/451861474.sv\n             obj_dir/Counter,data/full_repos/permissive/451861474\n             obj_dir/Counter,data/full_repos/permissive/451861474.v\n             obj_dir/Counter,data/full_repos/permissive/451861474.sv\n%Error: Cannot find file containing module: data/full_repos/permissive/451861474/Johnson\n%Error: Cannot find file containing module: Counter/A2Q2_johnson_ctr.v\n%Error: Exiting due to 3 error(s)\n'
module johnson_ctr (
    input clk, 
    input rstn,
    output reg[7:0] out
);
    always @(posedge clk) begin
        if(!rstn) 
            out <= 1 ;
        else begin
            out[7] <= ~out[0] ;
            for (integer i=0;i<7;i=i+1) begin
                out[i] <= out[i+1] ;
            end
        end
    end
    
endmodule
module johnson_ctr (
    input clk, 
    input rstn,
    output reg[7:0] out
);

    always @(posedge clk) begin
        if(!rstn) 
            out <= 1 ;
        else begin
            out[7] <= ~out[0] ;
            for (integer i=0;i<7;i=i+1) begin
                out[i] <= out[i+1] ;
            end
        end
    end
    
endmodule