data/full_repos/permissive/218463548/hardware/sim/unit_verif/tl_bfm/sb/tl_mem_model.sv
 line:19: before: "typedef"
1: b'%Error: data/full_repos/permissive/218463548/hardware/sim/unit_verif/tl_bfm/sb/tl_mem_model.sv:21: Unsupported: classes\nclass tl_mem_model extends uvm_object;\n^~~~~\n%Error: data/full_repos/permissive/218463548/hardware/sim/unit_verif/tl_bfm/sb/tl_mem_model.sv:21: syntax error, unexpected IDENTIFIER, expecting TYPE-IDENTIFIER\nclass tl_mem_model extends uvm_object;\n                           ^~~~~~~~~~\n%Error: data/full_repos/permissive/218463548/hardware/sim/unit_verif/tl_bfm/sb/tl_mem_model.sv:23: Define or directive not defined: \'`uvm_object_utils_begin\'\n    `uvm_object_utils_begin(tl_mem_model)\n    ^~~~~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/218463548/hardware/sim/unit_verif/tl_bfm/sb/tl_mem_model.sv:24: Define or directive not defined: \'`uvm_object_utils_end\'\n    `uvm_object_utils_end\n    ^~~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/218463548/hardware/sim/unit_verif/tl_bfm/sb/tl_mem_model.sv:45: Unsupported: new constructor\n    function new(string name="tl_mem_model");\n             ^~~\n%Error: data/full_repos/permissive/218463548/hardware/sim/unit_verif/tl_bfm/sb/tl_mem_model.sv:46: Unsupported: super\n        super.new(name);\n        ^~~~~\n%Error: data/full_repos/permissive/218463548/hardware/sim/unit_verif/tl_bfm/sb/tl_mem_model.sv:46: Unsupported: new with arguments\n        super.new(name);\n              ^~~\n%Error: data/full_repos/permissive/218463548/hardware/sim/unit_verif/tl_bfm/sb/tl_mem_model.sv:46: Unsupported: dotted new\n        super.new(name);\n        ^~~~~\n%Error: data/full_repos/permissive/218463548/hardware/sim/unit_verif/tl_bfm/sb/tl_mem_model.sv:65: syntax error, unexpected IDENTIFIER, expecting \')\'\n    function void memory_update_by_write_cmd(tl_tx_trans write_cmd,tl_cfg_obj cfg_obj,resp_packet write_resp_packet=null);\n                                                         ^~~~~~~~~\n%Error: data/full_repos/permissive/218463548/hardware/sim/unit_verif/tl_bfm/sb/tl_mem_model.sv:65: syntax error, unexpected \')\', expecting \',\' or \';\'\n    function void memory_update_by_write_cmd(tl_tx_trans write_cmd,tl_cfg_obj cfg_obj,resp_packet write_resp_packet=null);\n                                                                                                                        ^\n%Error: data/full_repos/permissive/218463548/hardware/sim/unit_verif/tl_bfm/sb/tl_mem_model.sv:70: Unsupported or unknown PLI call: $cast\n        $cast(write_cmd_item,write_cmd.clone());\n        ^~~~~\n%Error: data/full_repos/permissive/218463548/hardware/sim/unit_verif/tl_bfm/sb/tl_mem_model.sv:70: syntax error, unexpected ${ignored-bbox-sys}\n        $cast(write_cmd_item,write_cmd.clone());\n             ^\n%Error: data/full_repos/permissive/218463548/hardware/sim/unit_verif/tl_bfm/sb/tl_mem_model.sv:78: syntax error, unexpected case\n                case (write_cmd_item.dlength)\n                ^~~~\n%Error: data/full_repos/permissive/218463548/hardware/sim/unit_verif/tl_bfm/sb/tl_mem_model.sv:84: Define or directive not defined: \'`uvm_info\'\n                        `uvm_info(get_type_name(),"Reservered dlength of WRITE_MEM",UVM_MEDIUM)\n                        ^~~~~~~~~\n%Error: data/full_repos/permissive/218463548/hardware/sim/unit_verif/tl_bfm/sb/tl_mem_model.sv:87: syntax error, unexpected IDENTIFIER\n                for(int i=0; i<byte_num; i++) begin\n                             ^\n%Error: data/full_repos/permissive/218463548/hardware/sim/unit_verif/tl_bfm/sb/tl_mem_model.sv:110: Define or directive not defined: \'`uvm_warning\'\n                    `uvm_warning(get_type_name(),$sformatf("Writting sue with mdi[0]!=mdi[1], original cmd is:\\n%s",write_cmd_item.sprint()))\n                    ^~~~~~~~~~~~\n%Error: data/full_repos/permissive/218463548/hardware/sim/unit_verif/tl_bfm/sb/tl_mem_model.sv:128: syntax error, unexpected IDENTIFIER\n                        for(int i=0; i<byte_num; i++) begin      \n                                     ^\n%Error: data/full_repos/permissive/218463548/hardware/sim/unit_verif/tl_bfm/sb/tl_mem_model.sv:134: syntax error, unexpected IDENTIFIER\n                            for(int i=0; i<64; i++)begin            \n                                         ^\n%Error: data/full_repos/permissive/218463548/hardware/sim/unit_verif/tl_bfm/sb/tl_mem_model.sv:146: syntax error, unexpected IDENTIFIER\n                            for(int i=0; i<64; i++)begin            \n                                         ^\n%Error: data/full_repos/permissive/218463548/hardware/sim/unit_verif/tl_bfm/sb/tl_mem_model.sv:158: syntax error, unexpected IDENTIFIER\n                            for(int i=0; i<byte_num; i++) begin      \n                                         ^\n%Error: data/full_repos/permissive/218463548/hardware/sim/unit_verif/tl_bfm/sb/tl_mem_model.sv:169: syntax error, unexpected IDENTIFIER\n                for(int i=0; i<byte_num; i++) begin\n                             ^\n%Error: data/full_repos/permissive/218463548/hardware/sim/unit_verif/tl_bfm/sb/tl_mem_model.sv:184: syntax error, unexpected IDENTIFIER\n                for(int i=0; i<byte_num; i++) begin\n                             ^\n%Error: data/full_repos/permissive/218463548/hardware/sim/unit_verif/tl_bfm/sb/tl_mem_model.sv:190: Define or directive not defined: \'`uvm_error\'\n                                                                                                  : ... Suggested alternative: \'`error\'\n            default: `uvm_error(get_type_name(),"Unkown cmd tends to update memory_model")\n                     ^~~~~~~~~~\n%Error: data/full_repos/permissive/218463548/hardware/sim/unit_verif/tl_bfm/sb/tl_mem_model.sv:194: syntax error, unexpected IDENTIFIER, expecting \')\'\n    function void memory_update_by_read_cmd(tl_tx_trans read_cmd, resp_packet read_resp_packet);\n                                                        ^~~~~~~~\n%Error: data/full_repos/permissive/218463548/hardware/sim/unit_verif/tl_bfm/sb/tl_mem_model.sv:196: syntax error, unexpected IDENTIFIER\n        temp_addr=read_cmd.physical_addr;\n        ^~~~~~~~~\n%Error: data/full_repos/permissive/218463548/hardware/sim/unit_verif/tl_bfm/sb/tl_mem_model.sv:199: syntax error, unexpected IDENTIFIER\n                for(int i=0; i<read_resp_packet.byte_number_filled; i++) begin\n                             ^\n%Error: data/full_repos/permissive/218463548/hardware/sim/unit_verif/tl_bfm/sb/tl_mem_model.sv:211: syntax error, unexpected IDENTIFIER\n                for(int i=0; i<read_resp_packet.byte_number_filled; i++) begin\n                             ^\n%Error: data/full_repos/permissive/218463548/hardware/sim/unit_verif/tl_bfm/sb/tl_mem_model.sv:223: syntax error, unexpected if\n                    if(temp_addr[5]==1)\n                    ^~\n%Error: data/full_repos/permissive/218463548/hardware/sim/unit_verif/tl_bfm/sb/tl_mem_model.sv:227: syntax error, unexpected IDENTIFIER\n                    for(int i=0; i<32; i++) begin\n                                 ^\n%Error: data/full_repos/permissive/218463548/hardware/sim/unit_verif/tl_bfm/sb/tl_mem_model.sv:253: syntax error, unexpected IDENTIFIER, expecting \')\'\n    function void set_readable_tag(tl_tx_trans write_cmd, bit half_dimm_mode=0);\n                                               ^~~~~~~~~\n%Error: data/full_repos/permissive/218463548/hardware/sim/unit_verif/tl_bfm/sb/tl_mem_model.sv:253: syntax error, unexpected \')\', expecting \',\' or \';\'\n    function void set_readable_tag(tl_tx_trans write_cmd, bit half_dimm_mode=0);\n                                                                              ^\n%Error: data/full_repos/permissive/218463548/hardware/sim/unit_verif/tl_bfm/sb/tl_mem_model.sv:256: syntax error, unexpected IDENTIFIER\n        tl_tx_trans write_cmd_item;\n        ^~~~~~~~~~~\n%Error: data/full_repos/permissive/218463548/hardware/sim/unit_verif/tl_bfm/sb/tl_mem_model.sv:257: Unsupported or unknown PLI call: $cast\n        $cast(write_cmd_item,write_cmd.clone());\n        ^~~~~\n%Error: data/full_repos/permissive/218463548/hardware/sim/unit_verif/tl_bfm/sb/tl_mem_model.sv:318: Define or directive not defined: \'`uvm_error\'\n                                                                                                  : ... Suggested alternative: \'`error\'\n            default: `uvm_error(get_type_name(),"Unkown cmd tends to set_readable_tag")\n                     ^~~~~~~~~~\n%Error: data/full_repos/permissive/218463548/hardware/sim/unit_verif/tl_bfm/sb/tl_mem_model.sv:320: syntax error, unexpected IDENTIFIER\n        for(int i=0;i<byte_num;i++) begin\n                    ^\n%Error: data/full_repos/permissive/218463548/hardware/sim/unit_verif/tl_bfm/sb/tl_mem_model.sv:331: syntax error, unexpected IDENTIFIER, expecting \')\'\n    function void set_writable_tag(tl_tx_trans read_cmd, bit half_dimm_mode);\n                                               ^~~~~~~~\n%Error: data/full_repos/permissive/218463548/hardware/sim/unit_verif/tl_bfm/sb/tl_mem_model.sv:334: syntax error, unexpected IDENTIFIER\n        tl_tx_trans read_cmd_item;\n        ^~~~~~~~~~~\n%Error: data/full_repos/permissive/218463548/hardware/sim/unit_verif/tl_bfm/sb/tl_mem_model.sv:335: Unsupported or unknown PLI call: $cast\n        $cast(read_cmd_item,read_cmd.clone());\n        ^~~~~\n%Error: data/full_repos/permissive/218463548/hardware/sim/unit_verif/tl_bfm/sb/tl_mem_model.sv:348: syntax error, unexpected IDENTIFIER\n                for(int i=0;i<byte_num;i++) begin\n                            ^\n%Error: data/full_repos/permissive/218463548/hardware/sim/unit_verif/tl_bfm/sb/tl_mem_model.sv:379: syntax error, unexpected IDENTIFIER\n                for(int i=0;i<byte_num;i++) begin\n                            ^\n%Error: data/full_repos/permissive/218463548/hardware/sim/unit_verif/tl_bfm/sb/tl_mem_model.sv:389: Define or directive not defined: \'`uvm_error\'\n                                                                                                  : ... Suggested alternative: \'`error\'\n            default: `uvm_error(get_type_name(),"Unkown cmd tends to set_writable_tag")\n                     ^~~~~~~~~~\n%Error: data/full_repos/permissive/218463548/hardware/sim/unit_verif/tl_bfm/sb/tl_mem_model.sv:416: syntax error, unexpected IDENTIFIER, expecting \')\'\n    function byte_packet_array abstract_from_write_cmd(tl_tx_trans write_cmd_raw, bit metadata_enable);\n                                                                   ^~~~~~~~~~~~~\n%Error: data/full_repos/permissive/218463548/hardware/sim/unit_verif/tl_bfm/sb/tl_mem_model.sv:419: Unsupported or unknown PLI call: $cast\n        $cast(write_cmd,write_cmd_raw.clone());\n        ^~~~~\n%Error: data/full_repos/permissive/218463548/hardware/sim/unit_verif/tl_bfm/sb/tl_mem_model.sv:419: syntax error, unexpected ${ignored-bbox-sys}\n        $cast(write_cmd,write_cmd_raw.clone());\n             ^\n%Error: data/full_repos/permissive/218463548/hardware/sim/unit_verif/tl_bfm/sb/tl_mem_model.sv:421: syntax error, unexpected IDENTIFIER\n            for(int i=0; i<32; i++ )begin\n                         ^\n%Error: data/full_repos/permissive/218463548/hardware/sim/unit_verif/tl_bfm/sb/tl_mem_model.sv:428: syntax error, unexpected IDENTIFIER\n                for(int i=0;i<8;i++)begin\n                            ^\n%Error: data/full_repos/permissive/218463548/hardware/sim/unit_verif/tl_bfm/sb/tl_mem_model.sv:429: syntax error, unexpected IDENTIFIER\n                    for(int j=0; j<8;j++)begin\n                                 ^\n%Error: data/full_repos/permissive/218463548/hardware/sim/unit_verif/tl_bfm/sb/tl_mem_model.sv:456: syntax error, unexpected for\n                        for(int k=0; k<(256-sr_byte_num);k++)\n                        ^~~\n%Error: data/full_repos/permissive/218463548/hardware/sim/unit_verif/tl_bfm/sb/tl_mem_model.sv:456: syntax error, unexpected IDENTIFIER\n                        for(int k=0; k<(256-sr_byte_num);k++)\n                                     ^\n%Error: data/full_repos/permissive/218463548/hardware/sim/unit_verif/tl_bfm/sb/tl_mem_model.sv:461: syntax error, unexpected for\n                        for(int k=0; k<(256-sr_byte_num);k++)\n                        ^~~\n%Error: Exiting due to too many errors encountered; --error-limit=50\n        ... See the manual and https://verilator.org for more assistance.\n'
function void rst_readable_tag(longint unsigned addr, int data_length, bit [15:0] capptag);
        for(int i=0; i<data_length; i++) begin
            readable_tag[addr+i]=1;
            blocking_capptag_w[addr+i]=capptag;
        end
    endfunction
function void rst_readable_tag(longint unsigned addr, int data_length, bit [15:0] capptag);

        for(int i=0; i<data_length; i++) begin
            readable_tag[addr+i]=1;
            blocking_capptag_w[addr+i]=capptag;
        end
    endfunction