How to compare two different transaction in scoreboard

explanation…
In scoreboard i used fork and join_any to get the two different transaction… I am getting the transaction in different time so i am not able to compare those transaction so pls help me to solve this …

Take a look at the source code for the uvm_in_order_comparator. You should be using a combination of uvm_analysis_export and uvm_tlm_analysis_fifo to capture all of your transactions so you don’t have to use a fork/join.

If you have a different requirement, you should post your needs along with the code you have written.