RE: [sv-bc] Function return values

From: Bresticker, Shalom <shalom.bresticker_at_.....>
Date: Fri Mar 02 2007 - 06:40:06 PST
On the other hand, statics have the advantage of being able, for
example, to maintain a counter of how many times the routine was called
(just an example). Currently, automatics also have the major
disadvantage of not being able to dump them to VCD, display their value
hierarchically, etc. How about solving that problem?

Shalom


> It too bad we can't switch the default lifetime to automatic. I've
seen
> countless experienced Verilog users get burned by multiple threads
> executing the same static task and having their static arguments
> clobbered. I hope that people are teaching users to avoid static tasks
> and functions and always make them automatic.

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Fri Mar 2 06:42:47 2007

This archive was generated by hypermail 2.1.8 : Fri Mar 02 2007 - 06:43:23 PST