Get_names, Usage, Options – Altera Quartus II Scripting User Manual
Page 343: Description, Example, Get_names –213

Chapter 3: Tcl Packages & Commands
3–213
project
© July 2013
Altera Corporation
Quartus II Scripting Reference Manual
get_names
Usage
get_names [-entity
Options
-entity
instantiated by the entity
-filter
character(s)
-library
-node_type
filter based on the specified node type.
-observable_type
filter based on the specified observable type
Description
Returns a filtered output collection of all matching node name IDs found in a compiled Quartus®II
project.
To access each element of the output collection, use the Tcl command "foreach_in_collection". To see
example usage, type "get_names -long_help" or "foreach_in_collection -long_help".
If the "-node_type" option is not specified, the default value is "all". Similarly, if the "-observable_type"
option is not specified, the default value is "all".
The node type "pin" includes "input", "output", and "bidir". The node type "qsf" include names from qsf
settings file. The node type "all" includes all node types.
The value for "-observable_type" option can be one of the following:
Example
# Search for a single post-Fitter pin with the name accel and
# make assignments
set accel_name_id \
[get_names -filter accel -node_type pin -observable_type post_fitter]
foreach_in_collection name_id $accel_name_id {
# Get the full path name of the node
Observable Type
Description
all
Use post-Fitter information. If it is not available, post-Synthesis information is used.
Otherwise, pre-synthesis information is used if it exists.
pre_synthesis
Use pre-synthesis information.
post_synthesis
Use post-synthesis information.
post_fitter
Use post-Fitter information.
post_asm
Use post-Assembler information. The post-Assembler information is only supported for
designs using the HardCopy II device family.
stp_pre_synthesis
Use SignalTap II pre-synthesis information.