Fatal error in Function ram_test_pkg/ram_rd_agent::build_phase at ../rd_agt_top/ram_rd_agent.sv line 69

In reply to chr_sue:

Hi,

if(m_cfg.is_active==UVM_ACTIVE)//This is line no 69

//Below is the code for read RAM agent configuration
class ram_rd_agent_config extends uvm_object;

`uvm_object_utils(ram_rd_agent_config)

// Declare the virtual interface handle for ram_if as “vif”
virtual ram_if vif;
uvm_active_passive_enum is_active = UVM_ACTIVE;

// Declare the mon_rcvd_xtn_cnt as static int and initialize it to zero
static int mon_rcvd_xtn_cnt = 0;

// Declare the drv_data_sent_cnt as static int and initialize it to zero
static int drv_data_sent_cnt = 0;
extern function new(string name = “ram_rd_agent_config”);

endclass: ram_rd_agent_config

function ram_rd_agent_config::new(string name = “ram_rd_agent_config”);
super.new(name);
endfunction