It is not even clear from the LRM that it is legal to instantiate a nested module from a scope which is lexically nested within the scope where the nested module is declared. I don't object to it, but the LRM does not make it clear that it is allowed. Shalom > I am not convinced that it does. Looking at IEEE Std > 1800-2005 19.6, it says that "The outer name space is visible > to the inner module so that any name declared there can be > used, unless hidden by a local name, provided the module is > declared and instantiated in the same scope." > > Notice that last requirement. It is not met in your example. > > The LRM does not say how it is supposed to behave if the > module is not declared and instantiated in the same scope. --------------------------------------------------------------------- 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 Mon Dec 3 19:28:12 2007
This archive was generated by hypermail 2.1.8 : Mon Dec 03 2007 - 19:28:34 PST