Quartus® Prime Pro Edition User Guide: Scripting

ID 683432
Date 4/01/2024
Public
Document Table of Contents

4.1.10.12. get_node_location (::quartus::eco)

The following table displays information for the get_node_location Tcl command:

Tcl Package and Version

Belongs to ::quartus::eco

Syntax get_node_location [-h | -help] [-long_help] [-name <node_name> ] [-node <node_id> ]
Arguments -h | -help Short help
-long_help Long help with examples and possible return values
-name <node_name> Name of node to get location for
-node <node_id> Node ID
Description
The get_node_location command will print the location of the node in the console
and return the location in a tcl object.
If the node is not placed, then the string "Unplaced" will be printed and returned.
Example Usage
get_node_location -name node 

# print location of nodes of type FF
project_open top
eco_load_design
set nodes [get_netlist_nodes -type FF]
foreach_in_collection i $nodes {
    puts "Location = [get_node_location -node $i]"
}
project_close
Return Value Code Name Code String Return
TCL_OK 0 INFO: Operation successful