>Since functions are not allowed to call tasks, how can a function >contain a call to $display? Functions are not allowed to delay. Functions are not allowed to call tasks because a task could delay, indirectly delaying the function. System tasks cannot delay, so there is no problem with allowing functions to call them. In SV terms, all system tasks are essentially void functions. >What types of built-in system tasks are functions allowed to call? I am not aware of any built-in system task that can delay, so I don't think there is any restriction. I don't think there is a way for a user-defined system task to delay either, so I don't think there is any need for a restriction there either. I think this restriction is a case where "task" means "task", not "task or system task." Steven Sharp sharp@cadence.com -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.Received on Fri Sep 7 22:27:08 2007
This archive was generated by hypermail 2.1.8 : Fri Sep 07 2007 - 22:27:39 PDT