In reply to peterjin:
Can you check naxi_magent.m_mon before calling set() to make sure it is not null?
Also, you should pass null instead of uvm_top as the first argument.
In reply to peterjin:
Can you check naxi_magent.m_mon before calling set() to make sure it is not null?
Also, you should pass null instead of uvm_top as the first argument.