21.9.31 smartpower_remove_pin_of_domain

Description

This Tcl command removes a clock pin or a data pin from a clock or set domain, respectively.

Note: The domain name must be the name of an existing domain. The pin name must be the name of an existing pin. Execute the "smartpower_commit" Tcl command for preserving any changes in SmartPower.
smartpower_remove_pin_of_domain [-pin_name {name of pin}] \
                                -pin_type {clock | data} \
                                -domain_name {name of domain} \
                                -domain_type {clock | set}

Arguments

ParameterTypeDescription
pin_namestringSpecifies the name of the pin to remove from the domain.
pin_typestringSpecifies the type of the pin to remove. The acceptable values for this argument are the following:
  • clock - The pin to remove is a clock pin.
  • set - The pin to remove is a data pin.
domain_namestringSpecifies the name of the domain from which to remove the pin.
domain_typestringSpecifies the type of domain from which the pin is being removed. The acceptable values for this argument are the following:
  • clock - The domain is a clock domain.
  • set - The domain is a set domain.
Return TypeDescription
NoneNone

Error Codes

Error CodeDescription
NoneRequired parameter 'domain_type' is missing.
Nonedomain_type: Invalid argument value: 'type name' (expecting clock or set).
NoneRequired parameter 'domain_name' is missing.
NoneRequired parameter 'pin_name' is missing.
NoneRequired parameter 'pin_type' is missing.
Nonepin_type: Invalid argument value: 'type_name' (expecting clock or data).
NoneParameter 'pin_name' is missing or has invalid value.
NoneParameter 'domain_name' is missing or has invalid value.
NoneFailed to remove pin "in" from domain 'domain_value'.
NoneParameter 'param_name' is not defined. Valid command formatting is 'smartpower_remove_pin_of_domain [-pin_name "name of pin"]+ -domain_type "clock | set" -domain_name "name of domain" -pin_type "clock | data"'.

Supported Families

PolarFire®
SmartFusion® 2
RTG4™
IGLOO® 2
PolarFire SoC

Example

The following example removes the clock pin named "XCMP3/UO/U1:Y" from the clock domain named "myclk":

smartpower_remove_pin_of_domain -pin_name {XCMP3/U0/U1:Y} \
                                -pin_type {clock} \
                                -domain_name {myclk} \
                                -domain_type {clock}

The following example removes the data pin named "count" from the set domain named "InputSet":

smartpower_remove_pin_of_domain -pin_name {count} \
                                -pin_type {data} \
                                -domain_name {InputSet} \
                                -domain_type {set}