data/full_repos/permissive/426072575/labs/lab15_Mole state machine sequence detector/codes/xiaodou_sim.v
1: b'%Error: Cannot find file containing module: state\n        ... Looked in:\n             data/full_repos/permissive/426072575/labs/lab15_Mole/state\n             data/full_repos/permissive/426072575/labs/lab15_Mole/state.v\n             data/full_repos/permissive/426072575/labs/lab15_Mole/state.sv\n             state\n             state.v\n             state.sv\n             obj_dir/state\n             obj_dir/state.v\n             obj_dir/state.sv\n%Error: Cannot find file containing module: machine\n%Error: Cannot find file containing module: sequence\n%Error: Cannot find file containing module: detector/codes,data/full_repos/permissive/426072575\n%Error: Cannot find file containing module: data/full_repos/permissive/426072575/labs/lab15_Mole\n%Error: Cannot find file containing module: detector/codes/xiaodou_sim.v\n%Error: Exiting due to 6 error(s)\n'
module xiaodou_sim;
    reg clk;
    reg reset;
    reg load_in;
    reg clock_in;
    wire load_out;
    wire clock_out;
    
    initial 
        begin 
            clk = 1; reset = 1;
            clock_in = 0; load_in = 0; 
            #50 reset = 0;
        end
        
    always #20 clk = ~clk;
        
    always 
        begin
            #200 clock_in = ~clock_in;   load_in = ~load_in;
        end
    
    xiaodou x(
     clk,
     reset,
     load_in,
     clock_in,
     load_out,
     clock_out
    );
endmodule
module xiaodou_sim;

    reg clk;
    reg reset;
    reg load_in;
    reg clock_in;
    wire load_out;
    wire clock_out;
    
    initial 
        begin 
            clk = 1; reset = 1;
            clock_in = 0; load_in = 0; 
            #50 reset = 0;
        end
        
    always #20 clk = ~clk;
        
    always 
        begin
            #200 clock_in = ~clock_in;   load_in = ~load_in;
        end
    
    xiaodou x(
     clk,
     reset,
     load_in,
     clock_in,
     load_out,
     clock_out
    );
endmodule