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

Page 405: Description, Example, Get_rtl_fanins –275

Advertising
background image

Chapter 3: Tcl Packages & Commands

3–275

rtl

© July 2013

Altera Corporation

Quartus II Scripting Reference Manual

get_rtl_fanins

Usage

get_rtl_fanins [-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 fanin pins starting from the <filter> in the design.

When the -non_inverting_paths option is used, get_fanins does not follow any paths that include an odd
number of inverters. Similarly, when the -inverting_paths option is used, get_fanins 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 fanins [get_rtl_fanins $item]
foreach_in_collection fanin $fanin {

lappend fanin_list [get_rtl_pin_info $fanin -name]

}

get_rtl_fanins inst1 -non_inverting_paths

Advertising