data/full_repos/permissive/435890256/riscv_uvm/riscv_agent.sv
1: b"%Error: data/full_repos/permissive/435890256/riscv_uvm/riscv_agent.sv:1: Unsupported: classes\nclass riscv_agent extends uvm_agent;\n^~~~~\n%Error: data/full_repos/permissive/435890256/riscv_uvm/riscv_agent.sv:1: syntax error, unexpected IDENTIFIER, expecting TYPE-IDENTIFIER\nclass riscv_agent extends uvm_agent;\n                          ^~~~~~~~~\n%Error: data/full_repos/permissive/435890256/riscv_uvm/riscv_agent.sv:2: Define or directive not defined: '`uvm_component_utils'\n `uvm_component_utils(riscv_agent)\n ^~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/435890256/riscv_uvm/riscv_agent.sv:12: Unsupported: new constructor\n function new(string name, uvm_component parent);\n          ^~~\n%Error: data/full_repos/permissive/435890256/riscv_uvm/riscv_agent.sv:12: syntax error, unexpected IDENTIFIER, expecting ')'\n function new(string name, uvm_component parent);\n                                         ^~~~~~\n%Error: data/full_repos/permissive/435890256/riscv_uvm/riscv_agent.sv:16: syntax error, unexpected IDENTIFIER, expecting ')'\n function void build_phase(uvm_phase phase);\n                                     ^~~~~\n%Error: data/full_repos/permissive/435890256/riscv_uvm/riscv_agent.sv:28: syntax error, unexpected IDENTIFIER, expecting ')'\n function void connect_phase(uvm_phase phase);\n                                       ^~~~~\n%Error: Exiting due to 7 error(s)\n        ... See the manual and https://verilator.org for more assistance.\n"
function void build_phase(uvm_phase phase);
		super.build_phase(phase);

		agent_ap_before	= new(.name("agent_ap_before"), .parent(this));
		agent_ap_after	= new(.name("agent_ap_after"), .parent(this));

		rv_seqr		= riscv_sequencer::type_id::create(.name("rv_seqr"), .parent(this));
		rv_drvr		= riscv_driver::type_id::create(.name("rv_drvr"), .parent(this));
		rv_mon_before	= riscv_monitor_before::type_id::create(.name("rv_mon_before"), .parent(this));
		rv_mon_after	= riscv_monitor_after::type_id::create(.name("rv_mon_after"), .parent(this));
	endfunction
function void build_phase(uvm_phase phase);

		super.build_phase(phase);

		agent_ap_before	= new(.name("agent_ap_before"), .parent(this));
		agent_ap_after	= new(.name("agent_ap_after"), .parent(this));

		rv_seqr		= riscv_sequencer::type_id::create(.name("rv_seqr"), .parent(this));
		rv_drvr		= riscv_driver::type_id::create(.name("rv_drvr"), .parent(this));
		rv_mon_before	= riscv_monitor_before::type_id::create(.name("rv_mon_before"), .parent(this));
		rv_mon_after	= riscv_monitor_after::type_id::create(.name("rv_mon_after"), .parent(this));
	endfunction