copy_run - 2020.2 English

Vivado Design Suite Tcl Command Reference Guide (UG835)

Document ID
UG835
Release Date
2020-11-18
Version
2020.2 English

(User-written application) Copy a run from an already existing run, source-run, to a new copy of that run, destination-run.

Syntax

copy_run [‑parent_run <arg>] [‑verbose] ‑name <arg> [‑quiet] <run>

Returns

The new run object

Usage

Name Description
[-parent_run] Specify the synthesis run for the new implementation run, accepts name or run object (Default: same as source run) Default: None
[-verbose] Print detailed information as the copy progresses
-name Specify the name of the new run
[-quiet] Ignore command errors
<run> The run to be copied, accepts name or run object

Description

Copies an existing synthesis or implementation run.

Arguments

-name <arg> - (Optional) Specify the name for the new run.

-parent_run <arg> - (Optional) Specify the synthesis run for a new implementation run. Can be specified as the run name, or the run object as returned by get_runs or current_run.

-quiet - (Optional) Execute the command quietly, returning no messages from the command. The command also returns TCL_OK regardless of any errors encountered during execution.
Note: Any errors encountered on the command-line, while launching the command, will be returned. Only errors occurring inside the command will be trapped.
-verbose - (Optional) Temporarily override any message limits and return all messages from this command.
Note: Message limits can be defined with the set_msg_config command.

<run> - (Required) The run to be copied. Can be specified as the run name, or the run object as returned by get_runs or current_run.

Examples

The following example will copy synth_1 run into a new synth_2 run:
copy_run -name synth_2 [get_runs synth_1]
The following example will copy the impl_1 run into a new run called impl_2, and assign synth_2 as the parent of the new run:
copy_run -name impl_2 [get_runs impl_1] -parent_run synth_2