Re: [sv-bc] RE: [sv-ec] Question about TF arg lifetime

From: Steven Sharp <sharp_at_.....>
Date: Mon Dec 17 2007 - 19:51:40 PST
>From: "Brad Pierce" <Brad.Pierce@synopsys.com>

>Yes, 13.3.1 of the latest draft says --
>
>  "Specific formal arguments and local variables can be declared as
>automatic within a static task or by declaring specific formal arguments
>and local variables as static within an automatic task." 
>
>and there is no way in the tf_port_list BNF to override the lifetime of
>formal arguments of a static subroutine.

Nor do I see any reason why you would want to.  If you want the subroutine
to be re-entrant, you should declare the entire thing to be automatic.
I see no advantage to having a mixture of static and automatic formal
arguments.  We should remove "formal arguments and" in both places in
this sentence.

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 Mon Dec 17 19:52:05 2007

This archive was generated by hypermail 2.1.8 : Mon Dec 17 2007 - 19:52:31 PST