I use uvm-1.0p1
In my driver I use try_next_item. As per the usage I also used item_done after it.
//check if request is available
//if not available
if (req == null )
else //drive value
//set item_done to close loop
But during simulation I get below error -
[uvm_test_top....sequencer] Item_done() called with no outstanding requests. Each call to item_done() must be paired with a previous call to get_next_item().
so I removed the item_done().
With this I see that the try_next_item() is blocking. It does not work the way it is mentioned.
I see that there was an issue like this before which was fixed in 1.0.
Can anybody help me?