Re: [sv-bc] Nested module questions

From: Steven Sharp <sharp_at_.....>
Date: Thu Jul 27 2006 - 12:47:02 PDT
>From: "Brad Pierce" <Brad.Pierce@synopsys.com>

>Unlike type names, interface names can apparently be referred to in a
>module declaration before the interface is declared, even though they
>are being used there like type names.

(And this causes a number of awkward implementation issues.)

But ultimately an interface is just a special kind of module, so it is
not surprising that a reference to an interface in the global name space
works like a reference to a module in the global name space.  You are
right that a reference in a port list is more like a type reference than
it is like an instantiation.  But trying to use different name resolution
rules for interface names in port lists and instantiations might be
confusing.

Steven Sharp
sharp@cadence.com
Received on Thu Jul 27 12:47:08 2006

This archive was generated by hypermail 2.1.8 : Thu Jul 27 2006 - 12:47:14 PDT