In reply to sri.cvcblr:
Hello,
Hi Desperado,
Virtual methods are an important part of late binding.
I guess your question has 2 parts:
- once a method is declared virtual in the base class, its not necessary to again declare it virtual in the derived class (I hope I am right here)
Yes, that’s how SystemVerilog works - the virtual is “sticky”. We demonstrate that during our advanced SystemVerilog sessions/labs to customers.
Regards
Srini
www.cvcblr.com/blog
Could you please let me know more about “sticky” why the virtual is sticky?