partition_netlist_exists (::quartus::incremental_compilation)

The following table displays information for the partition_netlist_exists Tcl command:

Tcl Package and Version

Belongs to ::quartus::incremental_compilation 1.1

Syntax partition_netlist_exists [-h | -help] [-long_help] -netlist_type <netlist type> -partition <partition name>
Arguments -h | -help Short help
-long_help Long help with examples and possible return values
-netlist_type <netlist type> Netlist type
-partition <partition name> Partition name
Checks whether the netlist type exists for the specified partition.
Example Usage
package require ::quartus::incremental_compilation

project_open my_design
set partitions [get_partition]
foreach p $partitions {
	set netlist_type [get_partition -partition $p -netlist_type]
	if {![partition_netlist_exists -partition $p -netlist_type $netlist_type]} {
		puts "Netlist type $netlist_type does not exist for Partition $p!"
	} else {
		puts "Netlist type $netlist_type exists for Partition $p!"
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.