Workspace Symbols
You can explore all the types like classes, modules, entities, interfaces or structs that are defined in your project using Workspace Symbols. Use the Go to Symbol in Workspace… command and search for an element by name. You can select an entry from the drop-down list in order to jump to its source code.
Note
By default, Workspace Symbols will display 100 items from each category (types, macros, files). To customize this value, use the DVT.workspaceSymbols.maximumNumberOfSymbols preference.
Workspace Symbols supports semantic search, allowing to look for a specific type or file. In order to do this, use the Go to Symbol in Workspace… command and structure your query in the following manner: query_key:filter_name. DVT supports the following query keys:
file
macro
package
scalar_type
sequence
struct
type
unit
Note
The extends:search_pattern query can be used to search for classes which extend other classes that have a name matching the search_pattern.
Note
You can use the type:search_pattern query in order to search for all the types (classes, structs, modules etc.) defined in your project.
Additionally, there are UVM-specific queries that have the following format: uvm_class_name:search_pattern, where uvm_class_name is one of the following:
any_port
any_sequence
any_sequence_driver
any_sequence_item
uvm_agent
uvm_agent_config
uvm_bfm
uvm_collector
uvm_config_params
uvm_driver
uvm_env
uvm_env_config
uvm_mem
uvm_monitor
uvm_reg
uvm_reg_file
uvm_reg_map
uvm_scoreboard
uvm_sequence
uvm_sequence_item
uvm_signal_map
vr_ad_map
vr_ad_mem
vr_ad_reg
vr_ad_reg_file