data/full_repos/permissive/412284801/decade_counter/decade_counter_tb.v
1: b'%Error: data/full_repos/permissive/412284801/decade_counter/decade_counter_tb.v:9: Unsupported or unknown PLI call: $dumpfile\n        $dumpfile("decade_counter.vcd");\n        ^~~~~~~~~\n%Error: data/full_repos/permissive/412284801/decade_counter/decade_counter_tb.v:10: Unsupported or unknown PLI call: $dumpvars\n        $dumpvars(0, decade_counter_tb);\n        ^~~~~~~~~\n%Warning-STMTDLY: data/full_repos/permissive/412284801/decade_counter/decade_counter_tb.v:14: Unsupported: Ignoring delay on this delayed statement.\n        #60 $finish;        \n        ^\n                  ... Use "/* verilator lint_off STMTDLY */" and lint_on around source to disable this message.\n%Warning-STMTDLY: data/full_repos/permissive/412284801/decade_counter/decade_counter_tb.v:17: Unsupported: Ignoring delay on this delayed statement.\n    always #1 clk=~clk;     \n           ^\n%Warning-STMTDLY: data/full_repos/permissive/412284801/decade_counter/decade_counter_tb.v:18: Unsupported: Ignoring delay on this delayed statement.\n    always #25 en=~en;     \n           ^\n%Error: data/full_repos/permissive/412284801/decade_counter/decade_counter_tb.v:21: Unsupported or unknown PLI call: $monitor\n        $monitor("time = %0t, count = %d", $time, cnt);\n        ^~~~~~~~\n%Error: Exiting due to 3 error(s), 3 warning(s)\n        ... See the manual and https://verilator.org for more assistance.\n'
module decade_counter_tb();

    reg en, clk;
    wire [3:0] cnt;

    decade_counter uut(.en(en), .clk(clk), .cnt(cnt));

    initial begin
        $dumpfile("decade_counter.vcd");
        $dumpvars(0, decade_counter_tb);
        en = 1'b1;
        clk = 1'b1;

        #60 $finish;
    end
    
    always #1 clk=~clk;
    always #25 en=~en;
    
    initial begin
        $monitor("time = %0t, count = %d", $time, cnt);
    end

endmodule
module decade_counter_tb();


    reg en, clk;
    wire [3:0] cnt;

    decade_counter uut(.en(en), .clk(clk), .cnt(cnt));

    initial begin
        $dumpfile("decade_counter.vcd");
        $dumpvars(0, decade_counter_tb);
        en = 1'b1;
        clk = 1'b1;

        #60 $finish;
    end
    
    always #1 clk=~clk;
    always #25 en=~en;
    
    initial begin
        $monitor("time = %0t, count = %d", $time, cnt);
    end

endmodule