DVT SystemVerilog IDE User Guide
Rev. 19.1.6, 22 March 2019

39.10.6 Call Hierarchy View

The Call Hierarchy view presents the call tree of a function or task.

Place the editor cursor on a function or task, right-click, and choose Show > Call Hierarchy, or press Ctrl + Alt + H.

The view shows method calls in the selected function or task. You can expand nodes in the tree to further inspect the hierarchy.

Note: Conditional ( if / case) and fork blocks are also shown. You can hide them using the Filters... toolbar button.

Note: To show labeled blocks in the view use the Filters... toolbar button.

Note: When calling a virtual method on a base class handle, any of the child overrides of that method may be executed, depending on the runtime object type. In addition to the method call, you may choose to see all child overrides of the called method, using the Filters... toolbar button.

Tip: Double click on any node to jump to the method call.

Tip: Use Up and Down arrow keys to navigate the view, Left to collapse and Right to expand.

Tip: Right-click on a node to:

  • Remove from View Remove selected node from the tree.

  • Expand Children Expand all children of the selected node.

  • Expand Multiple Levels Expand a custom number of levels from the selected node.

  • Go to First Call Jump to the first call of a recurrent method call.

  • Go to Declaration Jump to the declaration of the selected method.

Toolbar

Refresh View Recompute the call tree if dirty (see below).
Link with editor Link tree selection with editor.
Filters Hide conditional, fork or override nodes. Changing filters requires refresh (see below).
Prepend Package Name Show package name in labels.
Expand Multiple Levels Expand a custom number of levels.

Icons

Conditional block ( if / case)
fork block
Function call
Predefined function call
Static function call
Function override
Task call
Static task call
Task override
Constructor call
Predefined constructor call
Let call
Macro call
Recurrent method call
Call to undeclared method
Labeled block

Refresh

The Call Hierarchy view is not automatically updated at incremental build or when modifying filters.

When you decide it's time to recompute the view contents, simply click the Refresh toolbar button.

Note: Refresh may not retain the state of the method call tree.