Transfer transaction between sub-environment in uvmf

Hello,

I’m currently facing a complex challenge in the development of a UVMF testbench. I’ve developed separate UVMF testbenches for two modules, Module A and Module B. Each testbench environment consists of two agents: agent_in and agent_out.

Now, I want to verify the two modules together. The goal is as follows:

  1. From the top-level, generate a sequence and send it to the driver in agent_in of Sub-Environment A.
  2. The monitor in agent_out of Sub-Environment A will create output transactions and send them to Sub-Environment B.

The issue I’m encountering lies in how to stimilus module B with output transaction of agent A. Previously, the driver in agent_in of Sub-Environment B received transactions directly from sequences generated at the top level of the testbench. However, now it needs to receive transactions from the analysis export of Sub-Environment A.

I’m unsure how to handle this connection. Specifically, I don’t know how the sequence in Sub-Environment B can get transactions from Sub-Environment A, since a sequence class is not a UVM component and does not have an analysis port.

I’ve uploaded two diagrams to illustrate the setup: one showing Environment B as a standalone testbench and another showing the integrated setup of Environments A and B.
CamScanner 03-29-2025 13.57.pdf (213.1 KB)
CamScanner 03-29-2025 14.02.pdf (202.1 KB)

Could you please help me resolve this issue? Any guidance on how to properly link the two environments would be greatly appreciated.