Intel® Quartus® Prime Pro Edition User Guide: Scripting

ID 683432
Date 12/13/2021

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents get_net_info (::quartus::sta)

The following table displays information for the get_net_info Tcl command:

Tcl Package and Version

Belongs to ::quartus::sta

Syntax get_net_info [-h | -help] [-long_help] [-name] [-pin] [-type] <net_object>
Arguments -h | -help Short help
-long_help Long help with examples and possible return values
-name Return the net name
-pin Return the pin ID of this net
-type Return the net type.
<net_object> Net object

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 Usage
project_open chiptrip

set nets [get_nets]
foreach_in_collection net $nets {
	puts [get_net_info $net -name]

Return Value Code Name Code String Return
TCL_OK 0 INFO: Operation successful