21.3.93 set_user_lib_options
(Ask a Question)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
| Parameter | Type | Description | 
|---|---|---|
| name | string | Sets the name of your user library. This is mandatory. | 
| path | string | Sets the path name of your user library. This is mandatory. | 
| option | string | Sets your default compile options on your user library. This is mandatory; possible values are: 
  | 
Error Codes
| Error Code | Description | 
|---|---|
| None | Required parameter 'path' is missing. | 
| None | Required parameter 'name' is missing. | 
| None | Required 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}