I wonder if it is legal to define variable based on class type nested in other module - example: module top; class C; int i; endclass endmodule module tb; top.C c=new; //1 declaration of C type object via '.' //vs top::C c=new; //2 declaration of C type object via '::' endmodule 2nd is imho explicitly forbidden by LRM because :: can be used only on class packages. but what about 1st case? is it legal? DANiel -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.Received on Thu Oct 11 04:46:16 2007
This archive was generated by hypermail 2.1.8 : Thu Oct 11 2007 - 04:46:51 PDT