data/full_repos/permissive/506636840/agents/spi_agent/spi_driver.svh
1: b'%Error: data/full_repos/permissive/506636840/agents/spi_agent/spi_driver.svh:1: Unsupported: classes\nclass spi_driver extends uvm_driver #(spi_seq_item, spi_seq_item);\n^~~~~\n%Error: data/full_repos/permissive/506636840/agents/spi_agent/spi_driver.svh:1: syntax error, unexpected IDENTIFIER, expecting TYPE-IDENTIFIER\nclass spi_driver extends uvm_driver #(spi_seq_item, spi_seq_item);\n                         ^~~~~~~~~~\n%Error: data/full_repos/permissive/506636840/agents/spi_agent/spi_driver.svh:5: Define or directive not defined: \'`uvm_component_utils\'\n`uvm_component_utils(spi_driver)\n^~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/506636840/agents/spi_agent/spi_driver.svh:8: Unsupported: virtual data type\nvirtual spi_if SPI;\n^~~~~~~\n%Error: data/full_repos/permissive/506636840/agents/spi_agent/spi_driver.svh:19: syntax error, unexpected function, expecting interface or module or program\nextern function new(string name = "spi_driver", uvm_component parent = null);\n       ^~~~~~~~\n%Error: data/full_repos/permissive/506636840/agents/spi_agent/spi_driver.svh:19: Unsupported: new constructor\nextern function new(string name = "spi_driver", uvm_component parent = null);\n                ^~~\n%Error: data/full_repos/permissive/506636840/agents/spi_agent/spi_driver.svh:19: syntax error, unexpected IDENTIFIER, expecting \')\'\nextern function new(string name = "spi_driver", uvm_component parent = null);\n                                                              ^~~~~~\n%Error: data/full_repos/permissive/506636840/agents/spi_agent/spi_driver.svh:20: syntax error, unexpected IDENTIFIER, expecting \')\'\nextern task run_phase(uvm_phase phase);\n                                ^~~~~\n%Error: data/full_repos/permissive/506636840/agents/spi_agent/spi_driver.svh:24: Unsupported: Hierarchical class references\nfunction spi_driver::new(string name = "spi_driver", uvm_component parent = null);\n                   ^~\n%Error: data/full_repos/permissive/506636840/agents/spi_agent/spi_driver.svh:24: Unsupported: scoped class reference\nfunction spi_driver::new(string name = "spi_driver", uvm_component parent = null);\n                        ^\n%Error: data/full_repos/permissive/506636840/agents/spi_agent/spi_driver.svh:24: Unsupported: scoped new constructor\nfunction spi_driver::new(string name = "spi_driver", uvm_component parent = null);\n                     ^~~\n%Error: data/full_repos/permissive/506636840/agents/spi_agent/spi_driver.svh:24: syntax error, unexpected IDENTIFIER, expecting \')\'\nfunction spi_driver::new(string name = "spi_driver", uvm_component parent = null);\n                                                                   ^~~~~~\n%Error: data/full_repos/permissive/506636840/agents/spi_agent/spi_driver.svh:29: Unsupported: Hierarchical class references\ntask spi_driver::run_phase(uvm_phase phase);\n               ^~\n%Error: data/full_repos/permissive/506636840/agents/spi_agent/spi_driver.svh:29: Unsupported: scoped class reference\ntask spi_driver::run_phase(uvm_phase phase);\n                 ^~~~~~~~~\n%Error: data/full_repos/permissive/506636840/agents/spi_agent/spi_driver.svh:20: Unsupported: Out of class block function declaration\nextern task run_phase(uvm_phase phase);\n            ^~~~~~~~~\n%Error: data/full_repos/permissive/506636840/agents/spi_agent/spi_driver.svh:29: syntax error, unexpected IDENTIFIER, expecting \')\'\ntask spi_driver::run_phase(uvm_phase phase);\n                                     ^~~~~\n%Error: data/full_repos/permissive/506636840/agents/spi_agent/spi_driver.svh:34: syntax error, unexpected IDENTIFIER\n  SPI.miso <= 1;\n  ^~~\n%Error: data/full_repos/permissive/506636840/agents/spi_agent/spi_driver.svh:44: Define or directive not defined: \'`uvm_info\'\n    `uvm_info("SPI_DRV_RUN:", $sformatf("Starting transmission: %0h RX_NEG State %b, no of bits %0d", req.spi_data, req.RX_NEG, req.no_bits), UVM_LOW)\n    ^~~~~~~~~\n%Error: data/full_repos/permissive/506636840/agents/spi_agent/spi_driver.svh:50: syntax error, unexpected IDENTIFIER\n    for(int i = 1; i < no_bits-1; i++) begin\n                   ^\n%Error: Exiting due to 19 error(s)\n        ... See the manual and https://verilator.org for more assistance.\n'
function new(string name = "spi_driver", uvm_component parent = null);
extern task run_phase(uvm_phase phase);

endclass: spi_driver

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

extern task run_phase(uvm_phase phase);

endclass: spi_driver

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