data/full_repos/permissive/427221126/workspace/conv_top_tb.sv
1: b'%Warning-STMTDLY: data/full_repos/permissive/427221126/workspace/conv_top_tb.sv:21: Unsupported: Ignoring delay on this delayed statement.\n        #10\n        ^\n                  ... Use "/* verilator lint_off STMTDLY */" and lint_on around source to disable this message.\n%Error: data/full_repos/permissive/427221126/workspace/conv_top_tb.sv:27: Unsupported or unknown PLI call: $sdf_annotate\n        $sdf_annotate("conv.sdf", conv_top_test);\n        ^~~~~~~~~~~~~\n%Warning-STMTDLY: data/full_repos/permissive/427221126/workspace/conv_top_tb.sv:29: Unsupported: Ignoring delay on this delayed statement.\n        #5\n        ^\n%Warning-STMTDLY: data/full_repos/permissive/427221126/workspace/conv_top_tb.sv:31: Unsupported: Ignoring delay on this delayed statement.\n        #30\n        ^\n%Warning-STMTDLY: data/full_repos/permissive/427221126/workspace/conv_top_tb.sv:33: Unsupported: Ignoring delay on this delayed statement.\n        #2500\n        ^\n%Warning-STMTDLY: data/full_repos/permissive/427221126/workspace/conv_top_tb.sv:40: Unsupported: Ignoring delay on this delayed statement.\n        #55\n        ^\n%Warning-STMTDLY: data/full_repos/permissive/427221126/workspace/conv_top_tb.sv:42: Unsupported: Ignoring delay on this delayed statement.\n        #20\n        ^\n%Warning-STMTDLY: data/full_repos/permissive/427221126/workspace/conv_top_tb.sv:74: Unsupported: Ignoring delay on this delayed statement.\n        if(n == 0) begin #5; addr <= 6\'d14;end\n                         ^\n%Warning-STMTDLY: data/full_repos/permissive/427221126/workspace/conv_top_tb.sv:75: Unsupported: Ignoring delay on this delayed statement.\n        else if(n == 7) begin #5; addr <= 6\'d55;end\n                              ^\n%Warning-STMTDLY: data/full_repos/permissive/427221126/workspace/conv_top_tb.sv:76: Unsupported: Ignoring delay on this delayed statement.\n        else if(n == 12) begin #5; addr <= 6\'d7;end\n                               ^\n%Warning-STMTDLY: data/full_repos/permissive/427221126/workspace/conv_top_tb.sv:77: Unsupported: Ignoring delay on this delayed statement.\n        else if(n == 19) begin #5; addr <= 6\'d52;end\n                               ^\n%Warning-STMTDLY: data/full_repos/permissive/427221126/workspace/conv_top_tb.sv:78: Unsupported: Ignoring delay on this delayed statement.\n        else if(n == 24) begin #5; addr <= 6\'d0;end\n                               ^\n%Warning-STMTDLY: data/full_repos/permissive/427221126/workspace/conv_top_tb.sv:79: Unsupported: Ignoring delay on this delayed statement.\n        else if(n == 31) begin #5; addr <= 6\'d49;end\n                               ^\n%Warning-STMTDLY: data/full_repos/permissive/427221126/workspace/conv_top_tb.sv:80: Unsupported: Ignoring delay on this delayed statement.\n        else if(n == 36) begin #5; addr <= 6\'d21;end\n                               ^\n%Warning-STMTDLY: data/full_repos/permissive/427221126/workspace/conv_top_tb.sv:81: Unsupported: Ignoring delay on this delayed statement.\n        else if(n == 45) begin #5; addr <= 6\'d28;end\n                               ^\n%Warning-STMTDLY: data/full_repos/permissive/427221126/workspace/conv_top_tb.sv:82: Unsupported: Ignoring delay on this delayed statement.\n        else if(n == 54) begin #5; addr <= 6\'d35;end\n                               ^\n%Warning-STMTDLY: data/full_repos/permissive/427221126/workspace/conv_top_tb.sv:83: Unsupported: Ignoring delay on this delayed statement.\n        else if(n == 63) begin #5; addr <= 6\'d42;end\n                               ^\n%Warning-STMTDLY: data/full_repos/permissive/427221126/workspace/conv_top_tb.sv:84: Unsupported: Ignoring delay on this delayed statement.\n        else begin #5; addr = addr + 6\'d1;end\n                   ^\n%Error: data/full_repos/permissive/427221126/workspace/conv_top_tb.sv:89: Unsupported or unknown PLI call: $fsdbDumpfile\n        $fsdbDumpfile("conv.fsdb");\n        ^~~~~~~~~~~~~\n%Error: data/full_repos/permissive/427221126/workspace/conv_top_tb.sv:90: Unsupported or unknown PLI call: $fsdbDumpvars\n        $fsdbDumpvars(0,conv_top_test);\n        ^~~~~~~~~~~~~\n%Error: data/full_repos/permissive/427221126/workspace/conv_top_tb.sv:91: Unsupported or unknown PLI call: $fsdbDumpon\n        $fsdbDumpon;\n        ^~~~~~~~~~~\n%Error: data/full_repos/permissive/427221126/workspace/conv_top_tb.sv:92: Unsupported or unknown PLI call: $fsdbDumpMDA\n     $fsdbDumpMDA();\n     ^~~~~~~~~~~~\n%Error: Exiting due to 5 error(s), 17 warning(s)\n        ... See the manual and https://verilator.org for more assistance.\n'
module conv_top_tb();
    reg clk,rst,en;
    reg     [5:0] addr ;
    reg           read ;
    reg     [6:0] n;
    wire   [15:0] DATA_OUT;
