Get_keepers, Get_keepers –49 – Altera SDC and TimeQuest API User Manual
Page 59

Chapter 2: SDC and TimeQuest API Package and Commands
2–49
sdc_ext
© December 2009
Altera Corporation
SDC and TimeQuest API Reference Manual
get_keepers
Usage
get_keepers [-no_duplicates] [-nocase] [-nowarn]
Options
-no_duplicates: Do not match duplicated keeper names
-nocase: Specifies the matching of node names to be case-insensitive
-nowarn: Do not issue warnings messages about unmatched patterns
Description
Returns a collection of non-combinational or "keeper" nodes in the design.
The default matching scheme returns not only non-combinational nodes whose names match the specified
filter, but also non-combinational nodes duplicated from these keepers (refers to cells are automatically
generated by Quartus from these keepers). Use the -no_duplicates option to exclude duplicated keepers.
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 kprs [get_keepers *reg*]
foreach_in_collection kpr $kprs {
puts [get_object_info -name $kpr]
}
delete_timing_netlist
project_close