21.3.92 set_user_lib_options

Description

This Tcl command sets your user library options during simulation. If you do not use a custom library these options are not available.

set_user_lib_options -name {Library name} \
                     -path {Library path} \
                     -option {value}

Arguments

ParameterTypeDescription
namestringSets the name of your user library. This is mandatory.
pathstringSets the path name of your user library. This is mandatory.
optionstringSets your default compile options on your user library. This is mandatory; possible values are:
  • do_not_compile - user library is not compiled.
  • refresh - user library is refreshed.
  • compile - user library is compiled.
  • recompile - user library is recompiled.
  • refresh_and_compile - user library is refreshed and compiled.

Error Codes

Error CodeDescription
NoneRequired parameter 'path' is missing.
NoneRequired parameter 'name' is missing.
NoneRequired parameter 'option' is missing.

None

option: Invalid argument value: 'value' (expecting do_not_compile, refresh, compile, recompile or refresh_and_compile).

None

Parameter 'param_name' is not defined. Valid command formatting is 'set_user_lib_options -name "Library name" -path "Library path" -option "do_not_compile | refresh | compile | recompile | refresh_and_compile" ' .

Supported Families

Supported Families
PolarFire®
RTG4
SmartFusion® 2
IGLOO® 2

Example

The example below sets the name for the user library to "test1", the path to c:/msemi_des_files/libraries/test1, and the compile option to "do not compile".

set_user_lib_options -name {test1} -path {c:/msemi_des_files/libraries/test1} \
-option {do_not_compile}