21.9.9 smartpower_create_domain

Description

This Tcl command creates a new clock or set domain.

Note: The domain name cannot be the name of an existing domain. The domain type must be either clock or set.
smartpower_create_domain -domain_type {domain type} -domain_name {domain name}

Arguments

ParameterTypeDescription
domain_typestringSpecifies the type of domain to create. The acceptable values for this argument are:
  • clock - The domain is a clock domain.
  • set - The domain is a set domain.
domain_namestringSpecifies the name of the new domain.
Return TypeDescription
NoneNone

Error Codes

Error CodeDescription
NoneParameter 'domain_name' has illegal value.
NoneRequired parameter 'domain_name' is missing.
Nonedomain_type: invalid argument value: 'type_name'(expecting set or clock).
NoneA domain with name "domain_name" already exists.
NoneParameter 'param_name' is not defined. Valid command formatting is 'smartpower_create_domain -domain_name "domain name" -domain_type "set | clock"'.

Supported Families

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

Example

The following example creates a new set domain named "myset":

smartpower_create_domain -domain_type {set} -domain_name {myset}

See Also