[sv-bc] Class constructor with non-ANSI style port

From: Surya Pratik Saha <spsaha_at_.....>
Date: Sat Apr 25 2009 - 04:10:54 PDT
Hi,
Current BNF does not allow non-ANSI style port declaration inside class 
constructor.
Is there any reason not to allow it. For the following e.g.

module top;
    class C;
        int x;
        function new;
            input y;
            int y;
            x = y;
        endfunction
    endclass
    C x = new(1);
endmodule

Different simulators behave differently (some pass, some fail).

-- 
Regards
Surya




-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Sat Apr 25 04:14:19 2009

This archive was generated by hypermail 2.1.8 : Sat Apr 25 2009 - 04:15:07 PDT