21.3.55 get_tool_options

Description

This Tcl command is used to get the configured options/parameters of a tool in the Libero Design Flow. It can be used to get the value of a single tool option or multiple tool options.

Note: You can repeat -params argument for multiple parameters.​​
get_tool_options -name {tool_name} -params {parameter_names}

Arguments

ParameterTypeDescription
namestringSpecifies the name of tool for which you want to know the configured tool options. It is mandatory.
  • SYNTHESIZE
  • COMPILE
  • PLACEROUTE
  • VERIFYTIMING
  • VERIFYPOWER
  • EXPORTNETLIST
  • CONFIGURE_PROG_OPTIONS
  • SPM
  • PROGRAMDEVICE
  • GENERATEPROGRAMMINGFILE
  • CONFIGURE_ACTION_PROCEDURES
  • PROGRAM_SPI_FLASH_IMAGE
  • SPM_OTP
  • FLASH_FREEZE
  • INIT_LOCK
  • IO_PROGRAMMING_STATE
  • UPDATE_ENVM
  • EXPORTSDF
paramsstringSpecifies the tool options/parameters for which you want to know the configured value. It is optional. It can either take single parameter or multiple parameters at a time. If omitted, all configured options/parameters are returned.
Return TypeDescription
options/parametersReturns the configured options/parameters of a tool in the Libero Design Flow.

Error Codes

Error Code

Description

None

Required parameter 'name' is missing.

None

Parameter value does not exist.

None

Parameter 'param_name' does not exist.

None

Parameter 'param_name' is not defined. Valid command formatting is 'get_tool_options -name "tool name" [-params "[params]+"]'.

Supported Families

Supported Families
PolarFire®
RTG4
SmartFusion® 2
IGLOO® 2

The following table lists all the tools for which this command is applicable.

Tool Name (Tcl) Tool Display Name Supported Families
SYNTHESIZE Synthesize SmartFusion 2, IGLOO 2, RTG4, PolarFire
COMPILE Compile SmartFusion 2, IGLOO 2, RTG4, PolarFire
PLACEROUTE Place and Route SmartFusion 2, IGLOO 2, RTG4, PolarFire
VERIFYTIMING Verify Timing SmartFusion 2, IGLOO 2, RTG4, PolarFire
VERIFYPOWER Verify Power SmartFusion 2, IGLOO 2, RTG4, PolarFire
EXPORTNETLIST File > Export > Netlist SmartFusion 2, IGLOO 2, RTG4, PolarFire
CONFIGURE_PROG_OPTIONS Configure Programming Options SmartFusion 2, IGLOO 2, RTG4, PolarFire
SPM Configure Security SmartFusion 2, IGLOO 2, RTG4, PolarFire
PROGRAMDEVICE Run PROGRAM Action SmartFusion 2, IGLOO 2, RTG4, PolarFire
GENERATEPROGRAMMINGFILE Generate Bitstream SmartFusion 2, IGLOO 2, RTG4, PolarFire
CONFIGURE_ACTION_PROCEDURES Configure Actions and Procedures SmartFusion 2, IGLOO 2, RTG4, PolarFire
FLASH_FREEZE Configure Flash*Freeze SmartFusion 2, IGLOO 2
INIT_LOCK Configure Register Lock Bits SmartFusion 2, IGLOO 2, RTG4, PolarFire
IO_PROGRAMMING_STATE Configure I/O States During JTAG Programming SmartFusion 2, IGLOO 2, RTG4, PolarFire
UPDATE_ENVM Update eNVM Memory Content SmartFusion 2, IGLOO 2, RTG4, PolarFire
EXPORTSDF Generate Back Annotated Files SmartFusion 2, IGLOO 2, RTG4, PolarFire
PROGRAM_SPI_FLASH_IMAGE Run PROGRAM SPI_IMAGE Action PolarFire
SPM_OTP Configure Permanent Locks for Production PolarFire

Example

  1. The following example gets the value of a synthesize tool single-RETIMING parameter.
    puts [get_tool_options -name {SYNTHESIS} -params {RETIMING}]
    Output: true
  2. The following example gets the values of multiple parameters.
    set p [get_tool_options \
                -name {PLACEROUTE} \
                -params {REPAIR_MIN_DELAYEFFORT_LEVEL IOREG_COMBINING}]
    puts "$p"
    Output:
    REPAIR_MIN_DELAY true EFFORT_LEVEL true IOREG_COMBINING false
  3. When no parameters are given, in this case the following command returns all configured parameters of a VERIFYTIMING Libero tool.
    puts [get_tool_options -name {VERIFYTIMING}]
    Output:
    CONSTRAINTS_COVERAGE true FORMAT XML MAX_TIMING_FAST_HV_LT false
    MAX_TIMING_MULTI_CORNER true MAX_TIMING_SLOW_LV_HT false MAX_TIMING_SLOW_LV_LT
    false MAX_TIMING_VIOLATIONS_FAST_HV_LT false MAX_TIMING_VIOLATIONS_MULTI_CORNER
    true MAX_TIMING_VIOLATIONS_SLOW_LV_HT false MAX_TIMING_VIOLATIONS_SLOW_LV_LT
    false MIN_TIMING_FAST_HV_LT false MIN_TIMING_MULTI_CORNER true
    MIN_TIMING_SLOW_LV_HT false MIN_TIMING_SLOW_LV_LT false
    MIN_TIMING_VIOLATIONS_FAST_HV_LT false MIN_TIMING_VIOLATIONS_MULTI_CORNER true
    MIN_TIMING_VIOLATIONS_SLOW_LV_HT false MI