Get_rtl_fanouts, Usage, Options – Altera Quartus II Scripting User Manual

Page 406: Description, Example, Get_rtl_fanouts –276

Advertising
background image

3–276

Chapter 3: Tcl Packages & Commands

rtl

Quartus II Scripting Reference Manual

© July 2013

Altera Corporation

get_rtl_fanouts

Usage

get_rtl_fanouts [-inverting_paths] [-non_inverting_paths] <filter>

Options

-inverting_paths: Only follow inverting combinational paths

-non_inverting_paths: Only follow non-inverting combinational paths

<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

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

Advertising