RE: [sv-bc] Query related with export statement inside the package.

From: Bresticker, Shalom <shalom.bresticker_at_.....>
Date: Tue Sep 15 2009 - 12:51:55 PDT
I did not notice the self-reference.

Package self-referencing is the subject of Mantis 1546.

Shalom 

> -----Original Message-----
> From: Rich, Dave [mailto:Dave_Rich@mentor.com] 
> Sent: Tuesday, September 15, 2009 8:00 PM
> To: Bresticker, Shalom; Dhiraj Kumar Prasad; sv-bc@server.eda.org
> Subject: RE: [sv-bc] Query related with export statement 
> inside the package.
> 
> It does not make sense to me. 
> 
> You are trying to export a package that 
> 	a) you have not (or will not) import. You can only export
> symbols that have been imported
>       b) has not been defined yet. You can only reference 
> packages that
> have been defined prior.
> 
> Dave
> 
> 
> > -----Original Message-----
> > From: owner-sv-bc@server.eda.org [mailto:owner-sv-bc@server.eda.org]
> On
> > Behalf Of Bresticker, Shalom
> > Sent: Tuesday, September 15, 2009 1:11 AM
> > To: Dhiraj Kumar Prasad; sv-bc@server.eda.org
> > Subject: RE: [sv-bc] Query related with export statement inside the
> package.
> > 
> > I don't see a reason it should be illegal.
> > It would be reasonable for a tool to allow an optional 
> warning in this
> case.
> > 
> > Shalom
> > 
> > > -----Original Message-----
> > > From: owner-sv-bc@server.eda.org
> > > [mailto:owner-sv-bc@server.eda.org] On Behalf Of Dhiraj 
> Kumar Prasad
> > > Sent: Tuesday, September 15, 2009 10:09 AM
> > > To: sv-bc@server.eda.org
> > > Cc: Dhiraj Kumar Prasad
> > > Subject: [sv-bc] Query related with export statement inside
> > > the package.
> > >
> > > Hi,
> > >
> > > Is the following testcase is legal ?
> > >
> > > package p;
> > >     export p::*;
> > > endpackage
> > >
> > > module tmp;
> > > endmodule
> > >
> > > As some of the standard tool's are showing error for this.LRM
> section
> > > 26.6,don't say anything
> > > about the behavior when there is nothing to export.
> > >
> > > Regards,
> > > dhiRAj
> > 
> ---------------------------------------------------------------------
> > 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.
> > 
> 
> 
---------------------------------------------------------------------
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 Tue Sep 15 12:52:48 2009

This archive was generated by hypermail 2.1.8 : Tue Sep 15 2009 - 12:53:37 PDT