Scripting

project restore (Tcl Script API Function)



The project restore function has the following format:

Syntax project restore <archive_name> <destination_directory> [-w | overwrite]
Arguments

<archive_name>

The name of the archive file that contains a project and its related files in a single, compressed Quartus® II Archive File (.qar).

<destination_directory>

The name of the directory where the restored project files are placed.

-w | overwrite

Option that overwrites files in the destination directory or the directories below it. When this option is not used, no existing files are overwritten. Use is optional.

Return Value

Code Name Code String Return
TCL_OK 0 Project successfully restored from archive. For more information, view Quartus® II messages and the Quartus II Archive Log File (<file_name>.qarlog).
TCL_ERROR 1 wrong # args: should be "restore <archive_name> <destination_directory> [-w | overwrite]"
Description

Extracts files from the QAR File and places them in the destination directory. A new directory is created if a target directory does not yet exist.


Back to Top

- PLDWorld -

 

Created by chm2web html help conversion utility.