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

From: Gordon Vreugdenhil <gordonv_at_.....>
Date: Wed Jul 25 2007 - 07:09:10 PDT
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.
Received on Wed Jul 25 07:09:25 2007

This archive was generated by hypermail 2.1.8 : Wed Jul 25 2007 - 07:09:37 PDT