Description
Set or get current hardware design.
Syntax
current_hw_design [-quiet] [-verbose] [<design>]
Returns
Current hardware design object, "" if failed.
Usage
Name | Description |
---|---|
[-quiet ] |
Ignore command errors |
[-verbose ] |
Suspend message limits during command execution |
[<design>] | design to be set |
Categories
Hardware
Description
Defines the current hardware design for use with the Hardware Software Interface, or returns the name of the current design in the active project. The current hardware design is the target of the Hardware Software Interface hardware Tcl commands. You can use the get_hw_designs command to get a list of open hardware 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 hardware design to set as the current design in the session. If a design is not specified, the command returns the current hardware design of the active session.
Examples
Get the current hardware design object:
hsi::current_hw_design
OR
Set the specified hardware design object as the current design:
hsi::current_hw_design hw_design_1