conv_top conv_top_test(
       .clk(clk),
       .rst(rst),
       .en(en),
       .addr(addr),
       .read(read),
       .DATA_OUT(DATA_OUT)
    );


    initial begin 

        clk = 0;
        forever
        #10
        clk = ~clk;
    end
        

    initial begin
        $sdf_annotate("conv.sdf", conv_top_test);
        rst = 0;
        #5
        rst = 1;
        #30
        rst = 0;
        #2500
        $finish;
    end 


    initial begin
        en = 0;
        #55
        en = 1;
        #20
        en = 0;
    end 


    initial begin
        read = 1;
    end


















    always @(posedge clk) begin
        if(en) n <= 0;
        else n <= n + 1;
    end

    always @(posedge clk) begin
        if(n == 0) begin #5; addr <= 6'd14;end
        else if(n == 7) begin #5; addr <= 6'd55;end
        else if(n == 12) begin #5; addr <= 6'd7;end
        else if(n == 19) begin #5; addr <= 6'd52;end
        else if(n == 24) begin #5; addr <= 6'd0;end
        else if(n == 31) begin #5; addr <= 6'd49;end
        else if(n == 36) begin #5; addr <= 6'd21;end
        else if(n == 45) begin #5; addr <= 6'd28;end
        else if(n == 54) begin #5; addr <= 6'd35;end
        else if(n == 63) begin #5; addr <= 6'd42;end
        else begin #5; addr = addr + 6'd1;end
    end


    initial begin
        $fsdbDumpfile("conv.fsdb");
        $fsdbDumpvars(0,conv_top_test);
        $fsdbDumpon;
	    $fsdbDumpMDA();
        end  
    
    endmodule
module conv_top_tb();

    reg clk,rst,en;
    reg     [5:0] addr ;
    reg           read ;
    reg     [6:0] n;
    wire   [15:0] DATA_OUT;
conv_top conv_top_test(
       .clk(clk),
       .rst(rst),
       .en(en),
       .addr(addr),
       .read(read),
       .DATA_OUT(DATA_OUT)
    );


    initial begin 

        clk = 0;
        forever
        #10
        clk = ~clk;
    end
        

    initial begin
        $sdf_annotate("conv.sdf", conv_top_test);
        rst = 0;
        #5
        rst = 1;
        #30
        rst = 0;
        #2500
        $finish;
    end 


    initial begin
        en = 0;
        #55
        en = 1;
        #20
        en = 0;
    end 


    initial begin
        read = 1;
    end


















    always @(posedge clk) begin
        if(en) n <= 0;
        else n <= n + 1;
    end

    always @(posedge clk) begin
        if(n == 0) begin #5; addr <= 6'd14;end
        else if(n == 7) begin #5; addr <= 6'd55;end
        else if(n == 12) begin #5; addr <= 6'd7;end
        else if(n == 19) begin #5; addr <= 6'd52;end
        else if(n == 24) begin #5; addr <= 6'd0;end
        else if(n == 31) begin #5; addr <= 6'd49;end
        else if(n == 36) begin #5; addr <= 6'd21;end
        else if(n == 45) begin #5; addr <= 6'd28;end
        else if(n == 54) begin #5; addr <= 6'd35;end
        else if(n == 63) begin #5; addr <= 6'd42;end
        else begin #5; addr = addr + 6'd1;end
    end


    initial begin
        $fsdbDumpfile("conv.fsdb");
        $fsdbDumpvars(0,conv_top_test);
        $fsdbDumpon;
	    $fsdbDumpMDA();
        end  
    
    endmodule