Intel® Quartus® Prime Pro Edition User Guide: Scripting
A newer version of this document is available. Customers should click here to go to the newest version.
Visible to Intel only — GUID: reference_TCL_tcl_pkg_project_ui_ver_1_0_cmd_get_current_revision
Ixiasoft
Visible to Intel only — GUID: reference_TCL_tcl_pkg_project_ui_ver_1_0_cmd_get_current_revision
Ixiasoft
4.1.28.17. get_current_revision (::quartus::project_ui)
The following table displays information for the get_current_revision Tcl command:
Tcl Package and Version | Belongs to ::quartus::project_ui |
||
Syntax | get_current_revision [-h | -help] [-long_help] [ <project_name> ] | ||
Arguments | -h | -help | Short help | |
-long_help | Long help with examples and possible return values | ||
<project_name> | Project name | ||
Description | Returns the name of the current revision for the specified project. If the project name is not specified, the current project name is used. |
||
Example Usage | # Get the current revision name for # the currently open project "chiptrip" project_open chiptrip set revision_name [get_current_revision] project_close # Get the current revision name for # a project that is not currently open set revision_name [get_current_revision chiptrip] |
||
Return Value | Code Name | Code | String Return |
TCL_OK | 0 | INFO: Operation successful | |
TCL_ERROR | 1 | ERROR: Project does not exist or has illegal name characters: <string>. Specify a legal project name. | |
TCL_ERROR | 1 | ERROR: Project name was not specified or open project does not exist. Open an existing project or specify the project name. |