21.9.17 smartpower_init_do
(Ask a Question)Description
This Tcl command initializes the frequencies and probabilities for clocks, registers, set/reset nets, primary inputs, combinational outputs, enables and other sets of pins, and selects a mode for initialization.
smartpower_init_do [-opmode "Active"] \
		   [-with "vectorless | default"] \
		   [-clocks "TRUE | FALSE"] \
		   [-registers "TRUE | FALSE"] \
		   [-set_reset "TRUE | FALSE"] \
		   [-primaryinputs "TRUE | FALSE"] \
		   [-combinational "TRUE | FALSE"] \
		   [-enables "TRUE | FALSE"] \
		   [-othersets "TRUE | FALSE"]Arguments
| Parameter | Type | Description | 
|---|---|---|
| opmode | string | This parameter is optional and specifies the mode in which to initialize frequencies and probabilities. The value must be Active or Flash*Freeze (RTG4, SmartFusion 2 and IGLOO 2). | 
| with | string | This sets the option of initializing frequencies and probabilities with vectorless analysis or with fixed values. The acceptable values for this argument are the following: 
  | 
| clocks | boolean | This sets the option of initializing frequencies and probabilities for all clocks. The following table shows theacceptable values for this argument: 
  | 
| registers | boolean | This sets the option of initializing frequencies and probabilities for all registers. The following table shows theacceptable values for this argument: 
  | 
| set_reset | boolean | This sets the option of initializing frequencies and probabilities for all set/reset nets. The following table shows theacceptable values for this argument: 
  | 
| primaryinputs | boolean | This sets the option of initializing frequencies and probabilities for all primary inputs. The acceptable values for this argument are the following: 
  | 
| combinational | boolean | This sets the option of initializing frequencies and probabilities for all combinational outputs. The acceptable values for this argument are the following: 
  | 
| enables | boolean | This sets the option of initializing frequencies and probabilities for all enable sets of pins. The acceptable values for this argument are the following: 
  | 
| othersets | boolran | This sets the option of initializing frequencies and probabilities for all other sets of pins. The acceptable values for this argument are the following: 
  | 
| Return Type | Description | 
|---|---|
| None | None | 
Error Codes
| Error Code | Description | 
|---|---|
| None | Parameter 'othersets' has illegal value. | 
| None | Parameter 'enables' has illegal value. | 
| None | enables: Invalid argument value: 'value' (expecting TRUE, 1, true, FALSE, 0 or false). | 
| None | Parameter 'combinational' has illegal value. | 
| None | combinational: Invalid argument value: 'value' (expecting TRUE, 1, true, FALSE, 0 or false). | 
| None | Parameter 'primaryinputs' has illegal value. | 
| None | primaryinputs: Invalid argument value: 'value' (expecting TRUE, 1, true, FALSE, 0 or false). | 
| None | Parameter 'set_reset' has illegal value. | 
| None | set_reset: Invalid argument value: 'value' (expecting TRUE, 1, true, FALSE, 0 or false). | 
| None | Parameter 'registers' has illegal value. | 
| None | registers: Invalid argument value: 'value' (expecting TRUE, 1, true, FALSE, 0 or false). | 
| None | Parameter 'clocks' has illegal value. | 
| None | clocks: Invalid argument value: 'value' (expecting TRUE, 1, true, FALSE, 0 or false). | 
| None | Parameter 'opmode' has illegal value. | 
| None | opmode: Invalid argument value: 'Static' (expecting Active or Flash*Freeze). | 
| None | Parameter 'with' has illegal value. | 
| None | with: Invalid argument value: 'value' (expecting vectorless, default or fixed). | 
| None | Parameter 'param_name' is not defined. Valid command formatting is 'smartpower_init_do [-opmode "Active"] \ [-with "vectorless | default"] \ [-clocks "TRUE | FALSE"] \ [-registers "TRUE | FALSE"] \ [-set_reset "TRUE | FALSE"] \ [-primaryinputs "TRUE | FALSE"] \ [-combinational "TRUE | FALSE"] \ [-enables "TRUE | FALSE"] \ [-othersets "TRUE | FALSE"]'. | 
Supported Families
| PolarFire® | 
| SmartFusion® 2 | 
| RTG4™ | 
| IGLOO® 2 | 
| PolarFire SoC | 
Example
The following example initializes all clocks with:
smartpower_init_do -with {vectorless} \
                   -opmode {my_mode} \
                   -clocks {true} \
                   -registers{true} \
                   -asynchronous {true} \
                   -primaryinputs {true} \
                   -combinational {true} \
                   -enables {true} \
                   -othersets {true}