reset_target - 2021.2 English

Vivado Design Suite Tcl Command Reference Guide (UG835)

Document ID
UG835
Release Date
2021-10-22
Version
2021.2 English

Reset target data for the specified source

Syntax

reset_target [‑quiet] [‑verbose] <name> <objects>

Usage

Name Description
[-quiet] Ignore command errors
[-verbose] Suspend message limits during command execution
<name> List of targets to be reset, or 'all' to reset all generated targets
<objects> The objects for which data needs to be reset

Categories

Project, IPFlow

Description

Remove the current target data for the specified IP core. This deletes any files that were delivered during generation of the specified targets. This does not remove the core from the current project, but does remove the associated target data from its referenced location.

Arguments

-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.
<name> - (Required) Specifies the name of the type of target to reset. Valid values are:
  • all - Reset all targets for the specified core.
  • synthesis - Reset the synthesis netlist for the specified core. This will remove the netlist files for the specified core.
  • simulation - Reset the simulation netlist for the specified core.
  • instantiation_template - Reset the instantiation template for the specified core.

<objects> - (Required) The IP core objects to remove the target data from.

Examples

The following example resets the instantiation template for the specified IP core:

reset_target instantiation_template [get_ips blk_mem*]

See Also