Difference

What is the difference between systemtask and systemfunction?

In reply to santosh_1004:

“systemtask” is old terminology from Verilog because functions were required to have return values and at least one argument. Also, functions cannot block and cannot call other tasks. But because all systemtasks do not block, they made a special exception to allow systemtasks in functions.

SystemVerilog added void fuunctions; they should just rename “systemtask” to “systemfunction” See 0002027: calling system tasks from functions - Accellera Mantis