# Hierachical task call in uvm environment

**URL:** <https://verificationacademy.com/forums/t/hierachical-task-call-in-uvm-environment/31904>\
**Category:** UVM\
**Tags:** UVM, hierarchical-task-call\
**Created:** [June 6, 2016, 11:26am UTC](https://verificationacademy.com/forums/t/hierachical-task-call-in-uvm-environment/31904 "2016-06-06T11:26:20Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![dipling](https://verificationacademy.com/forums/letter_avatar_proxy/v4/letter/d/c5a1d2/32.png) [@dipling](https://verificationacademy.com/forums/u/dipling)\
**Post date:** [June 6, 2016, 1:32pm UTC](https://verificationacademy.com/forums/t/hierachical-task-call-in-uvm-environment/31904/3 "2016-06-06T13:32:10Z")

</div>

_In reply to [chr\_sue](https://verificationacademy.com/forums/t/hierachical-task-call-in-uvm-environment/31904/2):_

> _In reply to [dipling](https://verificationacademy.com/forums/t/hierachical-task-call-in-uvm-environment/31904/2):_  
> 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.

---

_[View the full topic](https://verificationacademy.com/forums/t/hierachical-task-call-in-uvm-environment/31904)._
