21.9.31 smartpower_remove_pin_of_domain
(Ask a Question)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
| Parameter | Type | Description | 
|---|---|---|
| pin_name | string | Specifies the name of the pin to remove from the domain. | 
| pin_type | string | Specifies the type of the pin to remove. The acceptable values
                                for this argument are the following: 
  | 
| domain_name | string | Specifies the name of the domain from which to remove the pin. | 
| domain_type | string | Specifies the type of domain from which the pin is being removed.
                                The acceptable values for this argument are the following: 
  | 
| Return Type | Description | 
|---|---|
| None | None | 
Error Codes
| Error Code | Description | 
|---|---|
| None | Required parameter 'domain_type' is missing. | 
| None | domain_type: Invalid argument value: 'type name' (expecting clock or set). | 
| None | Required parameter 'domain_name' is missing. | 
| None | Required parameter 'pin_name' is missing. | 
| None | Required parameter 'pin_type' is missing. | 
| None | pin_type: Invalid argument value: 'type_name' (expecting clock or data). | 
| None | Parameter 'pin_name' is missing or has invalid value. | 
| None | Parameter 'domain_name' is missing or has invalid value. | 
| None | Failed to remove pin "in" from domain 'domain_value'. | 
| None | Parameter '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}
        