How can two different agent can Communicate?

We have two different Agents Agent A and Agent B.

  1. Agent A Sequencer Sa is sending Sequences to Driver Da which in turn will drive the transaction into DUT.

  2. The response from DUT is collected by Monitor Mb of Agent 2.

  3. Monitor Mb send the response to Sequence of Agent B.

  4. The Sequencer Sb will send the above sequence to Driver Db which will in turn drive the transaction to DUT.

My question is there is a random field (op_code) in Sequence of Agent A which is driven to DUT. Then how can Agent B (Monitor Mb) will come to know about the value of that random field (op_code) which is randomised in sequence of Agent A when it is drive to DUT.

How can two agents can interact ??

Note - Both are two very different Agents.

In reply to nayan2208:

In general, each interface and the connected agent should operate independently.

In your example, Agent B will monitor interface B and send responses back to the DUT based on what it monitors. If the op_code is received on interface B, then it should be taken into account as part of its response. If the op_code is not part on the interface, then the response should not have to take into account the op_code.

Perhaps you can explain some more about how you Agent A and Agent B should interact?

In reply to nayan2208:

The key question are if you have different functional interfaces for your agents and why you are collecting the response from the seq_item of agent A in the agent B.