21.3.69 project_general_settings

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

ParameterTypeDescription
use_relative_pathbooleanEnter "1" to use relative path or "0" (default) to use absolute path setting for the linked files in the project.
linked_files_root_dir_envstringThe 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 TypeDescription
NoneNone

Error Codes

Error CodeDescription
NonePlease specify an Environment variable for the root directory path for linked files in the project. [OK]
NoneThe 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.
Noneuse_relative_path: Invalid argument value: 'value' (expecting TRUE, 1, true, FALSE, 0 or false).
NoneParameter 'linked_files_root_dir_env' has illegal value.
NoneParameter '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}