Getting same item from analysis fifo, even though monitor writes only once

In reply to dave_59:

Hi Dave,

I found out the issue. socreboard is getting item only once. But the uvm_info is getting printed two times. May i know how to solve this.

task PsRamSco::psram_rcv();
PsramTrns psram_item_h;
forever begin
uvm_info(get_full_name(),$psprintf("Size of fifo is-1 : %0d",f_mon_analysis_exp.size()),UVM_LOW) f_mon_analysis_exp.get(psram_item_h); $display("JUST CHECKING"); uvm_info(get_full_name(),$psprintf(“Size of fifo is-2 : %0d”,f_mon_analysis_exp.size()),UVM_LOW)
`uvm_info(get_full_name(),$psprintf(" GOT PSRAM ITEM : %0s",psram_item_h.sprint()),UVM_LOW)
if(psram_item_h.is_sync_wr()) begin
processSyncWr(psram_item_h);
end

JUST CHECKING
UVM_INFO …/PSRAMTBsrc/PsRamSco.sv(351) @ 153135000 ps: uvm_test_top.env.sb [uvm_test_top.env.sb] Size of fifo is-2 : 0
UVM_INFO …/PSRAMTBsrc/PsRamSco.sv(351) @ 153135000 ps: uvm_test_top.env.sb [uvm_test_top.env.sb] Size of fifo is-2 : 0