Intel® Quartus® Prime Pro Edition User Guide: Scripting

ID 683432
Date 10/04/2021
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.24.14. get_all_user_option_names (::quartus::project)

The following table displays information for the get_all_user_option_names Tcl command:

Tcl Package and Version

Belongs to ::quartus::project

Syntax get_all_user_option_names [-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 (string pattern is matched using Tcl string matching)
Description

Returns a filtered output list of all available, matching user option names. If the "-name" option is not specified, all available user option names are returned. Otherwise, only the matching user option names are returned. The "-name" option is not case sensitive. This option can take string patterns containing special characters from the set "*?\[]" as the value. The value is matched using Tcl string matching.

Example Usage
## Print out all available user option names
foreach i [get_all_user_option_names] {
    puts $i
}

## Display all user option names that contain
## the word "talkback" and also display the 
## value for each of the user option names
foreach i [get_all_user_option_names -name *talkback*] {
	set name $i
	set value [get_user_option -name $i]
    puts "$name = $value"
}