[sv-bc] RE: Ballot issue 9 / Mantis 2663 - hierarchical names in compilation unit contexts

From: Francoise Martinolle <fm_at_.....>
Date: Mon May 04 2009 - 17:16:46 PDT
 
Gordon,

I have a hard time understanding the essense of the rule " when it is
not in a design element".
What is a design element? Everything is a design element. Is this a new
term that you define?
Is a module a design element?

Francoise
    '

-----Original Message-----
From: Gordon Vreugdenhil [mailto:gordonv@model.com] 
Sent: Monday, May 04, 2009 5:52 PM
To: SV_BC List
Subject: Ballot issue 9 / Mantis 2663 - hierarchical names in
compilation unit contexts


I haven't seen any responses regarding Mantis 2663 on the reflector.
This is regarding whether hierarchical names are legal in a compilation
unit.

I would propose to change step (4) in 23.7 as follows:

FROM
    4) The name is not found. The dotted name shall be considered
    to be a hierarchical name.

TO
    4) The name is not found.  If the dotted name is not within a
    design element, the dotted name shall then be considered to
    be a hierarchical name with an additional $root prefix.  If
    the name is within a design element, the dotted name shall be
    considered to be a hierarchical name.

I think this captures the consensus of the discussion when this came up
in the meetings.

Explanation -- the "not within a design element" means that you only
apply this rule for names in tasks, functions, bind statements, and the
like within the compilation unit.  You do NOT apply this rule for
modules, interfaces, programs, configurations, packages, etc.  Packages
have a separate rule for disallowing hierarchical names and that is not
weakened by this additional statement.


If there is general agreement on this, I'll formalize it and attach it
to mantis 2663.

Gord.
--
--------------------------------------------------------------------
Gordon Vreugdenhil                                503-685-0808
Model Technology (Mentor Graphics)                gordonv@model.com



-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Mon May 4 17:17:49 2009

This archive was generated by hypermail 2.1.8 : Mon May 04 2009 - 17:18:47 PDT