I believe this was an oversight when package import was added to the
module header. They should match.
> -----Original Message-----
> From: owner-sv-bc@eda.org [mailto:owner-sv-bc@eda.org] On Behalf Of
> Dhiraj Kumar Prasad
> Sent: Friday, June 25, 2010 4:32 AM
> To: sv-bc@server.eda.org
> Cc: Surya Pratik Saha; Dhiraj Kumar Prasad
> Subject: [sv-bc] Query related with package import in extern module
> declaration.
>
> Hello,
>
> I have a query regarding package import in extern module declaration.
>
> Consider the following testcase
> ----------------------------------------
>
> package pack1;
> parameter p1 = 10;
> parameter p2 = 20;
> endpackage
>
> extern module mod1 import pack1::p1;(out1, out2);
>
> module mod1 import pack1::p2;(out1, out2);
> output int out1;
> output int out2;
>
> initial
> begin
> out1 = p1;
> out2 = p2;
> end
> endmodule
>
> Both package items p1 and p2 should be visible ?? AS LRM say only
about
> parameter and port list and said nothing
> about the package import.
>
> Regards,
> dhiRAj
>
>
>
>
>
> --
> 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 Fri Jun 25 08:13:22 2010
This archive was generated by hypermail 2.1.8 : Fri Jun 25 2010 - 08:16:11 PDT