I have multiple agents in my env ,all of the same type ,AXI slave.
class my_env extends uvm_env;
In the base_sequence,which is common for all the agents, I have an object,read_q_manager, extended from uvm_object.I want to override the read_q_manager definition for only agent_A.
I defined another class extending read_q_manager:
class my_read_q_manager extends read_q_manger;
In my test build phase, I'm trying to override read_q_manager with my_read_q_manager:
class my_test extends my_base_test;
function void build_phase(uvm_phase phase);
When I use set_type_override, it overrides for all the agents ie., in seq_A,seq_B and seq_C.
But,I want only for seq_A.
set_inst_override doesnt override at all.Probably because its a uvm_object and cannot be referenced through hierarchical path.
How can I override this object? I cannot modify the creation of read_q_manager object in slave_sequence as it is an external VIP