Get a list of DT node objects.
get_dt_nodes [-hier] [-regexp] [-filter <arg>] [-of_objects <args>] [-quiet] [-verbose] [<patterns>...]
Node objects. Returns nothing if the command fails.
||List of nodes in the current tree.|
||Patterns are full regular expressions|
||Filter list with expression|
||Get '' objects of these types: 'dtsNode dtsTree'.|
||Ignore command errors|
||Suspend message limits during command execution|
|[<patterns>]||Match cell names against patterns Default: *|
Gets a list of DT nodes created under a DT tree in the current HSI session that match a specified search pattern. The default command gets a list of all root DT nodes in the current DT tree.
-of_objects <arg> - (optional)
Gets all nodes of DTSNode and DTSTree
-of_objectsoption requires objects to be specified using the
get_*commands, such as
get_dt_trees, rather than specifying objects by name. In addition,
-of_objectscannot be used with a search <pattern>.
-regexp– (optional) Specifies that the search <patterns> are written as regular expressions. Both search <patterns> and
-filterexpressions must be written as regular expressions when this argument is used. Xilinx regular expression Tcl commands are always anchored to the start of the search string. You can add
.*to the beginning or end of a search string to widen the search to include a substring. See this web page for help with regular expression syntax.
regexpis not anchored, and works as a standard Tcl command. For more information, refer to this web page.
-filter <args> – (optional) Filter the
results list with the specified expression. The
argument filters the list of objects returned based on property values on
the objects. You can find the properties on an object with the
-quiet– (optional) Execute the command quietly, returning no messages from the command. The command also returns
TCL_OKregardless of any errors encountered during execution.
-verbose– (optional) Temporarily override any message limits and return all messages from this command.
<patterns> - (optional) Match nodes against the specified patterns. The default pattern is the wildcard `*` which gets a list of all root nodes in the current DT tree. More than one pattern can be specified to find multiple nodes based on different search criteria.
The following example gets a list of root nodes attached to the specified DT tree:
hsi::get_dt_nodes -of_objects [lindex [get_dt_trees] 1]
The following example gets a list of all nodes in the current DT tree:
The following example gets a list of nodes created under a root node:
hsi::get_dt_nodes -of_objects [current_dt_tree]