Comparison at scoreboard?

In reply to chr_sue:

sir, if i use uvm_tlm_analysis_fifo in scoreboard it just gets the transactions from the fifo (it has inbuilt write method and analysis_imp)right?? In monitor i have used analysis port with write method(so here all the transactions received from virtual interface are broadcasted using analysis_port) So these are expected values right?? (…i have done till here…)

To get reference values do i need to instantiate my dut_seq_item trans in scoreboard (trans is handle/variable)??? And how should i compare with this reference model values with expected values ??(using compare method)…