[sv-bc] Nested module questions

From: Bresticker, Shalom <shalom.bresticker_at_.....>
Date: Thu Jul 27 2006 - 06:52:43 PDT
  

Two questions about nested modules:

 

1.    Can a nested module be explicitly instantiated with the same name
as the module name? The question is because on the face of it, the
nested module name is being defined in the same name space as the
instance name. 

 

2.    Can a nested module be instantiated before its definition?

 

3. 19.6 says at the end that a nested module with no ports that is not
explicitly instantiated is implicitly instantiated once. The question
is, where does this explicit instantiation have to take place? Suppose I
have

module m1;

module nested1;

nested2 n2;

endmodule

 

module nested2;

endmodule

endmodule

Is this considered an explicit instantiation of nested2 or not, because
it is instantiated in nested1, not in m1?

 

Thanks,

Shalom

 

Shalom Bresticker

Intel Jerusalem LAD DA

+972 2 589-6852

+972 54 721-1033

I don't represent Intel 

 



image001.gif
Received on Thu Jul 27 06:53:21 2006

This archive was generated by hypermail 2.1.8 : Thu Jul 27 2006 - 06:53:55 PDT