data/full_repos/permissive/444559342/mp2/hvl/random_tb.sv
1: b"%Error: data/full_repos/permissive/444559342/mp2/hvl/random_tb.sv:1: syntax error, unexpected IDENTIFIER, expecting PACKAGE-IDENTIFIER or STRING\nimport rv32i_types::*;\n       ^~~~~~~~~~~\n%Error: data/full_repos/permissive/444559342/mp2/hvl/random_tb.sv:28: Unsupported: classes\nclass RandomInst;\n^~~~~\n%Error: data/full_repos/permissive/444559342/mp2/hvl/random_tb.sv:29: syntax error, unexpected IDENTIFIER\n    rv32i_reg reg_range[$];\n    ^~~~~~~~~\n%Error: data/full_repos/permissive/444559342/mp2/hvl/random_tb.sv:33: Unsupported: new constructor\n    function new();\n             ^~~\n%Error: data/full_repos/permissive/444559342/mp2/hvl/random_tb.sv:34: syntax error, unexpected IDENTIFIER\n        arith_funct3_t af3;\n                       ^~~\n%Error: data/full_repos/permissive/444559342/mp2/hvl/random_tb.sv:46: syntax error, unexpected IDENTIFIER, expecting '(' or ';'\n    function rv32i_word immediate(\n                        ^~~~~~~~~\n%Error: data/full_repos/permissive/444559342/mp2/hvl/random_tb.sv:52: syntax error, unexpected IDENTIFIER, expecting TYPE-IDENTIFIER\n            rv32i_word rvword;\n            ^~~~~~~~~~\n%Error: data/full_repos/permissive/444559342/mp2/hvl/random_tb.sv:55: syntax error, unexpected IDENTIFIER, expecting TYPE-IDENTIFIER\n                rv32i_reg rs1;\n                ^~~~~~~~~\n%Error: data/full_repos/permissive/444559342/mp2/hvl/random_tb.sv:58: syntax error, unexpected IDENTIFIER\n                rv32i_opcode opcode;\n                ^~~~~~~~~~~~\n%Error: data/full_repos/permissive/444559342/mp2/hvl/random_tb.sv:67: Unsupported or unknown PLI call: $urandom\n            word.i_word.rd = $urandom();\n                             ^~~~~~~~\n%Error: data/full_repos/permissive/444559342/mp2/hvl/random_tb.sv:72: Unsupported or unknown PLI call: $urandom\n            word.i_word.funct3 = $urandom();\n                                 ^~~~~~~~\n%Error: data/full_repos/permissive/444559342/mp2/hvl/random_tb.sv:77: Unsupported or unknown PLI call: $urandom\n            word.i_word.rs1 = $urandom();\n                              ^~~~~~~~\n%Error: data/full_repos/permissive/444559342/mp2/hvl/random_tb.sv:81: Unsupported or unknown PLI call: $urandom\n        word.i_word.i_imm = $urandom();\n                            ^~~~~~~~\n%Error: data/full_repos/permissive/444559342/mp2/hvl/random_tb.sv:96: syntax error, unexpected '@'\n    @(posedge itf.clk iff itf.rst == 1'b0)\n    ^\n%Error: data/full_repos/permissive/444559342/mp2/hvl/random_tb.sv:99: syntax error, unexpected '@'\n        @(mem_itf.mcb iff mem_itf.mcb.read);\n        ^\n%Error: data/full_repos/permissive/444559342/mp2/hvl/random_tb.sv:104: syntax error, unexpected '@'\n        @(mem_itf.mcb) mem_itf.mcb.resp <= 1'b0;\n        ^\n%Error: data/full_repos/permissive/444559342/mp2/hvl/random_tb.sv:109: syntax error, unexpected initial\ninitial begin\n^~~~~~~\n%Error: Cannot continue\n"
function new();
        arith_funct3_t af3;
        af3 = af3.first;

        for (int i = 0; i < 32; ++i)
            reg_range.push_back(i);
        do begin
            arith3_range.push_back(af3);
            af3 = af3.next;
        end while (af3 != af3.last);

    endfunction
function new();

        arith_funct3_t af3;
        af3 = af3.first;

        for (int i = 0; i < 32; ++i)
            reg_range.push_back(i);
        do begin
            arith3_range.push_back(af3);
            af3 = af3.next;
        end while (af3 != af3.last);

    endfunction