Hierachical task call in uvm environment

In reply to chr_sue:

In reply to dipling:
The question is why are you defining a task you need in sequence somewhere else?
If this is common task you can define it in a package. You can import it in any place where ou need this task.

  1. It’s code refactoring. I’d love to change it all, but there are too many dependencies at this point in time. But eventually I’ll do it in a clean way.
  2. This task is doing among other things a tlm_fifo.get(), so it must run at a certain hierarchy.