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
| Parameter | Type | Description | 
|---|
| domain_type | string | Specifies 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_name | string | Specifies the name of the new domain. | 
| Return Type | Description | 
|---|
| None | None | 
Error Codes
| Error Code | Description | 
|---|
| None | Parameter 'domain_name' has illegal value. | 
| None | Required parameter 'domain_name' is missing. | 
| None | domain_type: invalid argument value: 'type_name'(expecting set or clock). | 
| None | A domain with name "domain_name" already exists. | 
| None | Parameter '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}