I am working on bring-up of an I2C verification env in UVM for WB2I2C and I2C slave module as Designs under test. The I2C Slave module, which is a part of the DUT and is coded in SV, contains 3 mailboxes for storing write data, read data and write/read address and these mailboxes need to be synchronized with mailboxes/related components in the BFM in UVM env for retrieving the data and forming an I2C packet for broadcast through analysis ports.
I am unable to think of a mechanism for solving the above problem. Can someone please help me with it.
Is it possible to synchronize between mailboxes in a design module and UVM driver/BFM?