Get_registers, Get_registers –52 – Altera SDC and TimeQuest API User Manual
Page 62

2–52
Chapter 2: SDC and TimeQuest API Package and Commands
sdc_ext
SDC and TimeQuest API Reference Manual
© December 2009
Altera Corporation
get_registers
Usage
get_registers [-no_duplicates] [-nocase] [-nowarn]
Options
-no_duplicates: Do not match duplicated register 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 registers in the design.
The default matching scheme returns not only registers whose names match the specified filter, but also
returns registers duplicated from these registers (cells automatically generated from these registers by the
Quartus II software). Use the -no_duplicates option to exclude duplicated registers.
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_timing_netlist
set regs [get_registers *reg*]
foreach_in_collection reg $regs {
puts [get_object_info -name $reg]
}
delete_timing_netlist
project_close