data/full_repos/permissive/456803043/testbench/Histogram_tb.sv
1: b'%Warning-STMTDLY: data/full_repos/permissive/456803043/testbench/Histogram_tb.sv:35: Unsupported: Ignoring delay on this delayed statement.\nalways #5 clk = ~clk;\n       ^\n                  ... Use "/* verilator lint_off STMTDLY */" and lint_on around source to disable this message.\n%Warning-STMTDLY: data/full_repos/permissive/456803043/testbench/Histogram_tb.sv:57: Unsupported: Ignoring delay on this delayed statement.\n        #20\n        ^\n%Warning-STMTDLY: data/full_repos/permissive/456803043/testbench/Histogram_tb.sv:59: Unsupported: Ignoring delay on this delayed statement.\n        #20\n        ^\n%Error: data/full_repos/permissive/456803043/testbench/Histogram_tb.sv:66: syntax error, unexpected \'@\'\n                        @(posedge clk);\n                        ^\n%Warning-STMTDLY: data/full_repos/permissive/456803043/testbench/Histogram_tb.sv:67: Unsupported: Ignoring delay on this delayed statement.\n                        #2\n                        ^\n%Error: data/full_repos/permissive/456803043/testbench/Histogram_tb.sv:72: syntax error, unexpected \'@\'\n        @(posedge clk);\n        ^\n%Error: data/full_repos/permissive/456803043/testbench/Histogram_tb.sv:78: syntax error, unexpected \'@\'\n                @(posedge clk);\n                ^\n%Warning-STMTDLY: data/full_repos/permissive/456803043/testbench/Histogram_tb.sv:79: Unsupported: Ignoring delay on this delayed statement.\n                #2\n                ^\n%Error: data/full_repos/permissive/456803043/testbench/Histogram_tb.sv:82: syntax error, unexpected \'@\'\n                @(posedge clk);\n                ^\n%Warning-STMTDLY: data/full_repos/permissive/456803043/testbench/Histogram_tb.sv:87: Unsupported: Ignoring delay on this delayed statement.\n        #200 $finish();\n        ^\n%Error: Exiting due to 4 error(s), 6 warning(s)\n        ... See the manual and https://verilator.org for more assistance.\n'
function integer clogb2(input integer bit_depth);
    begin
        for(clogb2 = 0;bit_depth >0; clogb2 = clogb2 + 1)
            bit_depth = bit_depth >> 1;
    end
endfunction
function integer clogb2(input integer bit_depth);

    begin
        for(clogb2 = 0;bit_depth >0; clogb2 = clogb2 + 1)
            bit_depth = bit_depth >> 1;
    end
endfunction