Skip to content

Getting Started

Josh Andersen edited this page Sep 12, 2019 · 1 revision

Setup environmental variables and create initial project

  1. set $XILINXD_LICENSE_FILE to point to the relevant license server
  2. make sure vivado 2018.2 executable is in $PATH or aliased appropriately
  3. cd OpenCAPI3.0_Client_RefDesign/scripts
  4. Source the correct setup_environment script
  • If using csh,
source ./setup_environment.csh
  • If using ksh,
. ./setup_environment.ksh
  1. cd .. (go back to the OpenCapiBuilds directory)
  2. vivado -source create_project.tcl -tclargs --speed{speed}

TCL ARGS are optional.

Example Commands: vivado -source create_project.tcl vivado -source create_project.tcl -tclargs --speed 25.78125

If TCL ARGs are not specified, the default values are:

speedcardafu
25.78125ad9v3AFP

Accepted TCL Arg Values

speedcardafu
25.78125ad9v3AFP
25.625
20

This will open an instance of the Vivado GUI and create the initial Vivado project inside the directory: **viv_proj**
To reopen the Vivado project at a later time, use the following command from the OpenCAPI3.0_Client_RefDesign directory:
vivado viv_proj/viv_proj.xpr

create_project.tcl updates

  • Currently, only one card and one AFU are supported. However, the directory structure and create_project.tcl script were designed to allow flexibility with building any AFU on any card.
  • New AFUs should be placed under ./afu
  • New cards should be placed under ./board_support_packages