set_partition (::quartus::incremental_compilation)

The following table displays information for the set_partition Tcl command:

Tcl Package and Version

Belongs to ::quartus::incremental_compilation 1.1

Syntax set_partition [-h | -help] [-long_help] -partition <partition name> [-netlist_type <netlist type> ] [-preservation_level <preservation level> ] [-ignore_source_file_changes <ignore source file changes> ] [-preserve_high_speed_tiles <preserve high-speed tiles> ] [-allow_multiple_personas <allow multiple personas> ] [-color <color> ] [-qxp <QXP filename> ] [-input_persona <input persona> ]
Arguments -h | -help Short help
-long_help Long help with examples and possible return values
-partition <partition name> Partition name
-netlist_type <netlist type> Netlist type
-preservation_level <preservation level> Preservation level
-ignore_source_file_changes <ignore source file changes> Ignore source file changes
-preserve_high_speed_tiles <preserve high-speed tiles> Preserve high-speed tiles
-allow_multiple_personas <allow multiple personas> Allow multiple personas (partial reconfiguration)
-color <color> Partition display color
-qxp <QXP filename> QXP filename (if partition is set to Import)
-input_persona <input persona> Input persona
Description
Changes partition attributes.

The Quartus Prime software changes the properties of the partition
specified by the -partition option to the values specified by the
options. Any properties not included as options remain unchanged. 
Example Usage
package require ::quartus::incremental_compilation

project_open my_design

## Get a list of regions
set partitions [set_partition]

foreach p $partitions {
	set_partition -partition $p -netlist_type "Post-Fit"
}

project_close
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 does not exist. Specify a valid partition name in the design.
TCL_ERROR 1 ERROR: Unable to change assignment. Quartus Prime Settings File is read-only.
TCL_ERROR 1 ERROR: The specified setting is illegal. Specify a legal value.