project_open (::quartus::project)

The following table displays information for the project_open Tcl command:

Tcl Package and Version

Belongs to ::quartus::project 1.0

Syntax project_open [-h | -help] [-long_help] [-cmp <revision_name> ] [-no_cmp] [-sim <revision_name> ] <project_name>
Arguments -h | -help Short help
-long_help Long help with examples and possible return values
-cmp <revision_name> Revision name to open. Defaults to project name.
-no_cmp Option to indicate that revision is not opened automatically
-sim <revision_name> Revision name to open
<project_name> Project name
Description
Opens an existing project. To open a new project, use the 
"project_new" command.

If the "-cmp" and "-sim" options are both specified and
have different names, the "-sim" option is ignored.
Example Usage
## Open project "chiptrip" and revision "chiptrip"
project_open chiptrip

## Open project "chiptrip" and revision "auto_max"
project_open -cmp auto_max chiptrip
Return Value Code Name Code String Return
TCL_OK 0 INFO: Operation successful
TCL_OK 0 WARNING: Specified values of options -<string> and -<string> differ. Ignored value of -<string> option. No action is required.
TCL_OK 0 WARNING: Project is already open: <string>
TCL_ERROR 1 ERROR: Can't open project: <string>. First close the currently open project: <string>.
TCL_ERROR 1 ERROR: Can't open project: <string>
TCL_ERROR 1 ERROR: Can't set revision: <string>. Make sure there is an open, active revision name.
TCL_ERROR 1 ERROR: Can't run Tcl command while a process is in progress: <string>. To run the command, stop the compilation or simulation; or wait for the compilation or simulation to complete.
TCL_ERROR 1 ERROR: Found two options: -<string> and -<string>. Choose one of the options.
TCL_ERROR 1 ERROR: Revision does not exist: <string>. Specify a legal revision name using the -<string> option.
TCL_ERROR 1 ERROR: Project does not exist or has illegal name characters: <string>. Specify a legal project name.