Description
Get processor of the software design.
Syntax
get_sw_processor [-regexp] [-filter <arg>] [-of_objects <args>] [-quiet] [-verbose] [<patterns>...]
Returns
Processor object. Returns nothing if the command fails.
Usage
Name | Description |
---|---|
[-regexp ] |
Patterns are full regular expressions |
[-filter ] |
Filter list with expression |
[-of_objects ] |
Get 'sw_proc' objects of these types: 'sw_design'. |
[-quiet ] |
Ignore command errors |
[-verbose ] |
Suspend message limits during command execution |
[<patterns>] | Match design names against patterns Default: * |
Categories
Software
Description
Returns the processor object of the active software design or nothing if the command fails.
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.Examples
The following example returns the software processor of the current software design:
get_sw_processor