Get_timing_node_fanin, Usage, Options – Altera Quartus II Scripting User Manual
Page 152: Description, Example, Get_timing_node_fanin –22
3–22
Chapter 3: Tcl Packages & Commands
advanced_timing
Quartus II Scripting Reference Manual
© July 2013
Altera Corporation
get_timing_node_fanin
Usage
get_timing_node_fanin -type <synch|clock|asynch> <node>
Options
-type <synch|clock|asynch>: Type of feeding node (synch|clock|asynch)
<node>: Node
Description
Returns a list of nodes feeding the specified node in the following form:
{{node} {IC delay} {CELL delay}}
Example
# Print synchronous source nodes for all registers
load_package advanced_timing
project_open <design>
create_timing_netlist
foreach_in_collection node [get_timing_nodes -type reg] {
set reg_name [get_timing_node_info -info name $node]
set fanins [get_timing_node_fanin -type synch $node]
puts "register $reg_name has synch sources:"
foreach fanin $fanins {
set src_name [get_timing_node_info -info name [lindex $fanin 0]]
puts "-> $src_name"
}
}
project_close