# Implementing tasks inside the bus interface (BFM Tasks)

**URL:** <https://verificationacademy.com/forums/t/implementing-tasks-inside-the-bus-interface-bfm-tasks/32060>\
**Category:** UVM\
**Tags:** BFM-tasks, Bus-interface, UVM\
**Created:** [July 20, 2016, 6:27pm UTC](https://verificationacademy.com/forums/t/implementing-tasks-inside-the-bus-interface-bfm-tasks/32060 "2016-07-20T18:27:42Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![mayurkubavat](https://verificationacademy.com/forums/letter_avatar_proxy/v4/letter/m/a9a28c/32.png) [@mayurkubavat](https://verificationacademy.com/forums/u/mayurkubavat)\
**Post date:** [July 21, 2016, 8:35am UTC](https://verificationacademy.com/forums/t/implementing-tasks-inside-the-bus-interface-bfm-tasks/32060/2 "2016-07-21T08:35:34Z")

</div>

I can think of cons here -

1. As interface is module, your tasks/functions will be static in nature. Whereas using task/function in Driver is dynamic and memory allocation for these are in run-time.

2. To make use of other concepts like callback(Injecting Errors), polymorphism(Extending functionality) etc. you’ll need Driver implementation for task/function.

Basically whatever advantages can be achieved from OOPs might not be applicable if you are going for ‘Interface’ implementation for tasks.

---

_[View the full topic](https://verificationacademy.com/forums/t/implementing-tasks-inside-the-bus-interface-bfm-tasks/32060)._
