Project_open, Usage, Options – Altera Quartus II Scripting User Manual

Page 355: Description, Example, Project_open –225

Advertising
background image

Chapter 3: Tcl Packages & Commands

3–225

project

© July 2013

Altera Corporation

Quartus II Scripting Reference Manual

project_open

Usage

project_open [-current_revision] [-force] [-revision <revision_name>] <project_name>

Options

-current_revision: Option to open the current revision automatically

-force: Option to open the project and overwrite the compilation database if the
database version is incompatible.

-revision <revision_name>: Revision name

<project_name>: Project name

Description

Opens an existing project. To create a new project, use the project_new command.

If the -revision option is not specified, the project name is specified as the revision name.

The project_open command gives an error when the compilation database version is not compatible with
the current version of Quartus II software. You may specify the "-force" option to avoid the error and
overwrite the database.

Example

## Open project "chiptrip" and revision "chiptrip"
project_open chiptrip

## Open project "chiptrip" and revision "auto_max"
project_open -revision auto_max chiptrip

## Get the current revision before opening
## the project with the current revision
set project_name chiptrip
set current_revision [get_current_revision $project_name]
project_open -revision $current_revision $project_name
puts [get_global_assignment -name FAMILY]
project_close

Advertising