data/full_repos/permissive/113344787/src/decimal/bcd_tb.v
1: b'%Error: data/full_repos/permissive/113344787/src/decimal/bcd_tb.v:20: Unsupported or unknown PLI call: $dumpfile\n        $dumpfile ("src/decimal/bcd_tb.vcd");\n        ^~~~~~~~~\n%Error: data/full_repos/permissive/113344787/src/decimal/bcd_tb.v:21: Unsupported or unknown PLI call: $dumpvars\n        $dumpvars;\n        ^~~~~~~~~\n%Warning-STMTDLY: data/full_repos/permissive/113344787/src/decimal/bcd_tb.v:23: Unsupported: Ignoring delay on this delayed statement.\n            #1\n            ^\n                  ... Use "/* verilator lint_off STMTDLY */" and lint_on around source to disable this message.\n%Warning-STMTDLY: data/full_repos/permissive/113344787/src/decimal/bcd_tb.v:27: Unsupported: Ignoring delay on this delayed statement.\n            #1\n            ^\n%Warning-STMTDLY: data/full_repos/permissive/113344787/src/decimal/bcd_tb.v:31: Unsupported: Ignoring delay on this delayed statement.\n            #1\n            ^\n%Warning-STMTDLY: data/full_repos/permissive/113344787/src/decimal/bcd_tb.v:35: Unsupported: Ignoring delay on this delayed statement.\n            #1\n            ^\n%Warning-STMTDLY: data/full_repos/permissive/113344787/src/decimal/bcd_tb.v:38: Unsupported: Ignoring delay on this delayed statement.\n        #10\n        ^\n%Error: Exiting due to 2 error(s), 5 warning(s)\n        ... See the manual and https://verilator.org for more assistance.\n'
module bcd_tb;
    reg [13:0] number;
    wire [3:0] thousands;
    wire [3:0] hundreds;
    wire [3:0] tens;
    wire [3:0] ones;

    bcd u_bcd (
        .number     (number),
        .thousands  (thousands),
        .hundreds   (hundreds),
        .tens       (tens),
        .ones       (ones)
    );

    integer i;

    initial
    begin
        $dumpfile ("src/decimal/bcd_tb.vcd");
        $dumpvars;
        for (i = 5; i < 15; i = i + 1) begin
            #1
            number = i;
        end
        for (i = 95; i < 105; i = i + 1) begin
            #1
            number = i;
        end
        for (i = 995; i < 1005; i = i + 1) begin
            #1
            number = i;
        end
        for (i = 9995; i <= 9999; i = i + 1) begin
            #1
            number = i;
        end
        #10
        number = 0;
    end
endmodule
module bcd_tb;

    reg [13:0] number;
    wire [3:0] thousands;
    wire [3:0] hundreds;
    wire [3:0] tens;
    wire [3:0] ones;

    bcd u_bcd (
        .number     (number),
        .thousands  (thousands),
        .hundreds   (hundreds),
        .tens       (tens),
        .ones       (ones)
    );

    integer i;

    initial
    begin
        $dumpfile ("src/decimal/bcd_tb.vcd");
        $dumpvars;
        for (i = 5; i < 15; i = i + 1) begin
            #1
            number = i;
        end
        for (i = 95; i < 105; i = i + 1) begin
            #1
            number = i;
        end
        for (i = 995; i < 1005; i = i + 1) begin
            #1
            number = i;
        end
        for (i = 9995; i <= 9999; i = i + 1) begin
            #1
            number = i;
        end
        #10
        number = 0;
    end
endmodule