hsi::create_sw_design - 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

Create a software design.

Syntax

create_sw_design -proc <arg> [-app <arg>] [-os <arg>] [-os_ver <arg>] [-quiet] [-verbose] <name>... 

Returns

Software design object. Returns nothing if the command fails.

Usage

Name Description
-proc Processor name
[-app] Application name
[-os] OS name Default: standalone
[-os_ver] OS version
[-quiet] Ignore command errors
[-verbose] Suspend message limits during command execution
<name> Software design name

Categories

Software

Description

Create a new software design module to add to the current session. If successful, this command returns the name of the software design created. Otherwise it returns an error.

Arguments

-proc - The processor instance name targeted for the software design.

-app - The template application name.

-os - (optional) The OS name targeted for the software design. Default value is standalone.

-os_ver - (optional) The OS version targeted for the software design. Default value is the latest OS version.

-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 software design module to create.

Examples

Create a new software design module called sw_design_1 and add the module to the current session:

hsi::create_sw_design sw_design_1 -proc microblaze_0 -os xilkernel
hsi::create_sw_design sw_design_1 -proc microblaze_0 -os xilkernel -os_ver 6.0
hsi::create_sw_design sw_design_1 -proc ps7_cortexa9_0