21.9.17 smartpower_init_do

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

ParameterTypeDescription
opmodestringThis 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).
withstringThis sets the option of initializing frequencies and probabilities with vectorless analysis or with fixed values. The acceptable values for this argument are the following:
  • vectorless - Initializes frequencies and probabilities with vectorless analysis.
  • fixed - Initializes frequencies and probabilities with fixed values.
clocksbooleanThis sets the option of initializing frequencies and probabilities for all clocks. The following table shows theacceptable values for this argument:
  • TRUE, true or 1 - Initializes frequencies and probabilities for all clocks.
  • FALSE, false or 0 - Does not initialize frequencies and probabilities for all clocks.
registersbooleanThis sets the option of initializing frequencies and probabilities for all registers. The following table shows theacceptable values for this argument:
  • TRUE, true or 1 - Initializes frequencies and probabilities for all registers.
  • FALSE, false or 0 - Does not initialize frequencies and probabilities for all registers.
set_resetbooleanThis sets the option of initializing frequencies and probabilities for all set/reset nets. The following table shows theacceptable values for this argument:
  • TRUE, true or 1 - Initializes frequencies and probabilities for all set/reset nets.
  • FALSE, false or 0 - Does not initialize frequencies and probabilities for all set/reset nets.
primaryinputsbooleanThis sets the option of initializing frequencies and probabilities for all primary inputs. The acceptable values for this argument are the following:
  • TRUE, true or 1 - Initializes frequencies and probabilities for all primary inputs.
  • FALSE, false or 0 - Does not initialize frequencies and probabilities for all primary inputs.
combinationalbooleanThis sets the option of initializing frequencies and probabilities for all combinational outputs. The acceptable values for this argument are the following:
  • TRUE, true or 1 - Initializes frequencies and probabilities for all combinational outputs.
  • FALSE, false or 0 - Does not initialize frequencies and probabilities for all combinational outputs.
enablesbooleanThis sets the option of initializing frequencies and probabilities for all enable sets of pins. The acceptable values for this argument are the following:
  • TRUE, true or 1 - Initializes frequencies and probabilities for all enable sets of pins.
  • FALSE, false or 0 - Does not initialize frequencies and probabilities for all enable sets of pins.
othersetsboolranThis sets the option of initializing frequencies and probabilities for all other sets of pins. The acceptable values for this argument are the following:
  • TRUE, true or 1 - Initializes frequencies and probabilities for all other sets of pins.
  • FALSE, false or 0 - Does not initialize frequencies and probabilities for all other sets of pins
Return TypeDescription
NoneNone

Error Codes

Error CodeDescription
NoneParameter 'othersets' has illegal value.
NoneParameter 'enables' has illegal value.
Noneenables: Invalid argument value: 'value' (expecting TRUE, 1, true, FALSE, 0 or false).
NoneParameter 'combinational' has illegal value.
Nonecombinational: Invalid argument value: 'value' (expecting TRUE, 1, true, FALSE, 0 or false).
NoneParameter 'primaryinputs' has illegal value.
Noneprimaryinputs: Invalid argument value: 'value' (expecting TRUE, 1, true, FALSE, 0 or false).
NoneParameter 'set_reset' has illegal value.
Noneset_reset: Invalid argument value: 'value' (expecting TRUE, 1, true, FALSE, 0 or false).
NoneParameter 'registers' has illegal value.
Noneregisters: Invalid argument value: 'value' (expecting TRUE, 1, true, FALSE, 0 or false).
NoneParameter 'clocks' has illegal value.
Noneclocks: Invalid argument value: 'value' (expecting TRUE, 1, true, FALSE, 0 or false).
NoneParameter 'opmode' has illegal value.
Noneopmode: Invalid argument value: 'Static' (expecting Active or Flash*Freeze).
NoneParameter 'with' has illegal value.
Nonewith: Invalid argument value: 'value' (expecting vectorless, default or fixed).
NoneParameter '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}