Get_net_info, Get_net_info –92 – Altera SDC and TimeQuest API User Manual
Page 102
Advertising
2–92
Chapter 2: SDC and TimeQuest API Package and Commands
sta
SDC and TimeQuest API Reference Manual
© December 2009
Altera Corporation
get_net_info
Usage
get_net_info [-name] [-pin] [-type] <net_object>
Options
-name: Return the net name
-pin: Return the pin ID of this net
-type: Return the net type.
<net_object>: Net object
Description
Returns information about the specified net (referenced by net ID). Net ID's can be obtained by Tcl
commands such as get_nets.
The "-type" option returns "net".
The options "-name", "-type", and "-pin" are mutually exclusive.
Example
project_open chiptrip
create_timing_netlist
set nets [get_nets]
foreach_in_collection net $nets {
puts [get_net_info $net -name]
}
delete_timing_netlist
project_close
Advertising