data/full_repos/permissive/506636840/block_level_tbs/spi_tb/test/spi_test_base.svh
1: b'%Error: data/full_repos/permissive/506636840/block_level_tbs/spi_tb/test/spi_test_base.svh:23: Unsupported: classes\nclass spi_test_base extends uvm_test;\n^~~~~\n%Error: data/full_repos/permissive/506636840/block_level_tbs/spi_tb/test/spi_test_base.svh:23: syntax error, unexpected IDENTIFIER, expecting TYPE-IDENTIFIER\nclass spi_test_base extends uvm_test;\n                            ^~~~~~~~\n%Error: data/full_repos/permissive/506636840/block_level_tbs/spi_tb/test/spi_test_base.svh:27: Define or directive not defined: \'`uvm_component_utils\'\n`uvm_component_utils(spi_test_base)\n^~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/506636840/block_level_tbs/spi_tb/test/spi_test_base.svh:48: syntax error, unexpected IDENTIFIER, expecting \')\'\nextern function void configure_apb_agent(apb_agent_config cfg);\n                                                          ^~~\n%Error: data/full_repos/permissive/506636840/block_level_tbs/spi_tb/test/spi_test_base.svh:50: Unsupported: new constructor\nextern function new(string name = "spi_test_base", uvm_component parent = null);\n                ^~~\n%Error: data/full_repos/permissive/506636840/block_level_tbs/spi_tb/test/spi_test_base.svh:50: syntax error, unexpected IDENTIFIER, expecting \')\'\nextern function new(string name = "spi_test_base", uvm_component parent = null);\n                                                                 ^~~~~~\n%Error: data/full_repos/permissive/506636840/block_level_tbs/spi_tb/test/spi_test_base.svh:51: syntax error, unexpected IDENTIFIER, expecting \')\'\nextern function void build_phase(uvm_phase phase);\n                                           ^~~~~\n%Error: data/full_repos/permissive/506636840/block_level_tbs/spi_tb/test/spi_test_base.svh:55: Unsupported: Hierarchical class references\nfunction spi_test_base::new(string name = "spi_test_base", uvm_component parent = null);\n                      ^~\n%Error: data/full_repos/permissive/506636840/block_level_tbs/spi_tb/test/spi_test_base.svh:55: Unsupported: scoped class reference\nfunction spi_test_base::new(string name = "spi_test_base", uvm_component parent = null);\n                           ^\n%Error: data/full_repos/permissive/506636840/block_level_tbs/spi_tb/test/spi_test_base.svh:55: Unsupported: scoped new constructor\nfunction spi_test_base::new(string name = "spi_test_base", uvm_component parent = null);\n                        ^~~\n%Error: data/full_repos/permissive/506636840/block_level_tbs/spi_tb/test/spi_test_base.svh:55: syntax error, unexpected IDENTIFIER, expecting \')\'\nfunction spi_test_base::new(string name = "spi_test_base", uvm_component parent = null);\n                                                                         ^~~~~~\n%Error: data/full_repos/permissive/506636840/block_level_tbs/spi_tb/test/spi_test_base.svh:61: Unsupported: Hierarchical class references\nfunction void spi_test_base::build_phase(uvm_phase phase);\n                           ^~\n%Error: data/full_repos/permissive/506636840/block_level_tbs/spi_tb/test/spi_test_base.svh:61: Unsupported: scoped class reference\nfunction void spi_test_base::build_phase(uvm_phase phase);\n                             ^~~~~~~~~~~\n%Error: data/full_repos/permissive/506636840/block_level_tbs/spi_tb/test/spi_test_base.svh:55: Unsupported: Out of class block function declaration\nfunction spi_test_base::new(string name = "spi_test_base", uvm_component parent = null);\n                        ^~~\n%Error: data/full_repos/permissive/506636840/block_level_tbs/spi_tb/test/spi_test_base.svh:61: syntax error, unexpected IDENTIFIER, expecting \')\'\nfunction void spi_test_base::build_phase(uvm_phase phase);\n                                                   ^~~~~\n%Error: data/full_repos/permissive/506636840/block_level_tbs/spi_tb/test/spi_test_base.svh:76: Unsupported: virtual data type\n  if(!uvm_config_db #(virtual apb_if)::get(this, "", "APB_vif", m_apb_cfg.APB)) begin\n                      ^~~~~~~\n%Error: data/full_repos/permissive/506636840/block_level_tbs/spi_tb/test/spi_test_base.svh:77: Define or directive not defined: \'`uvm_error\'\n                                                                                             : ... Suggested alternative: \'`error\'\n    `uvm_error("RESOURCE_ERROR", "APB virtual interface not found")\n    ^~~~~~~~~~\n%Error: data/full_repos/permissive/506636840/block_level_tbs/spi_tb/test/spi_test_base.svh:82: Unsupported: virtual data type\n  if(!uvm_config_db #(virtual spi_if)::get(this, "", "SPI_vif", m_spi_cfg.SPI)) begin\n                      ^~~~~~~\n%Error: data/full_repos/permissive/506636840/block_level_tbs/spi_tb/test/spi_test_base.svh:83: Define or directive not defined: \'`uvm_error\'\n                                                                                             : ... Suggested alternative: \'`error\'\n    `uvm_error("RESOURCE_ERROR", "SPI virtual interface not found")\n    ^~~~~~~~~~\n%Error: data/full_repos/permissive/506636840/block_level_tbs/spi_tb/test/spi_test_base.svh:88: Unsupported: virtual data type\n  if(!uvm_config_db #(virtual intr_if)::get(this, "", "INTR_vif", m_env_cfg.INTR)) begin\n                      ^~~~~~~\n%Error: data/full_repos/permissive/506636840/block_level_tbs/spi_tb/test/spi_test_base.svh:89: Define or directive not defined: \'`uvm_error\'\n                                                                                             : ... Suggested alternative: \'`error\'\n    `uvm_error("RESOURCE_ERROR", "INTR virtual interface not found")\n    ^~~~~~~~~~\n%Error: data/full_repos/permissive/506636840/block_level_tbs/spi_tb/test/spi_test_base.svh:101: Unsupported: Hierarchical class references\nfunction void spi_test_base::configure_apb_agent(apb_agent_config cfg);\n                           ^~\n%Error: data/full_repos/permissive/506636840/block_level_tbs/spi_tb/test/spi_test_base.svh:101: Unsupported: scoped class reference\nfunction void spi_test_base::configure_apb_agent(apb_agent_config cfg);\n                             ^~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/506636840/block_level_tbs/spi_tb/test/spi_test_base.svh:61: Unsupported: Out of class block function declaration\nfunction void spi_test_base::build_phase(uvm_phase phase);\n                             ^~~~~~~~~~~\n%Error: data/full_repos/permissive/506636840/block_level_tbs/spi_tb/test/spi_test_base.svh:101: syntax error, unexpected IDENTIFIER, expecting \')\'\nfunction void spi_test_base::configure_apb_agent(apb_agent_config cfg);\n                                                                  ^~~\n%Error: Exiting due to 25 error(s)\n        ... See the manual and https://verilator.org for more assistance.\n'
function void spi_test_base::configure_apb_agent(apb_agent_config cfg);
  cfg.active = UVM_ACTIVE;
  cfg.has_functional_coverage = 0;
  cfg.has_scoreboard = 0;

  cfg.no_select_lines = 1;
  cfg.start_address[0] = 32'h0;
  cfg.range[0] = 32'h18;
endfunction
function void spi_test_base::configure_apb_agent(apb_agent_config cfg);

  cfg.active = UVM_ACTIVE;
  cfg.has_functional_coverage = 0;
  cfg.has_scoreboard = 0;

  cfg.no_select_lines = 1;
  cfg.start_address[0] = 32'h0;
  cfg.range[0] = 32'h18;
endfunction