close_side_revision (::quartus::project)
The following table displays information for the close_side_revision Tcl command:
Tcl Package and Version |
Belongs to ::quartus::project 5.0 |
|||
Syntax | close_side_revision [-h | -help] [-long_help] <revision_name> | |||
Arguments | -h | -help | Short help | ||
-long_help | Long help with examples and possible return values | |||
<revision_name> | Revision name | |||
Description |
Closes the specified revision name, if it has already been opened as a side revision. Closing the revision will causes any changed assignments to be written to disk, and must be done before the revision can be set again as the current revision. |
|||
Example Usage |
## Create and open "new_rev" as a side revision. Apply an assignment and close the revision. create_revision new_rev -based_on my_rev -copy_results open_side_revision new_rev set_global_assignment -name OPTIMIZATION_TECHNIQUE "Area" -revision new_rev close_side_revision new_rev |
|||
Return Value | Code Name | Code | String Return | |
TCL_OK | 0 | INFO: Operation successful | ||
TCL_OK | 0 | WARNING: Revision is already the current revision: <string>. No action is required. | ||
TCL_ERROR | 1 | ERROR: You must open a project before you can use this command. | ||
TCL_ERROR | 1 | ERROR: Revision file does not exist: <string>.qsf. Use delete_revision to delete the revision from the current project. Then use create_revision to create the revision and its .qsf before setting <string> as the current revision. | ||
TCL_ERROR | 1 | ERROR: Revision is not included in the current project: <string> . Use the create_revision command to create the revision. | ||
TCL_ERROR | 1 | ERROR: An unknown error has occured. |