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

Page 354: Description, Example, Project_new –224

Advertising
background image

3–224

Chapter 3: Tcl Packages & Commands

project

Quartus II Scripting Reference Manual

© July 2013

Altera Corporation

project_new

Usage

project_new [-family <family>] [-overwrite] [-part <part>] [-revision <revision_name>]
<project_name>

Options

-family <family>: Family name

-overwrite: Option to overwrite existing project and revision

-part <part>: Part name

-revision <revision_name>: Revision name

<project_name>: Project name

Description

Creates and opens a new project with the specified project name.

If the "-revision" option is not specified, the project name is used to create the revision.

Assignments created or modified by using this Tcl command are not saved to the Quartus II Settings File
(.qsf) unless you explicitly call one of the following two Tcl commands:

export_assignments

project_close (unless "-dont_export_assignments" is specified)

These two Tcl commands reside in the ::quartus::project Tcl package. You must save assignment changes
before you run Quartus®II command-line executables. Note, however, that the Tcl commands
"execute_flow" and "execute_module" (part of the ::quartus::flow Tcl package) automatically call
"export_assignments" before they run command-line executables.

Example

## Create project "chiptrip" and revision "chiptrip"
project_new chiptrip

## Create project "chiptrip" and revision "auto_max"
project_new -revision auto_max chiptrip

## Create project "chiptrip" and revision "chiptrip"
## Overwrite any Quartus II Settings File (.qsf) if it exists
project_new chiptrip -overwrite

## Create project "chiptrip" and revision "chiptrip"
## Set the FAMILY assignment to Stratix
project_new chiptrip -family Stratix

Advertising