DVT SystemVerilog IDE User Guide
Rev. 23.2.28, 28 November 2023
An error is triggered when calling a method which does not exist.
Place the editor cursor on the error's line and press Ctrl + 1, select Declare function ... or Declare task ... from the list of quick fix proposals and press Enter.
The method stub declaration is inserted in the appropriate scope.
Note: The method signature (return type, argument names and types) is automatically detected from context.
Note: The implementation stub contains a TODO reminder which shows up the Tasks View. See Track Tasks using TODO Markers.
Tip: You may change the function's return type, as well as the name and type of each argument. Press Tab key to switch between the edit boxes, and Enter when done.
Tip: You can change the method signature by editing the Method_Code_Templates