Re: [sv-bc] Named blocks conflicts with existing identifiers

From: Gordon Vreugdenhil <gordonv_at_.....>
Date: Mon Dec 12 2005 - 10:51:45 PST
Yes - I think that when one can name scopes, the scopes are
treated as implicit hierarchical names in the sense that
they follow the upward resolution rules defined for hierarchical
names.  Similar issues exist for system routines such as $dumpvars
that can name scopes.

Narrowly speaking the grammar now in fact allows simple
identifiers to be "hierarchical_..._identifiers".  This
is likely confusing as it implies that all simple names follow
hierarchical (upwards) resolution rules which is not the
case.

Gord.

Brad Pierce wrote:

> Named blocks and generate blocks are also searched for in the
> instantiation hierarchy.  It's not just tasks and functions.
> 
> "The description in 19.3 is also (mostly) incorrect in that
> it claims that the instance hierarchy is searched.  This is
> not true for simple identifiers; for historical reasons
> task and function calls work in this manner, but other simple
> identifier references do not;"
> 
> -- Brad
> 
> 
> 
> 

-- 
--------------------------------------------------------------------
Gordon Vreugdenhil                                503-685-0808
Model Technology (Mentor Graphics)                gordonv@model.com
Received on Mon Dec 12 10:51:48 2005

This archive was generated by hypermail 2.1.8 : Mon Dec 12 2005 - 10:52:06 PST