data/full_repos/permissive/434840709/lab4/4.2/fsm_moore_tb.v
1: b'%Warning-STMTDLY: data/full_repos/permissive/434840709/lab4/4.2/fsm_moore_tb.v:17: Unsupported: Ignoring delay on this delayed statement.\n            #(PERIOD/2) clk = 1;\n            ^\n                  ... Use "/* verilator lint_off STMTDLY */" and lint_on around source to disable this message.\n%Warning-STMTDLY: data/full_repos/permissive/434840709/lab4/4.2/fsm_moore_tb.v:18: Unsupported: Ignoring delay on this delayed statement.\n            #(PERIOD/2) clk = 0;\n            ^\n%Warning-STMTDLY: data/full_repos/permissive/434840709/lab4/4.2/fsm_moore_tb.v:25: Unsupported: Ignoring delay on this delayed statement.\n            #50 clr = 0;\n            ^\n%Warning-STMTDLY: data/full_repos/permissive/434840709/lab4/4.2/fsm_moore_tb.v:31: Unsupported: Ignoring delay on this delayed statement.\n        #400 din = 0;\n        ^\n%Warning-STMTDLY: data/full_repos/permissive/434840709/lab4/4.2/fsm_moore_tb.v:32: Unsupported: Ignoring delay on this delayed statement.\n        #50  din = 1;\n        ^\n%Warning-STMTDLY: data/full_repos/permissive/434840709/lab4/4.2/fsm_moore_tb.v:33: Unsupported: Ignoring delay on this delayed statement.\n        #100 din = 0;\n        ^\n%Warning-STMTDLY: data/full_repos/permissive/434840709/lab4/4.2/fsm_moore_tb.v:34: Unsupported: Ignoring delay on this delayed statement.\n        #50  din = 1;\n        ^\n%Error: data/full_repos/permissive/434840709/lab4/4.2/fsm_moore_tb.v:7: Cannot find file containing module: \'seqdetea\'\n    seqdetea seqdetea_inst(\n    ^~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/434840709/lab4/4.2,data/full_repos/permissive/434840709/seqdetea\n             data/full_repos/permissive/434840709/lab4/4.2,data/full_repos/permissive/434840709/seqdetea.v\n             data/full_repos/permissive/434840709/lab4/4.2,data/full_repos/permissive/434840709/seqdetea.sv\n             seqdetea\n             seqdetea.v\n             seqdetea.sv\n             obj_dir/seqdetea\n             obj_dir/seqdetea.v\n             obj_dir/seqdetea.sv\n%Error: Exiting due to 1 error(s), 7 warning(s)\n        ... See the manual and https://verilator.org for more assistance.\n'
module seqdetea_tb;

    reg clk,clr,din;
    wire dout;

    parameter PERIOD = 40;
    seqdetea seqdetea_inst(
        .clk(clk),
        .clr(clr),
        .din(din),
        .dout(dout)
    );

    initial begin
        clk = 0;
        forever begin
            #(PERIOD/2) clk = 1;
            #(PERIOD/2) clk = 0;
        end
    end

    initial begin
        clr = 1;
        forever begin
            #50 clr = 0;
        end
    end

    initial begin
        din = 1;
        #400 din = 0;
        #50  din = 1;
        #100 din = 0;
        #50  din = 1;
    end

endmodule
module seqdetea_tb;


    reg clk,clr,din;
    wire dout;

    parameter PERIOD = 40;
    seqdetea seqdetea_inst(
        .clk(clk),
        .clr(clr),
        .din(din),
        .dout(dout)
    );

    initial begin
        clk = 0;
        forever begin
            #(PERIOD/2) clk = 1;
            #(PERIOD/2) clk = 0;
        end
    end

    initial begin
        clr = 1;
        forever begin
            #50 clr = 0;
        end
    end

    initial begin
        din = 1;
        #400 din = 0;
        #50  din = 1;
        #100 din = 0;
        #50  din = 1;
    end

endmodule