LRM is not explicit about creating an object in constant funcion call - should it be allowed? Should it be forbidden - see below example: module top; parameter p=10; int j; class C; int i; function new; $display("constructor"); endfunction endclass function int f7(int i); C c = new; return i; endfunction reg [f7(10):0] r7; endmodule DANiel -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.Received on Thu Mar 19 01:56:17 2009
This archive was generated by hypermail 2.1.8 : Thu Mar 19 2009 - 01:57:17 PDT