get_rtl_fanouts (::quartus::rtl)

The following table displays information for the get_rtl_fanouts Tcl command:

Tcl Package and Version

Belongs to ::quartus::rtl 1.0

Syntax get_rtl_fanouts [-h | -help] [-long_help] [-inverting_paths] [-non_inverting_paths] [-pin_id]
 
<filter>
Arguments -h | -help Short help
-long_help Long help with examples and possible return values
-inverting_paths Only follow inverting combinational paths
-non_inverting_paths Only follow non-inverting combinational paths
-pin_id Specified a pin id returned by one of the RTL Tcl Package APIs
<filter> Valid starting nodes (string patterns are matched using Tcl string matching or collection)
Description
Returns a collection of fanout pins starting from the <filter> in the
design. 

When the -non_inverting_paths option is used, get_fanouts does not follow any
paths that include an odd number of inverters. Similarly, when the -inverting_paths
option is used, get_fanouts does not follow any paths that include an even number of
inverters. Both the -non_inverting_paths and -inverting_paths options are 
mutually exclusive.

The filter for the collection is a Tcl list of wildcards, and must
follow standard Tcl substitution rules. 
Example Usage
set fanouts [get_rtl_fanouts $item]
foreach_in_collection fanout $fanouts {
	lappend fanout_list [get_rtl_pin_info $fanout -name]
}

get_rtl_fanouts inst1 -non_inverting_paths 
Return Value Code Name Code String Return
TCL_OK 0 INFO: Operation successful
TCL_ERROR 1 ERROR: Can't read compiler database. Run the Analysis and Synthesis (quartus_map) successfully before using this command.
TCL_ERROR 1 ERROR: You must open a project before you can use this command.
TCL_ERROR 1 ERROR: sgate netlist does not exist. Use load_rtl_netlist to create the sgate netlist.