DVT SystemVerilog IDE User Guide
Rev. 24.2.25, 31 October 2024

15.4 Override Using the Dialog

To override an inherited function or task, in the Editor, right click inside a class body > Source > Override Methods to open the override methods dialog. Alternatively you can hit Ctrl + Space in the Editor and select Open Override Methods

Select the functions/tasks you want to override and press OK.

The empty body of the overridden functions or tasks will be placed inside the class body at the cursor position:

Select "Insert as extern prototype and implementation" to insert the overridden methods extern prototype at the cursor position and the implementation outside the class body.

Tip: You can change the method signature by editing the Method_Code_Templates