Re: errata/255: clarify explicitly whether a module may instantiate itself

From: Steven Sharp (sharp@cadence.com)
Date: Sat May 03 2003 - 11:50:07 PDT

  • Next message: Steven Sharp: "Re: errata/257: Should white space be allowed in hierarchical references?"

    Precedence: bulk

    The following reply was made to PR errata/255; it has been noted by GNATS.

    From: Steven Sharp <sharp@cadence.com>
    To: etf-bugs@boyd.com, Brad.Pierce@synopsys.com
    Cc:
    Subject: Re: errata/255: clarify explicitly whether a module may instantiate itself
    Date: Sat, 3 May 2003 14:42:46 -0400 (EDT)

    > This issue asks --
    >
    > "Can a module instantiate itself"
    >
    > No, but using generate and a parameterized module, a structurally recursive
    > chain of module instantiations can be declared. Paul Graham gives a good
    > explanation and example in
     
     I don't understand why you are saying "No", and following it by a more complex
     way of saying "Yes".
     
     Unless you are interpreting "itself" to mean "the same instance as itself",
     which is of course impossible. Different instantiations of the same module
     always correspond to different instances. I think most people understand
     that this question means "Can a module definition contain an instantiation of
     an instance of this same module definition?" This should be OK as long as
     the user avoids infinite recursion by the use of one of the mechanisms that
     Shalom describes.
     
     Steven Sharp
     sharp@cadence.com
     



    This archive was generated by hypermail 2.1.4 : Sat May 03 2003 - 11:51:02 PDT and
    sponsored by Boyd Technology, Inc.