21.9.3 smartpower_add_pin_in_domain

Description

This tcl command adds a pin into a clock or set domain.

smartpower_add_pin_in_domain -pin_name {pin name} \
                             -pin_type {value} \
                             -domain_name {domain name} \
                             -domain_type {value}

Arguments

ParameterTypeDescription
pin_namestringSpecifies the name of the pin to add to the domain.
pin_typestringSpecifies the type of the pin to add. The acceptable values for this argument are the following:
  • clock - The pin to add is a clock pin.
  • data - The pin to add is a data pin.
domain_namestringSpecifies the name of the domain in which to add the specified pin.
domain_typestringSpecifies the type of domain in which to add the specified pin. 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 'pin_name' is missing.
NoneRequired parameter 'pin_type' is missing.
NoneRequired parameter 'domain_type' is missing.
NoneRequired parameter 'domain_name' is missing.
Nonedomain_type: Invalid argument value: 'value' (expecting clock or set).
NoneParameter 'pin_name' has illegal value.
NoneFailed to add pin "pin_name" to "domain".
Nonepin_type: Invalid argument value: 'value' (expecting clock or data).
NoneParameter 'param_name' is not defined. Valid command formatting is 'smartpower_add_pin_in_domain [-pin_name "name of pin"]+ -domain_type "clock | set" -domain_name "name of domain" -pin_type "clock | data"'.

Supported Families

Supported FamiliesSupported Versions
PolarFire®v12.4+
SmartFusion® 2v12.4+
RTG4™v12.4+
IGLOO® 2v12.4+
PolarFire SoCv12.6+

Example

The following example adds a "XCMP3/U0/U1:Y" clock pin to an existing Clock "clk" domain:

smartpower_add_pin_in_domain -pin_name {XCMP3/U0/U1:Y} \
                             -pin_type {clock} \
                             -domain_name {clk} \
                             -domain_type {clock}

The following example adds a "XCMP3/U0/U1:Y" data pin to an existing Set "myset" domain:

smartpower_add_pin_in_domain -pin_name {XCMP3/U0/U1:Y} \
                             -pin_type {data} \
                             -domain_name {myset} \
                             -domain_type {set}

See Also