Intel® Quartus® Prime Pro Edition User Guide: Scripting

ID 683432
Date 6/20/2022
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

3.1.29.31. get_user_option (::quartus::project)

The following table displays information for the get_user_option Tcl command:

Tcl Package and Version

Belongs to ::quartus::project

Syntax get_user_option [-h | -help] [-long_help] -name <name>
Arguments -h | -help Short help
-long_help Long help with examples and possible return values
-name <name> User option name
Description
Returns the user option value for the name specified by
the "-name" option.

To get a list of all available user option names, use
the "get_all_user_option_names" command.
Example Usage
## Get the value for the user option
## "TALKBACK_ENABLED"
set value [get_user_option -name TALKBACK_ENABLED]
puts "TALKBACK_ENABLED = $value"
Return Value Code Name Code String Return
TCL_OK 0 INFO: Operation successful
TCL_ERROR 1 ERROR: Illegal user option name: <string>. Specify a legal user option name. To get a list of legal names, use the get_all_user_option_names command.