Get_nodes, Get_nodes –50 – Altera SDC and TimeQuest API User Manual

Page 60

Advertising
background image

2–50

Chapter 2: SDC and TimeQuest API Package and Commands

sdc_ext

SDC and TimeQuest API Reference Manual

© December 2009

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