[sv-bc] Calling a virtual method whose body not defined.

From: Surya Pratik Saha <spsaha_at_.....>
Date: Thu Feb 07 2008 - 05:07:36 PST
Hi,
Is it allowed to call a virtual method whose body is not defined, provided the method is declared inside a virtual class. Consider the following e.g:

module top;
    virtual class C;
        extern virtual task indicate(input int x);
    endclass
    C c;
    int full;
    initial begin:b
        c.indicate(1);
    end

endmodule

Where 'indicate' is not defined. Some simulators pass it.
-- 
Regards
Surya

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean. Received on Thu Feb 7 05:08:54 2008

This archive was generated by hypermail 2.1.8 : Thu Feb 07 2008 - 05:10:47 PST