HI All,
i am trying to define few methods in my base class and wanted to use extern with virtual, however it throws out an error saying invalid syntax.
i want to have ease at looking at the class at the same time have flexibility for derived classes to override the method in base class.
is there any way to do that ?
please let me know.
i am using something like this.
class base extends uvm_test;
extern function do_method (); // this works fine.
extern virtual function do_method( ); // this doesnt work. i would like this one to work somehow.
endclass
function base::do_method( );
…
endfunction