Partition_netlist_exists, Usage, Options – Altera Quartus II Scripting User Manual

Page 249: Description, Example, Partition_netlist_exists –119

Advertising
background image

Chapter 3: Tcl Packages & Commands

3–119

incremental_compilation

© July 2013

Altera Corporation

Quartus II Scripting Reference Manual

partition_netlist_exists

Usage

partition_netlist_exists -netlist_type <netlist type> -partition <partition name>

Options

-netlist_type <netlist type>: Netlist type

-partition <partition name>: Partition name

Description

Checks whether the netlist type exists for the specified partition.

Example

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!"
}

}
project_close

Advertising