Get_keepers, Usage, Options – Altera Quartus II Scripting User Manual
Page 459: Description, Example, Get_keepers –329

Chapter 3: Tcl Packages & Commands
3–329
sdc_ext
© July 2013
Altera Corporation
Quartus II Scripting 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