21.3.64 open_project
(Ask a Question)Description
This Tcl command opens an existing Libero SoC project. You can create backup of your original project before opening.
open_project -file "project file" \
[-do_backup_on_convert "TRUE | FALSE"] \
[-backup_file "backup archive file name"]
Arguments
Parameter | Type | Description |
---|---|---|
file | string | Must include the complete path to the PRJ file. If you do not provide the full path, Libero SoC infers that you want to open the project from your current working directory. |
do_backup_on_convert | boolean | Sets the option to backup your files if you open a project created in a previous version of Libero SoC.
|
backup_file | string | Sets the name of your backup file (if you choose to do_backup_on_convert). |
Error Codes
Error Code | Description |
---|---|
None | Unable to find project file: /exprj/exprj.prjx. |
None | Required parameter 'file' is missing. |
None | Parameter 'backup_file' has illegal value. |
None | Parameter 'backup_file' : the file '/prj_path/archive' has got an invalid extension. Valid extension is 'zip'. |
None | do_backup_on_convert: Invalid argument value: 'value' (expecting TRUE, 1, true, FALSE, 0 or false). |
None | Parameter 'param_name' is not defined. Valid command formatting is 'open_project -file "project file" [-do_backup_on_convert "TRUE | FALSE"] [-backup_file "backup archive file name"] ' . |
Supported Families
Supported Families |
---|
PolarFire® |
RTG4™ |
SmartFusion® 2 |
IGLOO® 2 |
Example
The following command opens project.prjx project from test directory without creating a backup file.
open_project -file {c:/netlists/test/project.prjx}