Reputation: 79
I have simple main_phase as:
virtual task main_phase(uvm_phase phase);
super.main_phase(phase);
phase.raise_objection( this );
#2us;
phase.drop_objection( this );
endtask : main_phase
This test will timeout, but if i comment out raise_objection and drop_objection test will finish properly, with out executing #2us obviously.
Based on debugging it seems that drop_objection do not trigger m_events[].all_dropped which require for phase to complete. Reason is in side m_evens uvm_root object but drop_objection trys for test object, so it miss-matched.
Any suggestion what may be wrong? I am using UVM-1.2 Thanks,
Upvotes: 0
Views: 1200
Reputation: 79
Thanks for suggestion. Here is what turns to be a problem. Recently some one added to base test drain time. My test very short one so i added short time out at command line. I wish that generated error was more descriptive. I found this by running small test and in UVM phase execution last thing was drain time as expected. Albert,
Upvotes: 1