[sv-bc] RE: [sv-ec] Query Related to package instantiation

From: Bresticker, Shalom <shalom.bresticker_at_.....>
Date: Wed Jul 25 2007 - 09:16:56 PDT
And if the two are in the same file?

Shalom
 

> -----Original Message-----
> From: owner-sv-ec@server.eda.org 
> [mailto:owner-sv-ec@server.eda.org] On Behalf Of Gordon Vreugdenhil
> Sent: Wednesday, July 25, 2007 5:09 PM
> To: Moumita
> Cc: sv-bc; sv-ec; sv-ac
> Subject: Re: [sv-ec] Query Related to package instantiation
> 
> 
> This would be valid at compile time since the system could 
> not guarantee that the user would not subsequently compile 
> "bottom" as a module and there is no requirement that 
> *modules* exist at compile time.
> 
> However, if this is the entire design, it should produce 
> errors on elaboration.
> 
> Gord.
> 
> 
> Moumita wrote:
> > Hello,
> > 
> > Accroding to LRM package can not be instantiated but most of the 
> > simulator passing package instantiation.
> > 
> > So plesae let me know whether following testcase is  valid or not?
> > 
> > Example::
> > 
> > package bottom;
> > endpackage
> > 
> > module top;
> > bottom M1(); // package  instantiation  is correct ?
> > endmodule
> > 
> > Thanks ,
> > 
> > Moumita
> > 
> > 
> > 
> 
> --
> --------------------------------------------------------------------
> Gordon Vreugdenhil                                503-685-0808
> Model Technology (Mentor Graphics)                gordonv@model.com
> 
> 
> -- 
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
> 

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Wed Jul 25 09:17:21 2007

This archive was generated by hypermail 2.1.8 : Wed Jul 25 2007 - 09:17:50 PDT