Skip to content

Setup Tincr

Brad White edited this page Jan 12, 2016 · 5 revisions

How to Setup the Tincr Design Suite

Installation

Installing Tincr can be done in three simple steps:

  1. Download the Tincr distribution to your machine.
  • Create an environment variable called TINCR_PATH and assign it the path of the root folder in the Tincr distribution you downloaded (i.e. the one that contains the tincr and tincr_test directories).
  • Copy the file <Tincr root>\install\pkgIndex.tcl to the directory <Vivado root>\tps\tcl\tcl8.5 on your machine.

init.tcl

Inside of the <Vivado root>\tps\tcl\tcl8.5 directory, there is a file called init.tcl. This contains a set of Tcl commands that get executed during the initialization of Vivado. It is useful to put commands in there to setup various aspects of Tincr in the Vivado environment. The following list gives a few examples of commands that can be added to the end of init.tcl:

  • package require tincr
    • Automatically loads the tincr Tcl package every time Vivado starts
    • See How to use Tincr
  • namespace import ::tincr::*
    • Imports all commands in Tincr into the global namespace, overriding any duplicates
    • Must be called after loading the Tincr package
    • See How to use Tincr
  • set ::tincr::debug 1
    • Sets Tincr's debug level to 1
    • The number '1' can be replaced with any number of debug level
    • Must be called after loading the Tincr package
Clone this wiki locally