Description
Get OS in the software design.
Syntax
get_os [-regexp] [-filter <arg>] [-of_objects <args>] [-quiet] [-verbose] [<patterns>...]
Returns
OS object. Returns nothing if the command fails.
Usage
Name | Description |
---|---|
[-regexp ] |
Patterns are full regular expressions |
[-filter ] |
Filter list with expression |
[-of_objects ] |
Get 'os' 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 OS object on success and 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 OS object of the current software design:
hsi::get_os