21.3.81 save_project_as
(Ask a Question)Description
This Tcl command saves the current project in Libero SoC with a different name and in a specified directory. You must specify a location using the -location
parameter.
save_project_as -name "project name" \
-location "project location" \
[-files "all | project | sources" ] \
[-replace_links "TRUE | FALSE" ]
Arguments
Parameter | Type | Description |
---|---|---|
name | string | Specifies the name of your new project. |
location | string | Must include the complete path of the PRJ file. If you do not provide the full path, Libero SoC infers that you want to save the project to your current working directory. This is a required parameter. |
files | string | Specifies the files you want to copy into your new project.
|
replace_links | boolean | Specifies whether or not you want to update your file links in your new project.
|
Error Codes
Error Code | Description |
---|---|
None | Required parameter 'name' is missing. |
None | Required parameter 'location' is missing. |
None | replace_links: Invalid argument value: 'value' (expecting TRUE, 1, true, FALSE, 0 or false). |
None | files: Invalid argument value: 'value' (expecting all, project or sources). |
None | Parameter 'param_name' is not defined. Valid command formatting is 'save_project_as -location "project location" -name "project name" [-replace_links "TRUE | FALSE"] [-archive_project "TRUE | FALSE"] [-files "all | project | sources"] [-designer_views "all | current | none"] '. |
Supported Families
Supported Families |
---|
PolarFire® |
RTG4™ |
SmartFusion® 2 |
IGLOO® 2 |
Example
Saves your current Libero SoC project as mydesign.prjx in the c:/netlists/testprj/mydesign directory.
save_project_as -location {c:/netlists/testprj/mydesign} -name mydesign.prjx