数字IC必修之Verilog知识点——Task和Function,System Task(系统函数), System Function, Verilog-2001

task和function task 和 function 的声明在module内部,且不需要先于调用之前。 task:只能在procedural 内部调用,task的调用方式是statement本身,而不是表达式。 function:可以在module的任何地方调用,是作为一种operands来使用。 task task可以有0个或多个argument(即input output), 可以有延时
相关文章
相关标签/搜索