data/full_repos/permissive/142505464/modules/wb_slave_adapter/bench/wb_slave_adapter_tb.v
 line:148: before: "("
1: b'%Warning-STMTDLY: data/full_repos/permissive/142505464/modules/wb_slave_adapter/bench/wb_slave_adapter_tb.v:36: Unsupported: Ignoring delay on this delayed statement.\n    always #clk_half_period 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/142505464/modules/wb_slave_adapter/bench/wb_slave_adapter_tb.v:37: Unsupported: Ignoring delay on this delayed statement.\n    initial #rst_period rst_n <= 1;\n            ^\n%Error: data/full_repos/permissive/142505464/modules/wb_slave_adapter/bench/wb_slave_adapter_tb.v:145: syntax error, unexpected \'@\'\n        @(negedge rst);\n        ^\n%Error: data/full_repos/permissive/142505464/modules/wb_slave_adapter/bench/wb_slave_adapter_tb.v:166: syntax error, unexpected \'@\'\n            @(posedge clk);\n            ^\n%Error: data/full_repos/permissive/142505464/modules/wb_slave_adapter/bench/wb_slave_adapter_tb.v:182: syntax error, unexpected \'@\'\n            @(posedge clk);\n            ^\n%Error: data/full_repos/permissive/142505464/modules/wb_slave_adapter/bench/wb_slave_adapter_tb.v:190: syntax error, unexpected \'@\'\n            @(posedge clk);\n            ^\n%Error: data/full_repos/permissive/142505464/modules/wb_slave_adapter/bench/wb_slave_adapter_tb.v:201: Unsupported or unknown PLI call: $urandom\n            tmp = $urandom % max;\n                  ^~~~~~~~\n%Error: Exiting due to 5 error(s), 2 warning(s)\n        ... See the manual and https://verilator.org for more assistance.\n'
function [31:0] gen_urandom;
        input integer max;

        integer tmp;
        begin
            tmp = $urandom % max;
            gen_urandom = tmp[31:0];
        end
    endfunction
function [31:0] gen_urandom;

        input integer max;

        integer tmp;
        begin
            tmp = $urandom % max;
            gen_urandom = tmp[31:0];
        end
    endfunction