Query_collection, Query_collection –114 – Altera SDC and TimeQuest API User Manual
Page 124
2–114
Chapter 2: SDC and TimeQuest API Package and Commands
sta
SDC and TimeQuest API Reference Manual
© December 2009
Altera Corporation
query_collection
Usage
query_collection [-all] [-limit <limit_value>] [-list_format] [-report_format]
<collection>
Options
-all: Return all the collection objects.
-limit <limit_value>: Set number of collection objects to return.
-list_format: Return collection objects in a list format.
-report_format: Return collection objects in a format of one element per line.
<collection>: Object collection
Description
Query collection objects.
Collections can be obtained by Tcl commands such as get_clocks, get_ports, get_cells. If neither the -limit
nor the -all option is specified, then first 20 objects (if the collection has more than 20 objects) or all objects
(if the collection has less than or equal to 20 objects) are returned.
Example
project_open chiptrip
create_timing_netlist
set nodes [get_nodes Reg*]
# Get the first 100 nodes in the collection.
query_collection $nodes -limit 100
delete_timing_netlist
project_close