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
Options
-based_on
-copy_results: Option to copy results from "based_on" revision
-set_current: Option to set new revision as current revision
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