Virtual Interface between Driver ---> DUT and DUT ----> Montor is same or different?

Virtual Interface between Driver —> DUT and DUT ----> Monitor is same or different?

If it is same synchronization will be happened automatically. is it correctly

If virtual interfaces are different then how synchronization will be happened between Driver —> DUT and DUT ----> Monitor

May i know different virtual interface access the Actual interface at the same time?

For one interface, there will be one virtual interface. Driver will drive the transaction to the virtual interface (virtual interface is connected to actual DUT interface in TB top) and monitor will monitor and capture the transaction from the same virtual interface.

In reply to Tanmoy Roy:

Thanks Roy for your reply.

I have one more doubt i.e.

is Monitor captures the transaction from the virtual interface which is going from driver to actual DUT?

In the above case how monitor can monitor the output of actual DUT?

is monitor captures the transaction through virtual interface from DUT after driver drives transactions to actual DUT through virtual interface.

Hi
Driver is driving the transactions as DUT needs to actual DUT interface through the virtual interface. Similarly Monitor also captures the transactions from the actual DUT interface through this virtual interface. virtual interface is connected to DUT actual interface in the TB top. As we are using these interface signals inside our UVM components (driver, monitor,sequencer),that’s why virtual interface is created.
For the output of DUT, there will be actual output interface, and there we need to declare one virtual inerface for that output interface and then Monitor will monitor or capture transaction from that virtual output interface.

suppose we want to monitor the transactions which has been driven by the driver to the DUT interface through virtaul interface, that time Monitor and Driver both will work on the virtual interface.
Ex. suppose driver is sending data_valid and data to the DUT and we want to monitor what data is going to DUT, then in Monitor we will capture the data from the virtual interface based upon the data_valid of virtual interface.