Get_current_revision, Usage, Options – Altera Quartus II Scripting User Manual
Page 337: Description, Example, Get_current_revision –207
Advertising
Chapter 3: Tcl Packages & Commands
3–207
project
© July 2013
Altera Corporation
Quartus II Scripting Reference Manual
get_current_revision
Usage
get_current_revision <project_name>
Options
<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
# 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]
Advertising