Description
This Tcl command modifies the settings for linked files storage in your Libero SoC project. Once a user changes the settings from Absolute mode to relative mode, the user will not be able to switch back the setting to absolute mode. The value in this argument is used only if the relative path is set in -use_relative_path argument.
project_general_settings \
[-use_relative_path { 1 | 0 }] \
[-linked_files_root_dir_env {linked files root directory}]
Arguments
Parameter | Type | Description |
---|
use_relative_path | boolean | Enter "1" to use relative path or "0" (default) to use absolute path setting for the linked files in the project. |
linked_files_root_dir_env | string | The System Environment variable that has valid root directory path. All the linked files in the project will be referenced relative to the path set in the Environment variable. |
Return Type | Description |
---|
None | None |
Error Codes
Error Code | Description |
---|
None | Please specify an Environment variable for the root directory path for linked files in the project. [OK] |
None | The Environment variable '' specified for the root directory path for linked files is not defined/set in your environment. Please make sure to set the appropriate root directory path in this Environment variable before you open Libero. You will need to exit Libero and open a new session for any changes you made to the directory path set in the Environment variable to reflect here. |
None | use_relative_path: Invalid argument value: 'value' (expecting TRUE, 1, true, FALSE, 0 or false). |
None | Parameter 'linked_files_root_dir_env' has illegal value. |
None | Parameter 'param_name' is not defined. Valid command formatting is 'project_general_settings [-linked_files_root_dir_env "linked files root directory"] [-use_relative_path "TRUE | FALSE"]'. |
Supported Families
Supported Families |
---|
PolarFire® |
PolarFire SoC |
RTG4™ |
SmartFusion® 2 |
IGLOO® 2 |
Example
This example modifies the project general settings.
project_general_settings \
-use_relative_path 1 \
-linked_files_root_dir_env {MSCC_ROOT_2}