Intel® Quartus® Prime Pro Edition User Guide: Scripting

ID 683432
Date 12/13/2021

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

Document Table of Contents set_current_revision (::quartus::project)

The following table displays information for the set_current_revision Tcl command:

Tcl Package and Version

Belongs to ::quartus::project

Syntax set_current_revision [-h | -help] [-long_help] [-force] <revision_name>
Arguments -h | -help Short help
-long_help Long help with examples and possible return values
-force Option to open the revision and overwrite the compilation database if the database version is incompatible.
<revision_name> Revision name

Sets the specified revision name as the current revision. All assignments created or modified during an open project will also be saved to the Quartus Prime Settings File (.qsf). In 8.1 or later versions of Quartus Prime software, set_current_revision gives an error when the compilation database version is not compatible with the current version of Quartus Prime software. You may specify the "-force" option to avoid the error and overwrite the database.

Example Usage
## Sets "auto_max" as the current revision 
set_current_revision auto_max
Return Value Code Name Code String Return
TCL_OK 0 INFO: Operation successful
TCL_OK 0 WARNING: Revision is already