DVT SystemVerilog IDE User Guide
Rev. 21.1.3, 25 January 2021

7.6 Create Class In New File

An error is triggered when trying to extend a non existing class.

Place the editor cursor on the error's line and press Ctrl + 1, select Create class '...' in new file from the list of quick fix proposals and press Enter.

A wizard will pop up. Fill in the name and the directory path of the new file.

The class is created and the new file opens.

Note: An include statement is added inside the scope of the child class.

Note: If the extended class is parameterizable, the definition is computed accordingly with its value or type parameters.