data/full_repos/permissive/427578563/blinky/blinky_tb.v
1: b'%Error: data/full_repos/permissive/427578563/blinky/blinky_tb.v:11: Unsupported or unknown PLI call: $dumpfile\n        $dumpfile("blinky_tb.vcd");\n        ^~~~~~~~~\n%Error: data/full_repos/permissive/427578563/blinky/blinky_tb.v:12: Unsupported or unknown PLI call: $dumpvars\n        $dumpvars(0, blinky_tb);\n        ^~~~~~~~~\n%Warning-STMTDLY: data/full_repos/permissive/427578563/blinky/blinky_tb.v:13: Unsupported: Ignoring delay on this delayed statement.\n        #1 reset = 1;\n        ^\n                  ... Use "/* verilator lint_off STMTDLY */" and lint_on around source to disable this message.\n%Warning-STMTDLY: data/full_repos/permissive/427578563/blinky/blinky_tb.v:14: Unsupported: Ignoring delay on this delayed statement.\n        #2 reset = 0;\n        ^\n%Warning-STMTDLY: data/full_repos/permissive/427578563/blinky/blinky_tb.v:15: Unsupported: Ignoring delay on this delayed statement.\n        #(3*(1<<(N+2))) $finish;\n        ^\n%Warning-STMTDLY: data/full_repos/permissive/427578563/blinky/blinky_tb.v:20: Unsupported: Ignoring delay on this delayed statement.\n    always #1 clk = !clk;\n           ^\n%Error: data/full_repos/permissive/427578563/blinky/blinky_tb.v:29: Unsupported or unknown PLI call: $monitor\n        $monitor("%t: Orange->%h (%0d), Green->%h (%0d), Red->%h (%0d)", $time, led_blue, led_blue,\n        ^~~~~~~~\n%Error: Exiting due to 3 error(s), 4 warning(s)\n        ... See the manual and https://verilator.org for more assistance.\n'
module blinky_tb;

    localparam N = 4;

    reg reset = 0;
    initial begin
        $dumpfile("blinky_tb.vcd");
        $dumpvars(0, blinky_tb);
        #1 reset = 1;
        #2 reset = 0;
        #(3*(1<<(N+2))) $finish;
    end 


    reg clk = 0;
    always #1 clk = !clk;


    wire led_blue;
    wire led_green;
    wire led_red;
    blinky #(N) dut (clk, reset, led_blue, led_green, led_red);

    initial begin
        $monitor("%t: Orange->%h (%0d), Green->%h (%0d), Red->%h (%0d)", $time, led_blue, led_blue,
            led_green, led_green,
            led_red, led_red);
    end
endmodule
module blinky_tb;


    localparam N = 4;

    reg reset = 0;
    initial begin
        $dumpfile("blinky_tb.vcd");
        $dumpvars(0, blinky_tb);
        #1 reset = 1;
        #2 reset = 0;
        #(3*(1<<(N+2))) $finish;
    end 


    reg clk = 0;
    always #1 clk = !clk;


    wire led_blue;
    wire led_green;
    wire led_red;
    blinky #(N) dut (clk, reset, led_blue, led_green, led_red);

    initial begin
        $monitor("%t: Orange->%h (%0d), Green->%h (%0d), Red->%h (%0d)", $time, led_blue, led_blue,
            led_green, led_green,
            led_red, led_red);
    end
endmodule