Create_revision, Usage, Options – Altera Quartus II Scripting User Manual
Page 318: Description, Example, Create_revision –188
3–188
Chapter 3: Tcl Packages & Commands
project
Quartus II Scripting Reference Manual
© July 2013
Altera Corporation
create_revision
Usage
create_revision [-based_on <revision_name>] [-copy_results] [-set_current]
<revision_name>
Options
-based_on <revision_name>: Revision name on which new revision bases its settings
-copy_results: Option to copy results from "based_on" revision
-set_current: Option to set new revision as current revision
<revision_name>: Revision name
Description
Creates the specified revision. If the revision is not included in the current project, a new revision is created
in the project with default settings.
If you specify the "-set_current" option, this command sets the newly created revision as the current
revision.
If you specify the "-based_on" option, the command creates a new revision in the project based on the
settings of the based-on revision specified by the option.
Example
## Create a new revision called "tmp"
create_revision tmp
## Create a new revision called "tmp"
## and set it as the current revision
create_revision tmp -set_current
## This method is the same as
create_revision tmp
set_current_revision tmp
## Create a new revision called "speed_ch"
## with settings based on "chiptrip"
## and set it as the current revision
create_revision speed_ch -based_on chiptrip -set_current