Definition of function and task (systemverilog)

There are two methods defined in sv's class:.function and task.Below are descriptions of their features and ways of declaring them, as well as their similarities and differences. 1. function Features of 1.1 function function cannot have built-in time-consuming statements, which are returned immediately upon invocation, i.e. do not consum ...

Posted by argoSquirrel on Fri, 03 Sep 2021 18:38:19 -0700