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
SYNTHESIZESynthesizeSmartFusion 2, IGLOO 2, RTG4, PolarFire
COMPILECompileSmartFusion 2, IGLOO 2, RTG4, PolarFire
PLACEROUTEPlace and RouteSmartFusion 2, IGLOO 2, RTG4, PolarFire
VERIFYTIMINGVerify TimingSmartFusion 2, IGLOO 2, RTG4, PolarFire
VERIFYPOWERVerify PowerSmartFusion 2, IGLOO 2, RTG4, PolarFire
EXPORTNETLISTFile > Export > NetlistSmartFusion 2, IGLOO 2, RTG4, PolarFire
CONFIGURE_PROG_OPTIONSConfigure Programming OptionsSmartFusion 2, IGLOO 2, RTG4, PolarFire
SPMConfigure SecuritySmartFusion 2, IGLOO 2, RTG4, PolarFire
PROGRAMDEVICERun PROGRAM ActionSmartFusion 2, IGLOO 2, RTG4, PolarFire
GENERATEPROGRAMMINGFILEGenerate BitstreamSmartFusion 2, IGLOO 2, RTG4, PolarFire
CONFIGURE_ACTION_PROCEDURESConfigure Actions and ProceduresSmartFusion 2, IGLOO 2, RTG4, PolarFire
FLASH_FREEZEConfigure Flash*FreezeSmartFusion 2, IGLOO 2
INIT_LOCKConfigure Register Lock BitsSmartFusion 2, IGLOO 2, RTG4, PolarFire
IO_PROGRAMMING_STATEConfigure I/O States During JTAG ProgrammingSmartFusion 2, IGLOO 2, RTG4, PolarFire
UPDATE_ENVMUpdate eNVM Memory ContentSmartFusion 2, IGLOO 2, RTG4, PolarFire
EXPORTSDFGenerate Back Annotated FilesSmartFusion 2, IGLOO 2, RTG4, PolarFire
PROGRAM_SPI_FLASH_IMAGERun PROGRAM SPI_IMAGE ActionPolarFire
SPM_OTPConfigure Permanent Locks for ProductionPolarFire

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