In reply to possible:
I have a monitor and a scoreboard connected through uvm_analysis_port/imp. I am sampling some values in the monitor and using the write function to transport those to the scoreboard. The scoreboard is also getting those values as reflected in the info statement and putting it in a queue. However, when I am reading the queue in check_phase, all the entries in the queue have the same value equal to the last value written in the queue. please help debug.
Please reply if you need the complete code to help debug.
Additionally what Dave is saying you are wasting your computer resources using a queue instead of an uvm_analysis_fifo and doing the compares after the run_phase instead of doing them on the fly.
Assume you have only 100 seq_items with maybe 10 data members this needs a lot of memory space. When using the fifo and checking on the fly you do not need so much spce. This will result in a faster simulation run.