Hi all,
I am learning uvm
As we know in uvm runtest methods starts the phases execution.
but I have a question that when run phase in monitor and driver exits which has forever loop.
Thank you
Hi all,
I am learning uvm
As we know in uvm runtest methods starts the phases execution.
but I have a question that when run phase in monitor and driver exits which has forever loop.
Thank you
In reply to Aajay:
After the last objection dropped in Test Environment, Test environment wait for set drain time to expire, Then its called the $finish function which kills other forever running task during the simulation. Driver / Monitor / Subscriber, all of them uses the forever loop.
In reply to kddholak:
Thank you.
What happens if we run default sequence using uvm config bd there we dont raise any objection?
I believe raising objections explicitly is not needed if we run default sequence.
Correct me if i am wrong.
Thank you
In reply to Aajay:
If you do not have any objection mechanism in your UVM testbench the test will stuck at runtime 0.
In your scenario you could have the obejctions in the driver or your sequence.
But note using the default sequence approach is inheriting from the OVM and it is not recommended to use it.