data/full_repos/permissive/506636840/agents/uart_agent/uart_monitor.svh
1: b'%Error: data/full_repos/permissive/506636840/agents/uart_agent/uart_monitor.svh:20: Unsupported: classes\nclass uart_monitor extends uvm_component;\n^~~~~\n%Error: data/full_repos/permissive/506636840/agents/uart_agent/uart_monitor.svh:20: syntax error, unexpected IDENTIFIER, expecting TYPE-IDENTIFIER\nclass uart_monitor extends uvm_component;\n                           ^~~~~~~~~~~~~\n%Error: data/full_repos/permissive/506636840/agents/uart_agent/uart_monitor.svh:22: Define or directive not defined: \'`uvm_component_utils\'\n    `uvm_component_utils(uart_monitor)\n    ^~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/506636840/agents/uart_agent/uart_monitor.svh:26: Unsupported: virtual data type\n    virtual serial_if sline;\n    ^~~~~~~\n%Error: data/full_repos/permissive/506636840/agents/uart_agent/uart_monitor.svh:28: syntax error, unexpected IDENTIFIER\n    uart_agent_config cfg;\n    ^~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/506636840/agents/uart_agent/uart_monitor.svh:32: syntax error, unexpected IDENTIFIER\n    uart_seq_item s_char;\n    ^~~~~~~~~~~~~\n%Error: data/full_repos/permissive/506636840/agents/uart_agent/uart_monitor.svh:42: Unsupported: new constructor\n    function new(string name = "uart_monitor", uvm_component parent = null);\n             ^~~\n%Error: data/full_repos/permissive/506636840/agents/uart_agent/uart_monitor.svh:42: syntax error, unexpected IDENTIFIER, expecting \')\'\n    function new(string name = "uart_monitor", uvm_component parent = null);\n                                                             ^~~~~~\n%Error: data/full_repos/permissive/506636840/agents/uart_agent/uart_monitor.svh:46: syntax error, unexpected IDENTIFIER, expecting \')\'\n    function void build_phase(uvm_phase phase);\n                                        ^~~~~\n%Error: data/full_repos/permissive/506636840/agents/uart_agent/uart_monitor.svh:49: Define or directive not defined: \'`uvm_fatal\'\n         `uvm_fatal("CONFIG_LOAD", "Cannot get() configuration uart_agent_config from uvm_config_db. Have you set() it?")\n         ^~~~~~~~~~\n%Error: data/full_repos/permissive/506636840/agents/uart_agent/uart_monitor.svh:54: syntax error, unexpected IDENTIFIER, expecting \')\'\n    task run_phase(uvm_phase phase);\n                             ^~~~~\n%Error: data/full_repos/permissive/506636840/agents/uart_agent/uart_monitor.svh:96: syntax error, unexpected \'@\'\n              @(posedge sline.clk);\n              ^\n%Error: data/full_repos/permissive/506636840/agents/uart_agent/uart_monitor.svh:110: syntax error, unexpected \'@\'\n           @(posedge clk);\n           ^\n%Error: data/full_repos/permissive/506636840/agents/uart_agent/uart_monitor.svh:117: syntax error, unexpected \'@\'\n               @(posedge clk);\n               ^\n%Error: data/full_repos/permissive/506636840/agents/uart_agent/uart_monitor.svh:130: syntax error, unexpected \'@\'\n               @(posedge clk);\n               ^\n%Error: data/full_repos/permissive/506636840/agents/uart_agent/uart_monitor.svh:142: syntax error, unexpected \'@\'\n           @(posedge clk);\n           ^\n%Error: data/full_repos/permissive/506636840/agents/uart_agent/uart_monitor.svh:146: syntax error, unexpected \'@\'\n            @(posedge clk);\n            ^\n%Error: data/full_repos/permissive/506636840/agents/uart_agent/uart_monitor.svh:208: syntax error, unexpected \'@\'\n            @(posedge clk);\n            ^\n%Error: data/full_repos/permissive/506636840/agents/uart_agent/uart_monitor.svh:211: syntax error, unexpected \'@\'\n              @(posedge clk);\n              ^\n%Error: data/full_repos/permissive/506636840/agents/uart_agent/uart_monitor.svh:222: syntax error, unexpected \'@\'\n          @(posedge clk);\n          ^\n%Error: data/full_repos/permissive/506636840/agents/uart_agent/uart_monitor.svh:226: syntax error, unexpected endclass\n    endclass: uart_monitor\n    ^~~~~~~~\n%Error: Exiting due to 21 error(s)\n        ... See the manual and https://verilator.org for more assistance.\n'
function void build_phase(uvm_phase phase);
      ap = new("uart_ap", this);
      if (!uvm_config_db #(uart_agent_config)::get(this, "", "uart_agent_config", cfg) )
         `uvm_fatal("CONFIG_LOAD", "Cannot get() configuration uart_agent_config from uvm_config_db. Have you set() it?")
      divisor = cfg.baud_divisor;
      s_char = new("Serial_character");
    endfunction
function void build_phase(uvm_phase phase);

      ap = new("uart_ap", this);
      if (!uvm_config_db #(uart_agent_config)::get(this, "", "uart_agent_config", cfg) )
         `uvm_fatal("CONFIG_LOAD", "Cannot get() configuration uart_agent_config from uvm_config_db. Have you set() it?")
      divisor = cfg.baud_divisor;
      s_char = new("Serial_character");
    endfunction