Description
Set or get current software design.
Syntax
current_sw_design [-quiet] [-verbose] [<design>]
Returns
Software design object, "" if failed.
Usage
Name | Description |
---|---|
[-quiet ] |
Ignore command errors |
[-verbose ] |
Suspend message limits during command execution |
[<design>] | design to be set |
Categories
Software
Description
Sets the current software design for use with the Hardware Software Interface, or returns the name of the current design in the active project.
The current software design is the target of the Hardware Software Interface software Tcl commands.
You can use the get_sw_designs
command to get a list
of open software designs in the active project.
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. -verbose
– (optional) Temporarily override
any message limits and return all messages from this command.set_msg_config
command.<design> - (optional) The name of a software design to set as the current design in the Hardware Software Interface. If a design is not specified, the command returns the current software design of the active project.
Examples
Get the current software design object:
hsi::current_sw_design
OR
Set the specified software design object as the current design:
hsi::current_sw_design sw_design_1