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

Page 460: Description, Example, Get_nodes –330

Advertising
background image

3–330

Chapter 3: Tcl Packages & Commands

sdc_ext

Quartus II Scripting Reference Manual

© July 2013

Altera Corporation

get_nodes

Usage

get_nodes [-no_duplicates] [-nocase] [-nowarn] <filter>

Options

-no_duplicates: Do not match duplicated node names

-nocase: Specifies the matching of node names to be case-insensitive

-nowarn: Do not issue warnings messages about unmatched patterns

<filter>: Valid destinations (string patterns are matched using Tcl string matching)

Description

Returns a collection of nodes in the design.

The default matching scheme returns not only nodes whose names match the specified filter, but also
nodes duplicated from these nodes (refers to cells are automatically generated by Quartus from these
nodes). Use the -no_duplicates option to not include duplicated nodes.

The filter for the collection is a Tcl list of wildcards, and must follow standard Tcl or TimeQuest-extension
substitution rules. See help for the use_timequest_style_escaping command for details.

Example

project_open chiptrip
create_timimg_netlist

set nodes [get_nodes *name*]
foreach_in_collection node $nodes {
puts [get_object_info -name $node]
}

delete_timing_netlist
project_close

Advertising