create_partition (::quartus::incremental_compilation)

The following table displays information for the create_partition Tcl command:

Tcl Package and Version

Belongs to ::quartus::incremental_compilation 1.1

Syntax create_partition [-h | -help] [-long_help] -contents <hierarchy name> -partition <partition name>
Arguments -h | -help Short help
-long_help Long help with examples and possible return values
-contents <hierarchy name> Partition contents (hierarchy assigned to Partition)
-partition <partition name> Partition name
Creates a partition, unless the partition specified with the
-partition option already exists. The Quartus Prime software creates a
partition assignment to the specified hierarchy name.
Example Usage
package require ::quartus::incremental_compilation

project_open my_design

## Create a partition on child:inst1
create_partition -partition my_partition -contents child:inst1

Return Value Code Name Code String Return
TCL_OK 0 INFO: Operation successful
TCL_ERROR 1 ERROR: Can't find active revision. Make sure there is an open, active revision name. Use the -revision option of project_open, project_new, or use set_current_revision.
TCL_ERROR 1 ERROR: No project is currently open. Open an existing project or create a new project.
TCL_ERROR 1 ERROR: This command is not supported in the current software edition.
TCL_ERROR 1 ERROR: Partition already exists. Specify an unique partition name.
TCL_ERROR 1 ERROR: Unable to change assignment. Quartus Prime Settings File is read-only.