Explain the difference between Verilog Task and Verilog Function?

devquora
devquora

Posted On: Feb 22, 2018

 

Difference between Verilog Task and Verilog Function

Verilog TaskVerilog Function
A task can contain time-controlling statements.A function shall execute in one simulation time unit.
A task can enable functions as well as other tasks.A function is not able to enable a task.
A task can be with or without an input argumentA function must have at least one input as an argument.

    Related Questions

    Please Login or Register to leave a response.

    Related Questions

    Electrical Engineering Interview Questions

    Explain what CMOS is and its benefits?

    CMOS stands for Complementary Metal Oxide Semiconductor. Some of its benefits include less power consumption while increasing the noise immunity at the same time. Moreover, you may also expect low amo..

    Electrical Engineering Interview Questions

    Explain What Is Electric Traction? Explain few advantages of Electric Traction System?

    Electrical Traction means the system that uses electrical power for traction system i.e. for railways, trams, trolleys, etc. is called electrical traction...

    Electrical Engineering Interview Questions

    What is phenomenon of Electromagnetic Induction and how it works?

    Electromagnetic Induction is a process whereby the electromotive force is generated. This can be done in two ways. The first one goes by introducing a changing magnetic environment to a conductor wher..