Two agents communicating each other!

HI Form,

I have two agents which from one env ,
but the problem is

agent1 driver should preload the data to other drivers memory(agent2) .how could i access this task,

kindly guide,

thanks,
Gowtham.

class driver1 extends uvm_driver;
// it has file operation were it opens and reads the data//

endclass

class slave driver extends uvm_driver;

logic [7:0] mem [*];
were this reads the data and send back to master,
endclass

now in my driver1 should back load the data to memory of slave driver//

can suggest me how can i achieve this,

thanks,
Gowtham.

In reply to P.Gowtham Santosh:

Could you please explain in some more detail what you want to do. Currently it does not look like you need 2 agents.