RE: [sv-bc] explicit package exports

From: Bresticker, Shalom <shalom.bresticker_at_.....>
Date: Sun Sep 17 2006 - 11:51:16 PDT
Maybe you could, but the advantage of having 'local' also is that it is
much easier to say, 'export everything EXCEPT j".

Shalom

> -----Original Message-----
> From: owner-sv-bc@server.eda.org [mailto:owner-sv-bc@server.eda.org]
On
> Behalf Of Logie Ramachandran
> Sent: Sunday, September 17, 2006 6:56 PM
> To: stuart@sutherland-hdl.com; Gordon Vreugdenhil; Steven Sharp
> Cc: sv-bc@server.eda.org; Brad.Pierce@synopsys.com
> Subject: RE: [sv-bc] explicit package exports
> 
> It may be possible to obtain the intended behavior of local
> using the export construct itself.
> 
> For example
> 
> package P;
>   import Q::*;
>   int i;
>   int j;
>   export  P::i;
>   export  Q::*;
> endpackage
> 
> is equivalent to saying "local int j" in package P;
Received on Sun Sep 17 11:51:24 2006

This archive was generated by hypermail 2.1.8 : Sun Sep 17 2006 - 11:51:39 PDT