Example – Altera Quartus II Scripting User Manual
Page 331

Chapter 3: Tcl Packages & Commands
3–201
project
© July 2013
Altera Corporation
Quartus II Scripting Reference Manual
If you tagged data by making assignments with the -tag option, then the information will be displayed in
the
Use the "-entity" option to retrieve the parameter values from the specified entity. If the "-entity" option is
not specified, the value for the FOCUS_ENTITY_NAME assignment is used. If the
FOCUS_ENTITY_NAME value is not found, the revision name is used.
Example
## Display all project-wide default parameter values
set parameter_col [get_all_parameters -name *]
foreach_in_collection parameter $parameter_col {
## Each element in the collection has the following
## format: { {} {
set name [lindex $parameter 1]
set value [lindex $parameter 2]
## Now, display the content of the parameter
puts "Parameter Name ($name)"
puts "Parameter Value ($value)"
}
## Display all entity-specific parameter values
foreach_in_collection parameter [get_all_parameters -name * -to *] {
## Each element in the collection has the following
## format: { {Destination} {
# {} }
set dest [lindex $parameter 0]
set name [lindex $parameter 1]
set value [lindex $parameter 2]
## Now, display the content of the parameter
puts "Destination ($dest)"
puts "Parameter Name ($name)"
puts "Parameter Value ($value)"
}