get_partition (::quartus::incremental_compilation)

The following table displays information for the get_partition Tcl command:

Tcl Package and Version

Belongs to ::quartus::incremental_compilation 1.1

Syntax get_partition [-h | -help] [-long_help] [-partition <partition name>] [-netlist_type] [-preservation_level] [-ignore_source_file_changes] [-preserve_high_speed_tiles] [-allow_multiple_personas] [-color] [-qxp] [-base_filename] [-full_filename] [-input_persona] [-personas] [-roots] [-parent]
Arguments -h | -help Short help
  -long_help Long help with examples and possible return values
-partition <partition name> 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 (partial reconfiguration)
-color Partition display color
-qxp QXP filename (if partition is set to Import)
-base_filename Base filename
-full_filename Full filename
-input_persona Input persona
-personas Legal input personas
-roots List of hierarchies assigned to the partition
-parent Parent partition
Description
Returns a list of partitions or a specific partition property. The
command returns a list of all the partitions in the current project if
you do not specify any options.

You must use the partition property options when you use the
-partition option.
Example Usage
package require ::quartus::incremental_compilation

project_open my_design

## Get a list of all partitions
set partitions [get_partition]

foreach p $partitions {
	puts "Partition $p is using Netlist Type [get_partition -partition $p -netlist_type]"
}

project_close
Return Value Code Name Code String Return
  TCL_OK 0 INFO: Operation successful
  TCL_ERROR 1 ERROR: Incremental Compilation is not supported for the current family.
  TCL_ERROR 1 ERROR: Wrong number of arguments. Usage: get_partition [-partition <Partition name> (-netlist_type|-preservation_level|-filename)]
  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.