數字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), 可以有延時
相關文章
相關標籤/搜索