
Chapter 3: Tcl Packages & Commands 3–223
project
© July 2013 Altera Corporation Quartus II Scripting Reference Manual
project_exists
Usage
project_exists <project_name>
Options
<project_name>: Project name
Description
Checks whether a project exists. Returns 1, if a project exists; returns 0, otherwise.
Example
## Create project if one does not exist.
## Open existing project otherwise.
if [project_exists chiptrip] {
project_open chiptrip
} else {
project_new chiptrip
}
Commentaires sur ces manuels