# Control sequences & tasks/functions using virtual sequences

**URL:** <https://verificationacademy.com/forums/t/control-sequences-tasks-functions-using-virtual-sequences/37037>\
**Category:** UVM\
**Tags:** UVM, UVM-virtual\_sequences\
**Created:** [January 17, 2020, 11:16am UTC](https://verificationacademy.com/forums/t/control-sequences-tasks-functions-using-virtual-sequences/37037 "2020-01-17T11:16:37Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![AlanJoy](https://verificationacademy.com/forums/letter_avatar_proxy/v4/letter/a/3da27b/32.png) [@AlanJoy](https://verificationacademy.com/forums/u/AlanJoy)\
**Post date:** [January 18, 2020, 8:17am UTC](https://verificationacademy.com/forums/t/control-sequences-tasks-functions-using-virtual-sequences/37037/3 "2020-01-18T08:17:35Z")

</div>

_In reply to [chr\_sue](https://verificationacademy.com/forums/t/control-sequences-tasks-functions-using-virtual-sequences/37037/2):_

> _In reply to [Alan1990](https://verificationacademy.com/forums/t/control-sequences-tasks-functions-using-virtual-sequences/37037/2):_  
> It is a little bit confusing what you are asking.  
> Virtual sequences are a proper means to control the execution of agent’s sequences. I believe this is what you mean in your first sentence.  
> But I do onot understand the remaining part of your question. Virtual sequences can start only other sequences. You might run more than 1 virtual sequence. But virtual sequences cannot be used to call tasks or functions. But you can call tasks and functions in the body method of your sequence.

Thanks chr\_sue.  
We are planing to have tasks/functions to backdoor accessing memories as well as C tasks to be imported by DPI for configuration. Other than using sequences , is there any way to control these from virtual sequences ?

---

_[View the full topic](https://verificationacademy.com/forums/t/control-sequences-tasks-functions-using-virtual-sequences/37037)._
