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

27.14 Split to Extern and Implementation

It is convenient to move method implementations outside the body of the class declaration.

Place the cursor on the function declaration and press Ctrl+1, select Split ... into extern prototype and implementation from the list of quick assist proposals and press Enter.

The declaration is replaced with the 'extern' function prototype, and the implementation is inserted after endclass.

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

Tip: You can also right-click in the editor and go to Refactor > Split to extern and implementation.