Verification Hierarchy View

The Verification Hierarchy View presents the unit instance tree.

To open the Verification Hierarchy view use the DVT: Focus on Verification View command. To populate the view, use the DVT: Select Verification Hierarchy Top command or the button in the view header.

../../_images/vscode_e_verification_hierarchy_view.png

You can also position the editor cursor on the name of a unit and use the command DVT: Show Verification Hierarchy. The Verification Hierarchy View opens with the chosen unit set as the top of the hierarchy.

Note

By default, tops are considered all units that instantiate other units and are not themselves instantiated, such as the unit sys. You can specify the list of tops in the project’s build configuration using the directive +dvt_e_vtop+”pkg_name::SUBTYPE unit_name”.

Scroll through the tree of instances using:

  • the mouse scroll wheel

  • the Arrow Up, Arrow Down, PgUp, PgDn keys

  • the vertical button bar on the right side of the tree
    • top-icon go to top of tree

    • up-icon up one page

    • page-up-icon up one element

    • page-down-icon down one element

    • down-icon down one page

    • bottom-icon go to bottom of tree

Double-click an unit or a port to go to its declaration.

Right-click an unit instance to:

  • Show Diagram Generate the UVM Component Diagram of the selected instance. More details UVM Components Diagrams.

  • Copy Hierarchy Path Copy the hierarchical path of the selected instance to clipboard. You can change the segment separator by going to the Settings Page using the Preferences: Open Settings (UI) command and searching for the DVT.views.copyHierarchyPathSegmentSeparator preference.

  • Copy Copy the label text of the selected instance to clipboard.

../../_images/vscode_e_right_click_verification_hierarchy_view.png

Click an instance to see its ports in the lower panel.

Right-click on a port and you have the option to copy its name and the full hierarchy path of the selected port.

You can use the filters to locate a specific instance or port. You may use slash ‘/’ characters to filter hierarchically one level and ‘//’ to filter hierarchically all the levels. You may use the dot ‘.’ character to filter instances that contain a specific port. See Quick Search in Views for more details.

../../_images/vscode_e_filter_verification_hierarchy_view.png