ankurraj Posted July 28, 2021 Report Posted July 28, 2021 Hi, I am working on a UVM testbench. I am getting a hang issue in one of the simulations. I get the following print in the log: "reporter [TEST_DONE] 'run' phase is ready to proceed to the 'extract' phase" Even after this print message, I see that time is still advancing in the test and it is not proceeding to the next phase. My query is - Does this print message not guarantee that all objections are dropped in the test ? What can be the possible reasons that the simulation is not proceeding to the next phase ? Quote
chr_sue Posted July 28, 2021 Report Posted July 28, 2021 The message you are showing indicates only that all run_phases have been completed. It doies not say anything about dropping objections. Where did you insert the objection mechanism? Please show some mor code, especiually from the driver and the monitor. Quote
ankurraj Posted July 28, 2021 Author Report Posted July 28, 2021 If all "run_phases" have completed, doesn't it implicitly imply that all objections are dropped ? What can be causing the simulation to still hang ? The testbench has large number of vendor VIPs/custom drivers and monitors, every component having its own objection mechanism. It is not possible to paste the code here. Quote
tfitz Posted July 28, 2021 Report Posted July 28, 2021 Try using the function void get_objectors( ref uvm_object list[$] ) method to see which component (if any) is still objecting. Although I'm pretty sure that the message you're showing would only print after all objections have been lowered. Quote
PRATEEK SHARMA Posted September 21, 2022 Report Posted September 21, 2022 Run With VERBOSITY=UVM_DEBUG and check for uvm.uvm_sched phases, it must be getting stuck there Quote
Recommended Posts
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.