Get_object_info, Get_object_info –94 – Altera SDC and TimeQuest API User Manual

Page 104

Advertising
background image

2–94

Chapter 2: SDC and TimeQuest API Package and Commands

sta

SDC and TimeQuest API Reference Manual

© December 2009

Altera Corporation

get_object_info

Usage

get_object_info [-name] [-type] <object>

Options

-name: Return the object name

-type: Return the object type

<object>: Object

Description

Gets information about the specified object (referenced by object ID). Object IDs can be obtained by Tcl
commands such as get_clocks, get_ports, get_cells, and others. The -type option returns "clk", "reg", "port",
"cell", "pin", "comb", "net", or "edge". The -name and -type options are mutually exclusive.

Example

project_open chiptrip
create_timing_netlist
set ports [get_ports]
foreach_in_collection port $ports {
puts [get_object_info $port -name]
}
delete_timing_netlist
project_close

Advertising