Need suggestion on how to share data between Driver and Scoreboard

I’m trying to build a scoreboard where i can compare the original data packet with the data packet collected from the DUT in the scoreboard.
My question is how can establish a communication link between the driver and scoreboard .so that scoreboard can compare the original data packet(sent by the driver) with the data packet collected by the monitor from the DUT ?

thanks

In reply to SupposedRobin70:

There should never be a link between the driver and the scoreboard, nor should there be any reason to compare a transaction from the driver with a transaction from the scoreboard. By construction, the driver should send the transaction received from the driver correctly.

You should explain why you desire to compare the same transactions.

In reply to cgales:

Lets say, i have a simple ALU as DUT.The driver sends opcode+(rand)'operands(ex: ADD,6,5) the monitor captures the incorrect DUT response(say result = 8).I am looking for a way to send the opcode+operands(ex: ADD,6,5) from the driver to the scoreboard so that i can implement a checking logic in the scoreboard say “if((drv.op1+drv.op2) != mon(res)) `uvm_error”.

Can i build another uvm_component with a analyis_fifo to act as the link between driver and scoreboard ?

In reply to SupposedRobin70:

As I stated in my earlier response, you can get everything you need from the monitor transaction(s). The monitor will provide the opcode, the two operands and the DUT response. You can then check in the scoreboard that everything is correct.