Subordinated driver in agent

Hi All,

I have DUT with two agents agent_A is the initiator, it sends transaction to the DUT, the DUT process these transaction and send them out towards agent_B which is subordinated to the output of the DUT(it can’t send any transaction without getting a transaction from the DUT).

How do I build agent_B?
I was thinking on using an analysis port from agent_A monitor to agent_B’s driver? Or using an event to some sequence that making the stimulus of agent_B?

What is the right way?

Thanks!

Compose the transaction from the monitor at DUT output interface. Based on the transaction, compose a sequence to be send from Agent B.

You have a master/slave environment. The master is initiating something in your DUT and you get a response from the DUT which requires an action form your agent_B.
Please visit the code examples in the Verification Academy. It offers you code examples for this application

Can you please send me the relevant link?

I found it, I’ll take a look.
Thanks!