UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 62336

Vivado - How can I add a Tcl package that is specific to a project?

Description

How can I add a Tcl package that is specific to a project?

Solution

You can use the "package require" Tcl command. 

You also need to add the path to the library to auto_path

For example:

set MYPATH C:/mypath/mylib
lappend auto_path $MYPATH
package require ::mylib
AR# 62336
Date Created 10/02/2014
Last Updated 11/27/2014
Status Active
Type General Article
Tools
  • Vivado Design Suite