beautypg.com

Get_partition_info, Get_partition_info –97 – Altera SDC and TimeQuest API User Manual

Page 107

background image

Chapter 2: SDC and TimeQuest API Package and Commands

2–97

sta

© December 2009

Altera Corporation

SDC and TimeQuest API Reference Manual

get_partition_info

Usage

get_partition_info [-child] [-name] [-parent] [-type]

Options

-child: Return child partition name(s)

-name: Return the partition name

-parent: Return parent partition name

-type: Return the partition type

: 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

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