How to compare the data between two uvm_tlm_analysis_fifo in scoreboard?

In reply to Subhra Bera:
I would extend the scoreboard from uvm_subscriber and instantiate in this class a uvm_tlm_analysis_fifo.
The Analysis fifo gets ist data from the write side and the Analysis_export of the uvm_subscriber is used to consider the read data. If the first rd_data is available the first wr data from the Analysis fifo will be retrieved.