Jump to content

Recommended Posts

Hi UVM Experts,


I am facing some issue with UVM phase. I have registered one sequence to pre_configure phase of one sequencer which is doing some chip configuration.

In my base test pre_configure phaseI am waiting for that configuration to get over usng hierarchy of RTL path signal. RTL takes some time after configuration gets over to toggle the indication of chip ready which i am waiting in base test pre_configure phase. I observe that sequence gets over but immediately test also gets finished even i raised the objection from base test pre_configure phase.


Would you please point me if it is exptected? I think till all raised objections are not lower simulation will not be over. and I want my test to wait once sequence is over and RTL toggles ready signal.


Thanks in advance for your time.





Link to comment
Share on other sites

Hi Mastrick,


Code snap is like below


virtual task pre_configure_phase (uvm_phase phase);
    `uvm_info (get_name(), $psprintf("Executing pre_configure phase of  my_base_test."), UVM_INFO)   

    while ( <hierarchy of rtl path> !== 1'b1 ) begin
    repeat(1)  @ (posedge clock);



    `uvm_info (get_name(), $psprintf(" Done Executing pre_configure phase of  my_base_test."), UVM_INFO)     
  endtask : pre_configure_phase 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...