open_example_project - 2022.1 English

Vivado Design Suite Tcl Command Reference Guide (UG835)

Document ID
Release Date
2022.1 English

Open the example project for the indicated IP


open_example_project [‑dir <arg>] [‑rename_bdcell <arg>] [‑force]
    [‑in_process] [‑quiet] [‑verbose] <objects>...


The Project that was opened.


Name Description
[-dir] Path to directory where example project will be created
[-rename_bdcell] Specify the IP instance name to use instead of the specified BD cell's IP name in the example design
[-force] Overwrite an example project if it exists
[-in_process] Open the example project in the same process
[-quiet] Ignore command errors
[-verbose] Suspend message limits during command execution
<objects> The objects whose example projects will be opened


Project, IPFlow


Open an example project for the specified IP cores. The example project can be used to explore the features of the IP core in a stand-alone project, instead of integrated into the current project.


-dir <arg> - (Optional) Specifies the path to the directory where the example project will be written.

-force - (Optional) Force the opening of a new example project, overwriting an existing example project at the specified path.

-in_process - (Optional) Open the example project in the same tool process as the current project. As a default, without this argument, a new process instance of the tool will be launched for the example project.

-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.

<objects> - (Required) The IP cores to open example projects for.


The following copies the IP customization and opens the example project for the specified IP core in a new location:
open_example_project -dir C:/Data/examples -force [get_ips blk_mem*]