data/full_repos/permissive/506636840/agents/spi_agent/spi_agent.svh
1: b'%Error: data/full_repos/permissive/506636840/agents/spi_agent/spi_agent.svh:24: Unsupported: classes\nclass spi_agent extends uvm_component;\n^~~~~\n%Error: data/full_repos/permissive/506636840/agents/spi_agent/spi_agent.svh:24: syntax error, unexpected IDENTIFIER, expecting TYPE-IDENTIFIER\nclass spi_agent extends uvm_component;\n                        ^~~~~~~~~~~~~\n%Error: data/full_repos/permissive/506636840/agents/spi_agent/spi_agent.svh:28: Define or directive not defined: \'`uvm_component_utils\'\n`uvm_component_utils(spi_agent)\n^~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/506636840/agents/spi_agent/spi_agent.svh:46: Unsupported: new constructor\nextern function new(string name = "spi_agent", uvm_component parent = null);\n                ^~~\n%Error: data/full_repos/permissive/506636840/agents/spi_agent/spi_agent.svh:46: syntax error, unexpected IDENTIFIER, expecting \')\'\nextern function new(string name = "spi_agent", uvm_component parent = null);\n                                                             ^~~~~~\n%Error: data/full_repos/permissive/506636840/agents/spi_agent/spi_agent.svh:47: syntax error, unexpected IDENTIFIER, expecting \')\'\nextern function void build_phase(uvm_phase phase);\n                                           ^~~~~\n%Error: data/full_repos/permissive/506636840/agents/spi_agent/spi_agent.svh:48: syntax error, unexpected IDENTIFIER, expecting \')\'\nextern function void connect_phase(uvm_phase phase);\n                                             ^~~~~\n%Error: data/full_repos/permissive/506636840/agents/spi_agent/spi_agent.svh:53: Unsupported: Hierarchical class references\nfunction spi_agent::new(string name = "spi_agent", uvm_component parent = null);\n                  ^~\n%Error: data/full_repos/permissive/506636840/agents/spi_agent/spi_agent.svh:53: Unsupported: scoped class reference\nfunction spi_agent::new(string name = "spi_agent", uvm_component parent = null);\n                       ^\n%Error: data/full_repos/permissive/506636840/agents/spi_agent/spi_agent.svh:53: Unsupported: scoped new constructor\nfunction spi_agent::new(string name = "spi_agent", uvm_component parent = null);\n                    ^~~\n%Error: data/full_repos/permissive/506636840/agents/spi_agent/spi_agent.svh:53: syntax error, unexpected IDENTIFIER, expecting \')\'\nfunction spi_agent::new(string name = "spi_agent", uvm_component parent = null);\n                                                                 ^~~~~~\n%Error: data/full_repos/permissive/506636840/agents/spi_agent/spi_agent.svh:58: Unsupported: Hierarchical class references\nfunction void spi_agent::build_phase(uvm_phase phase);\n                       ^~\n%Error: data/full_repos/permissive/506636840/agents/spi_agent/spi_agent.svh:58: Unsupported: scoped class reference\nfunction void spi_agent::build_phase(uvm_phase phase);\n                         ^~~~~~~~~~~\n%Error: data/full_repos/permissive/506636840/agents/spi_agent/spi_agent.svh:53: Unsupported: Out of class block function declaration\nfunction spi_agent::new(string name = "spi_agent", uvm_component parent = null);\n                    ^~~\n%Error: data/full_repos/permissive/506636840/agents/spi_agent/spi_agent.svh:58: syntax error, unexpected IDENTIFIER, expecting \')\'\nfunction void spi_agent::build_phase(uvm_phase phase);\n                                               ^~~~~\n%Error: data/full_repos/permissive/506636840/agents/spi_agent/spi_agent.svh:60: Define or directive not defined: \'`uvm_error\'\n                                                                              : ... Suggested alternative: \'`error\'\n    `uvm_error("build_phase", "SPI agent config not found")\n    ^~~~~~~~~~\n%Error: data/full_repos/permissive/506636840/agents/spi_agent/spi_agent.svh:71: Unsupported: Hierarchical class references\nfunction void spi_agent::connect_phase(uvm_phase phase);\n                       ^~\n%Error: data/full_repos/permissive/506636840/agents/spi_agent/spi_agent.svh:71: Unsupported: scoped class reference\nfunction void spi_agent::connect_phase(uvm_phase phase);\n                         ^~~~~~~~~~~~~\n%Error: data/full_repos/permissive/506636840/agents/spi_agent/spi_agent.svh:58: Unsupported: Out of class block function declaration\nfunction void spi_agent::build_phase(uvm_phase phase);\n                         ^~~~~~~~~~~\n%Error: data/full_repos/permissive/506636840/agents/spi_agent/spi_agent.svh:71: syntax error, unexpected IDENTIFIER, expecting \')\'\nfunction void spi_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 new(string name = "spi_agent", uvm_component parent = null);
extern function void build_phase(uvm_phase phase);
extern function void connect_phase(uvm_phase phase);

endclass: spi_agent


function spi_agent::new(string name = "spi_agent", uvm_component parent = null);
  super.new(name, parent);
endfunction
function new(string name = "spi_agent", uvm_component parent = null);

extern function void build_phase(uvm_phase phase);
extern function void connect_phase(uvm_phase phase);

endclass: spi_agent


function spi_agent::new(string name = "spi_agent", uvm_component parent = null);
  super.new(name, parent);
endfunction