hsi::create_node - 2020.2 English

Vitis Unified Software Platform Documentation: Embedded Software Development (UG1400)

Document ID
UG1400
Release Date
2020-12-15
Version
2020.2 English

Description

Add node.

Syntax

create_node [-quiet] [-verbose] <name> <objects> 

Returns

Node object. Returns nothing if the command fails.

Usage

Name Description
[-quiet] Ignore command errors
[-verbose] Suspend message limits during command execution
<name> Child node name
<objects> List of nodes

Categories

Software

Description

Create a new node to list of existing nodes (driver/os/prco/node).

If successful, this command returns the name of the node created. Otherwise it returns an error.

Arguments

-quiet – (optional) Execute the command quietly, returning no messages from the command. The command also returns TCL_OK regardless of any errors encountered during execution.
Note: Any errors encountered on the command line while launching the command are returned. Only errors occurring inside the command are trapped.
-verbose – (optional) Temporarily override any message limits and return all messages from this command.
Note: Message limits can be defined with the set_msg_config command.

<name> - The name of the node to create.

<objects> - List of nodes to which new node is created.

Examples

The following example creates a new node called n1 to the specified driver:

hsi::create_node n1 [get_drivers ps7_uart_1]

The following example creates a new node called n2 to all drivers:

hsi::create_node n2 [get_drivers]