Xilinx 8.2i Life Jacket User Manual


 
Development System Reference Guide www.xilinx.com 59
Tcl Commands for General Usage
R
delete (delete a partition)
The partition delete command deletes the specified partition from the current ISE project.
This command also deletes any properties on the partition; however, timing and other
logic constraints on the instance are preserved.
Note:
A Partition name may not be unique to the project. In this case, the full hierarchical name of
the partition should be specified for the partition you wish to delete.
% partition delete <partition_name>
partition is the name of the Xilinx Tcl command.
delete is the name of the partition subcommand.
partition_name specifies the full hierarchical name of the partition you wish to remove from
the project or the name of the
get (get partition properties)
The partition get command returns the value of the specified partition property. Note that
the preserve property is assigned with the partition set command.
% partition get <partition_name> <property_name>
partition is the name of the Xilinx Tcl command.
get is the name of the partition subcommand.
partition_name specifies the full hierarchical name of the partition or the collection. A
collection is specified using the dollar-sign syntax ($) with the name of the collection
variable.
property_name specifies the name of the property you wish to get the value of. Valid
partition property names and their Tcl returns are shown in the following table:
Example: % partition delete /stopwatch/Inst_dcm1
Description: In this example, the Inst_dcm1 partition is deleted and removed
from the project repository. Note that only the partition is deleted
from the project not the instance that the partition is set on.
Tcl Return: The number of partitions deleted. In this example, 1 is returned.
Table 3-3: Partition Property Names and Tcl Returns
Partition Property Name Tcl Return
name The name of the partition.
parent The name of the parent of the partition. If the partition
is the top-level partition, the returned name is empty.
children A collection of the child partitions. If the partition has
no children, the returned collection is empty.
preserve Routing, placement, synthesis, or inherit
preserve_effective Returns the inherited value for the preserve property.