Jump to content

Calling a task in the Agent from my test hangs the test in UVM


alih

Recommended Posts

Hello,

 

From my test I am calling a task defined in the Agent (env.agent.task_name).
However the test is hanging as the task is not returning the control back to the test.
I have added uvm_message statements in my test before calling the task as well as the next statement after the task call. Similarly I have uvm_message statements in my task including at the last line before endtask.
I can see the UVM message statements before the task is called and the message statements in the task in my log file. However the message statement after the task call in the test is not getting printed and my simulation is not progressing.

 

Is it not possible to call tasks defined in the agents from my test?

 

Thanks for your help.

 

Regards, Ali

 

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.

Guest
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...