get_partition_info (::quartus::sta)
The following table displays information for the get_partition_info Tcl command:
| Tcl Package and Version |
Belongs to ::quartus::sta 1.0 |
|||
| Syntax | get_partition_info [-h | -help] [-long_help] [-child] [-name] [-parent] [-type] <partition_object> | |||
| Arguments | -h | -help | Short help | ||
| -long_help | Long help with examples and possible return values | |||
| -child | Return child partition name(s) | |||
| -name | Return the partition name | |||
| -parent | Return parent partition name | |||
| -type | Return the partition type | |||
| <partition_object> | Partition object | |||
| Description |
Gets information about the specified partition (referenced by partition ID). Partition ID's can be obtained by Tcl commands such as get_partitions. The -name, -type, -parent, and -child options are mutually exclusive. |
|||
| Example Usage |
project_open chiptrip
create_timing_netlist
set partitions [get_partitions *]
foreach_in_collection partition $partitions {
puts "[get_partition_info $partition -name]"
}
delete_timing_netlist
project_close
|
|||
| Return Value | Code Name | Code | String Return | |
| TCL_OK | 0 | INFO: Operation successful | ||
| TCL_ERROR | 1 | ERROR: Object with ID <string> is not an object of type <string>. Specify the ID of an object with the correct type. | ||
| TCL_ERROR | 1 | ERROR: Cannot find object of ID <string>. Specify an existing object ID. | ||
| TCL_ERROR | 1 | ERROR: Unsupported object type: <string>. Specify a supported object type. | ||