Get_object_info, Usage, Options – Altera Quartus II Scripting User Manual

Page 533: Description, Example, Get_object_info –403

Advertising
background image

Chapter 3: Tcl Packages & Commands

3–403

sta

© July 2013

Altera Corporation

Quartus II Scripting Reference Manual

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