export_partition (::quartus::incremental_compilation)

The following table displays information for the export_partition Tcl command:

Tcl Package and Version

Belongs to ::quartus::incremental_compilation 1.1

Syntax export_partition [-h | -help] [-long_help] -partition <partition name> -qxp <QXP filename> [-post_fit <post-fit netlist> ] [-post_synth <post-synthesis netlist> ] [-routing <export routing> ] [-dont_flatten]
Arguments -h | -help Short help
-long_help Long help with examples and possible return values
-partition <partition name> Partition name
-qxp <QXP filename> QXP fiilename
-post_fit <post-fit netlist> Export post-fit netlist
-post_synth <post-synthesis netlist> Export post-synthesis netlist
-routing <export routing> Export routing
-dont_flatten Do not flatten child partitions when exporting
Description
Exports the partition specified with the -partition option
to a QXP file with the name specified by the -qxp option.

Use the -post_synth and -post_fit options to control whether
to export the post-synthesis and/or the post-fit netlist,
respectively. The supported values are "on" and "off".

Use the -routing option to control whether routing should
be included in the qxp.  This option can only be enabled
if the post-fit netlist is exported. The supported values
are "on" and "off".

Use the -dont_flatten option to not flatten sub-partitions 
during export. By default, the compiler flattens child
partitions when exporting.
Example Usage
package require ::quartus::incremental_compilation

project_open my_design

export_partition -partition my_partition -qxp top.qxp

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: Partition does not exist. Specify a valid partition name in the design.