Get_parameter, Usage, Options – Altera Quartus II Scripting User Manual
Page 345: Description, Example, Get_parameter –215

Chapter 3: Tcl Packages & Commands
3–215
project
© July 2013
Altera Corporation
Quartus II Scripting Reference Manual
get_parameter
Usage
get_parameter [-entity
Options
-entity
-name
-tag : Option to tag data to this assignment
-to
Description
Returns the value of the parameter.
The "-name" option is not case sensitive. The "-to" option is case sensitive.
If the "-to" argument is specified, the function returns the parameter value for the current entity. The value
is retrieved from the PARAMETERS section of the entity. Otherwise, the function returns the project-wide
default parameter value obtained from the DEFAULT_PARAMETERS section.
Use the "-entity" option to retrieve the parameter 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
## Get project-wide, default parameter value
get_parameter -name WIDTH
## Get entity-specific parameter value
get_parameter -name inst1 -to SIZE