RE: [sv-bc] changing the lifetime of begin end block

From: Rich, Dave <Dave_Rich@mentor.com>
Date: Wed Feb 17 2010 - 08:16:32 PST

You can hierarchical reference a call to an automatic function or task,
it's just that you can't hierarchically reference non-static variables
defined in those procedures. The user should explicitly mark static
variables as static where you intend to use the behavior associated with
static lifetimes. In fact, SV requires that you do this when you have an
declaration initialization

 

From: Bresticker, Shalom [mailto:shalom.bresticker@intel.com]
Sent: Saturday, February 13, 2010 11:00 AM
To: Rich, Dave; J. M. Williams
Cc: sv-bc@eda.org
Subject: RE: [sv-bc] changing the lifetime of begin end block

 

Automatics currently have the limitation that you cannot hierarchically
reference them.

 

Shalom

         

        The intent of having "module automatic" was to change the
default lifetime of all blocks to automatic, to match the behavior of
classes. I can't think of a reason anyone should ever declare a task or
function with a static lifetime ever again.

---------------------------------------------------------------------
Intel Israel (74) Limited
 
This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Wed Feb 17 08:16:56 2010

This archive was generated by hypermail 2.1.8 : Wed Feb 17 2010 - 08:17:14 PST