Re: [sv-bc] Query regarding built-in package

From: Arnab Banerjee <arnab_at_.....>
Date: Tue Apr 08 2008 - 04:27:49 PDT
Hi Shalom,

Actually right after the statement /"declarations in the built-in 
package are directly available in any other scope (like system tasks and 
functions)
unless they are redefined by user code."  /in the LRM, the BNF is given. 
I misconstrued this as another way of redefining the items inside std.
Sorry for the confusion. The BNF probably has no connection with the 
preceding statement.

Thanks
Arnab





Bresticker, Shalom wrote:

> I'm not sure what your question is, but the data_type BNF includes
>
> | [ class_scope | package_scope ] type_identifier { packed_dimension }
>
> and there is also this production:
>
> ps_or_hierarchical_tf_identifier ::= [ package_scope ] tf_identifier | 
> hierarchical_tf_identifier
>
> package_scope includes "std::".
>
> Does this help?
>
> Shalom
>
>
>     ------------------------------------------------------------------------
>     *From:* owner-sv-bc@server.eda.org
>     [mailto:owner-sv-bc@server.eda.org] *On Behalf Of *Arnab Banerjee
>     *Sent:* Monday, April 07, 2008 5:08 PM
>     *To:* sv-bc@server.eda.org
>     *Subject:* [sv-bc] Query regarding built-in package
>
>
>
>     Hi,
>
>     In LRM section 8.10.1, there is a statement like
>
>     "/declarations in the built-in package are directly available in
>     any other scope (like system tasks and functions)
>     unless they are redefined by user code.
>
>     built_in_data_type ::= [ std:: ] data_type_identifier
>     built_in_function_call ::= [ std:: ] built_in_identifier"/
>
>
>     I can't really map the verse with the BNF given. The classes
>     inside can std can be written again in source file.
>     In that case /$std::  /can be used to disambiguate. But is it
>     possible to use syntax like above? If yes, what does
>     it semantically mean?
>
>
>     Thanks
>     Arnab
>
>     -- 
>     This message has been scanned for viruses and
>     dangerous content by *MailScanner* <http://www.mailscanner.info/>,
>     and is
>     believed to be clean. 
>
>---------------------------------------------------------------------
>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 Tue Apr 8 04:34:48 2008

This archive was generated by hypermail 2.1.8 : Tue Apr 08 2008 - 04:35:18 PDT