Jump to content

Accessing sequencer methods from virtual sequence using p_sequencer


Recommended Posts

Within a virtual sequence running on a virtual sequencer I try to get data from a uvm_tlm_analysis_fifo that is created in the virtual sequencer.

However calling the blocking get of the FIFO through the p_sequencer directly:

p_sequencer.fifo.get(tr);

or through a member task that is declared in the virtual sequencer:

p_sequencer.get_tr(tr)

is working correctly. Basically, the blocking get() never returns a value. The fifo is connected correctly and I was able to call fifo.get() directly in the virtual sequencer e.g. by calling fifo.get() in run_phase().

What's wrong?

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.

 Share

×
×
  • Create New...