# Can I add Delay in System Verilog function?

**URL:** <https://verificationacademy.com/forums/t/can-i-add-delay-in-system-verilog-function/32173>\
**Category:** SystemVerilog\
**Tags:** SystemVerilog, fork-join\_none-multiple-threads, function, task\
**Created:** [August 19, 2016, 11:01am UTC](https://verificationacademy.com/forums/t/can-i-add-delay-in-system-verilog-function/32173 "2016-08-19T11:01:24Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![user49](https://verificationacademy.com/forums/user_avatar/verificationacademy.com/user49/32/4533_2.png) [@user49](https://verificationacademy.com/forums/u/user49)\
**Post date:** [August 20, 2016, 4:59am UTC](https://verificationacademy.com/forums/t/can-i-add-delay-in-system-verilog-function/32173/6 "2016-08-20T04:59:50Z")

</div>

_In reply to [milinraijada](https://verificationacademy.com/forums/t/can-i-add-delay-in-system-verilog-function/32173/5):_  
Sometimes, when in doubt, see what tools give you as a result

> **[EDA Playground](https://www.edaplayground.com/x/2g8V#&togetherjs=ki82TaUC8z)**
>
> Edit, save, simulate, synthesize SystemVerilog, Verilog, VHDL and other HDLs from your web browser.

But, another point, a function is something that happens in zero time, has no delays or current processes. Tasks will do this.  
KISS is a good philosophy!  
:)  
Ben Cohen [SystemVerilog.us](http://SystemVerilog.us)

---

_[View the full topic](https://verificationacademy.com/forums/t/can-i-add-delay-in-system-verilog-function/32173)._
