Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Attention: This description s is for Vivado 2015.1 and higher. Older Vivado versions used other variable names, so some changes are necessary.

  1. Create init.tcl with following content:

    Code Block
    languagetext
    if { [catch {
      # #############################
      # insert settings here:
      set tepath "C:/TE"
      if {[file exists ${tepath}/]} {
        set_param board.repoPaths $tepath
        puts "Set Board Part RepoPath: [get_param board.repoPaths]"
      }
      # #############################
    }] } {
      puts "Info: (TE) init.tcl failed"
    }
    
    
  2. Put init.tcl in one of the possible locations for init.tcl:
    1. Vivado Project (For current version only)
    Copy the  init.tcl from this Website to your Vivado Script location
    1. : <installdir>/vivado/<version>/scripts/
    . If this file exists on your installation path, copy only the content into the existing tcl-file.
    1. User Data(For all versions): C:/Users/<user>/AppData/Roaming/Xilinx/Vivado/
  3. Copy the Board part files folder from the reference project (<reference_design>/board_files/) into the folder C:/TE (the folder location can be changed in the init.tcl script). The *.csv file from <reference_design>/board_files/ is not necessary for this way.
  4. Start your Vivado Version and the TCL-console printout should be the following:



    Note
    Please make sure you use plain ASCII text editor when creating the init.tcl file, any non ASCII character in the file will make Vivado to freeze on startup.

    A working init.tcl file is provided in the archive with this tutorial. With this method you can set up a permanent initialization TCL that is read by Vivado each time it launches. Details about the init.tcl file are included in UG835 Vivado Design Suite Tcl Command Reference Guide. UG835 describes where to put the init.tcl file. 

     

...