data/full_repos/permissive/506636840/block_level_tbs/spi_tb/env/spi_env.svh
1: b'%Error: data/full_repos/permissive/506636840/block_level_tbs/spi_tb/env/spi_env.svh:23: Unsupported: classes\nclass spi_env extends uvm_env;\n^~~~~\n%Error: data/full_repos/permissive/506636840/block_level_tbs/spi_tb/env/spi_env.svh:23: syntax error, unexpected IDENTIFIER, expecting TYPE-IDENTIFIER\nclass spi_env extends uvm_env;\n                      ^~~~~~~\n%Error: data/full_repos/permissive/506636840/block_level_tbs/spi_tb/env/spi_env.svh:27: Define or directive not defined: \'`uvm_component_utils\'\n`uvm_component_utils(spi_env)\n^~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/506636840/block_level_tbs/spi_tb/env/spi_env.svh:49: Unsupported: new constructor\nextern function new(string name = "spi_env", uvm_component parent = null);\n                ^~~\n%Error: data/full_repos/permissive/506636840/block_level_tbs/spi_tb/env/spi_env.svh:49: syntax error, unexpected IDENTIFIER, expecting \')\'\nextern function new(string name = "spi_env", uvm_component parent = null);\n                                                           ^~~~~~\n%Error: data/full_repos/permissive/506636840/block_level_tbs/spi_tb/env/spi_env.svh:50: 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/env/spi_env.svh:51: syntax error, unexpected IDENTIFIER, expecting \')\'\nextern function void connect_phase(uvm_phase phase);\n                                             ^~~~~\n%Error: data/full_repos/permissive/506636840/block_level_tbs/spi_tb/env/spi_env.svh:55: Unsupported: Hierarchical class references\nfunction spi_env::new(string name = "spi_env", uvm_component parent = null);\n                ^~\n%Error: data/full_repos/permissive/506636840/block_level_tbs/spi_tb/env/spi_env.svh:55: Unsupported: scoped class reference\nfunction spi_env::new(string name = "spi_env", uvm_component parent = null);\n                     ^\n%Error: data/full_repos/permissive/506636840/block_level_tbs/spi_tb/env/spi_env.svh:55: Unsupported: scoped new constructor\nfunction spi_env::new(string name = "spi_env", uvm_component parent = null);\n                  ^~~\n%Error: data/full_repos/permissive/506636840/block_level_tbs/spi_tb/env/spi_env.svh:55: syntax error, unexpected IDENTIFIER, expecting \')\'\nfunction spi_env::new(string name = "spi_env", uvm_component parent = null);\n                                                             ^~~~~~\n%Error: data/full_repos/permissive/506636840/block_level_tbs/spi_tb/env/spi_env.svh:59: Unsupported: Hierarchical class references\nfunction void spi_env::build_phase(uvm_phase phase);\n                     ^~\n%Error: data/full_repos/permissive/506636840/block_level_tbs/spi_tb/env/spi_env.svh:59: Unsupported: scoped class reference\nfunction void spi_env::build_phase(uvm_phase phase);\n                       ^~~~~~~~~~~\n%Error: data/full_repos/permissive/506636840/block_level_tbs/spi_tb/env/spi_env.svh:55: Unsupported: Out of class block function declaration\nfunction spi_env::new(string name = "spi_env", uvm_component parent = null);\n                  ^~~\n%Error: data/full_repos/permissive/506636840/block_level_tbs/spi_tb/env/spi_env.svh:59: syntax error, unexpected IDENTIFIER, expecting \')\'\nfunction void spi_env::build_phase(uvm_phase phase);\n                                             ^~~~~\n%Error: data/full_repos/permissive/506636840/block_level_tbs/spi_tb/env/spi_env.svh:61: Define or directive not defined: \'`uvm_error\'\n                                                                                      : ... Suggested alternative: \'`error\'\n    `uvm_error("build_phase", "Failed to find spi_env_config")\n    ^~~~~~~~~~\n%Error: data/full_repos/permissive/506636840/block_level_tbs/spi_tb/env/spi_env.svh:81: Unsupported: Hierarchical class references\nfunction void spi_env::connect_phase(uvm_phase phase);\n                     ^~\n%Error: data/full_repos/permissive/506636840/block_level_tbs/spi_tb/env/spi_env.svh:81: Unsupported: scoped class reference\nfunction void spi_env::connect_phase(uvm_phase phase);\n                       ^~~~~~~~~~~~~\n%Error: data/full_repos/permissive/506636840/block_level_tbs/spi_tb/env/spi_env.svh:59: Unsupported: Out of class block function declaration\nfunction void spi_env::build_phase(uvm_phase phase);\n                       ^~~~~~~~~~~\n%Error: data/full_repos/permissive/506636840/block_level_tbs/spi_tb/env/spi_env.svh:81: syntax error, unexpected IDENTIFIER, expecting \')\'\nfunction void spi_env::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_env", uvm_component parent = null);
extern function void build_phase(uvm_phase phase);
extern function void connect_phase(uvm_phase phase);

endclass:spi_env

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

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

endclass:spi_env

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