partition_delete_netlists (::quartus::incremental_compilation)

The following table displays information for the partition_delete_netlists Tcl command:

Tcl Package and Version

Belongs to ::quartus::incremental_compilation 1.1

Syntax partition_delete_netlists [-h | -help] [-long_help] [-also_delete_imported_qxps] [-netlist_type <netlist type> ] -partition <partition name>
Arguments -h | -help Short help
-long_help Long help with examples and possible return values
-also_delete_imported_qxps For imported partitions, whether to remove the imported .qxp file.
-netlist_type <netlist type> Netlist type: Post-Synthesis|Post-Fit
-partition <partition name> Partition name
Description
Deletes the netlists of the specified partition,
forcing the partition to be completely recompiled in
the next compilation. If the partition has an imported
Quartus Prime Exported Partition (.qxp) file, the
also_delete_imported_qxps option can be used to delete
the imported .qxp file. For an imported partition,
deleting the Quartus Prime Exported Partition File forces
the partition to be compiled from the HDL source
file(s) of the partition. If only the netlists are
deleted but not the Quartus Prime Exported Partition
file, then the partition is compiled from the
specified netlist in the imported Quartus Prime Exported
Partition File in the next compilation.
Example Usage
package require ::quartus::incremental_compilation

project_open my_design
set partitions [get_partition]
foreach p $partitions {
	if {![partition_delete_netlists -partition $p]} {
		puts "Unable to delete netlists for partition $p!"
	} else {
		puts "Successfully deleted netlists for partition $p"
	}
}
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.