data/full_repos/permissive/506636840/agents/uart_agent/uart_agent.svh
1: b'%Error: data/full_repos/permissive/506636840/agents/uart_agent/uart_agent.svh:1: Unsupported: classes\nclass uart_agent extends uvm_agent;\n^~~~~\n%Error: data/full_repos/permissive/506636840/agents/uart_agent/uart_agent.svh:1: syntax error, unexpected IDENTIFIER, expecting TYPE-IDENTIFIER\nclass uart_agent extends uvm_agent;\n                         ^~~~~~~~~\n%Error: data/full_repos/permissive/506636840/agents/uart_agent/uart_agent.svh:3: Define or directive not defined: \'`uvm_component_utils\'\n    `uvm_component_utils(uart_agent)\n    ^~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/506636840/agents/uart_agent/uart_agent.svh:13: Unsupported: new constructor\n    extern function new (string name = "uart_agent", uvm_component parent = null);\n                    ^~~\n%Error: data/full_repos/permissive/506636840/agents/uart_agent/uart_agent.svh:13: syntax error, unexpected IDENTIFIER, expecting \')\'\n    extern function new (string name = "uart_agent", uvm_component parent = null);\n                                                                   ^~~~~~\n%Error: data/full_repos/permissive/506636840/agents/uart_agent/uart_agent.svh:14: syntax error, unexpected IDENTIFIER, expecting \')\'\n    extern function void build_phase(uvm_phase phase);\n                                               ^~~~~\n%Error: data/full_repos/permissive/506636840/agents/uart_agent/uart_agent.svh:15: syntax error, unexpected IDENTIFIER, expecting \')\'\n    extern function void connect_phase(uvm_phase phase);\n                                                 ^~~~~\n%Error: data/full_repos/permissive/506636840/agents/uart_agent/uart_agent.svh:20: Unsupported: Hierarchical class references\nfunction uart_agent::new (string name = "uart_agent", uvm_component parent = null);\n                   ^~\n%Error: data/full_repos/permissive/506636840/agents/uart_agent/uart_agent.svh:20: Unsupported: scoped class reference\nfunction uart_agent::new (string name = "uart_agent", uvm_component parent = null);\n                         ^\n%Error: data/full_repos/permissive/506636840/agents/uart_agent/uart_agent.svh:20: Unsupported: scoped new constructor\nfunction uart_agent::new (string name = "uart_agent", uvm_component parent = null);\n                     ^~~\n%Error: data/full_repos/permissive/506636840/agents/uart_agent/uart_agent.svh:20: syntax error, unexpected IDENTIFIER, expecting \')\'\nfunction uart_agent::new (string name = "uart_agent", uvm_component parent = null);\n                                                                    ^~~~~~\n%Error: data/full_repos/permissive/506636840/agents/uart_agent/uart_agent.svh:24: Unsupported: Hierarchical class references\nfunction void uart_agent::build_phase(uvm_phase phase);\n                        ^~\n%Error: data/full_repos/permissive/506636840/agents/uart_agent/uart_agent.svh:24: Unsupported: scoped class reference\nfunction void uart_agent::build_phase(uvm_phase phase);\n                          ^~~~~~~~~~~\n%Error: data/full_repos/permissive/506636840/agents/uart_agent/uart_agent.svh:20: Unsupported: Out of class block function declaration\nfunction uart_agent::new (string name = "uart_agent", uvm_component parent = null);\n                     ^~~\n%Error: data/full_repos/permissive/506636840/agents/uart_agent/uart_agent.svh:24: syntax error, unexpected IDENTIFIER, expecting \')\'\nfunction void uart_agent::build_phase(uvm_phase phase);\n                                                ^~~~~\n%Error: data/full_repos/permissive/506636840/agents/uart_agent/uart_agent.svh:28: Define or directive not defined: \'`uvm_fatal\'\n        `uvm_fatal("CONFIG LOAD", "in uart config db");\n        ^~~~~~~~~~\n%Error: data/full_repos/permissive/506636840/agents/uart_agent/uart_agent.svh:35: Unsupported: Hierarchical class references\nfunction void uart_agent::connect_phase(uvm_phase phase);\n                        ^~\n%Error: data/full_repos/permissive/506636840/agents/uart_agent/uart_agent.svh:35: Unsupported: scoped class reference\nfunction void uart_agent::connect_phase(uvm_phase phase);\n                          ^~~~~~~~~~~~~\n%Error: data/full_repos/permissive/506636840/agents/uart_agent/uart_agent.svh:24: Unsupported: Out of class block function declaration\nfunction void uart_agent::build_phase(uvm_phase phase);\n                          ^~~~~~~~~~~\n%Error: data/full_repos/permissive/506636840/agents/uart_agent/uart_agent.svh:35: syntax error, unexpected IDENTIFIER, expecting \')\'\nfunction void uart_agent::connect_phase(uvm_phase phase);\n                                                  ^~~~~\n%Error: Exiting due to 20 error(s)\n        ... See the manual and https://verilator.org for more assistance.\n'
function void uart_agent::connect_phase(uvm_phase phase);
    m_uart_driver.seq_item_port.connect(m_uart_sequencer.seq_item_export);
    $display("UART_ANGENT_CONGFIG using in: %s", cfg);
    m_uart_monitor.sline = cfg.sline;
    if(cfg.ACTIVE)
        m_uart_driver.sline = cfg.sline;
    m_uart_monitor.ap.connect(ap);
endfunction
function void uart_agent::connect_phase(uvm_phase phase);

    m_uart_driver.seq_item_port.connect(m_uart_sequencer.seq_item_export);
    $display("UART_ANGENT_CONGFIG using in: %s", cfg);
    m_uart_monitor.sline = cfg.sline;
    if(cfg.ACTIVE)
        m_uart_driver.sline = cfg.sline;
    m_uart_monitor.ap.connect(ap);
endfunction