Description
This Tcl command sets the voltage in the operating conditions.
smartpower_set_voltage_opcond -voltage {value} -use {value}
Arguments
| Parameter | Type | Description | 
|---|
| voltage | string | Specifies the voltage supply in the operating conditions. The acceptable values for this argument are the following: - VDD - Sets the voltage operating conditions for VDD.
 - VDD18 - Sets the voltage operating conditions for VDD18.
 - VDDAUX - Sets the voltage operating conditions for VDDAUX.
 - VDDI 1.1 - Sets the voltage operating conditions for VDD 1.1.
 - VDDI 1.2 - Sets the voltage operating conditions for VDDI 1.2.
 - VDDI 1.35 - Sets the voltage operating conditions for VDDI 1.35.
 - VDDI 1.5 - Sets the voltage operating conditions for VDDI 1.5.
 - VDDI 1.8 - Sets the voltage operating conditions for VDDI 1.8.
 - VDDI 2.5 - Sets the voltage operating conditions for VDDI 2.5.
 - VDDI 3.3 - Sets the voltage operating conditions for VDDI 3.3.
 - VDD25 - Sets the voltage operating conditions for VDD25.
 - VDDA - Sets the voltage operating conditions for VDDA.
 - VDDA25 - Sets the voltage operating conditions for VDDA25.
 - VPP - Sets the voltage operating conditions for VPP.
 
  | 
| use | string | Specifies the voltage in the operating conditions for each voltage supply. The acceptable values for this argument are the following: - oprange - Sets the voltage in the operating conditions as specified in your Project Settings.
 - design - Sets the voltage in the operating conditions as specified in the SmartPower design-wideoperating range. Applies to SmartPower only.
 - mode - Sets the voltage in the operating conditions as specified in the SmartPower mode-specificoperating range. Applies to SmartPower only.
 
  | 
| Return Type | Description | 
|---|
| None | None | 
Error Codes
| Error Code | Description | 
|---|
 | Parameter 'use' has illegal value. | 
 | Required parameter 'use' is missing. | 
 | Parameter 'voltage' has illegal value. | 
 | Required parameter 'voltage' is missing. | 
 | Parameter 'param_name' is not defined. Valid command formatting is 'smartpower_set_voltage_opcond -voltage "VDD | VDD18 | VDDI 1.8 | VDD25" -use "oprange | design | mode"'. | 
Supported Families
| PolarFire® | 
| SmartFusion® 2 | 
| RTG4™ | 
| IGLOO® 2 | 
| PolarFire SoC | 
Example
This example sets the VCCA as specified in the SmartPower mode-specific settings:
smartpower_set_voltage_opcond -voltage {VDD} -use {mode}