How to Search for Readers or Writers of a Variable in the DVT Eclipse IDE

Description

This video shows how you can easily see all readers or writers of a variable, signal, port or parameter.

Explore the design and verification tools: https://www.dvteclipse.com
Or request a license: https://www.dvteclipse.com/request-license

Transcript

Viewing All Variable Usages

In DVT, you can easily see all the places where a variable is used. Hold down the Ctrl key, hover the variable name with the mouse cursor, and choose Show Usages. The results are presented in the Search View.

Notice that the search hit icons are decorated according to how the variable is accessed: Read, Write or Read-Write.

Viewing Variable Writers and Readers

To see all the places in code where the variable is written, choose Show Writers.

To see all the places in code where the variable is read, choose Show Readers.

A convenient editor shortcut is Ctrl+F3. Just make sure you've positioned the editor cursor on the variable name.

This functionality is also available for signals, ports or parameters.

Triggering Search from the Context Menu

You can also trigger a search for readers or writers from a view's context menu. For example, the Types View members panel.