Step 1: Preparing and Setting up the SDAccel Environment
- Launch a terminal and source the settings scripts found in the
SDx environment using the command:
orsource <SDx_install_location>/<version>/settings64.csh
source <SDx_install_location>/<version>/settings64.sh
This allows you to run the SDx command lines without the need to use the GUI.
- Clone the design from the Github repository to a workspace of
your choice by using the command:
git clone https://github.com/Xilinx/SDAccel_Examples <workspace>/examples
Note: This Github repository totals to be around 400MB in size. Make sure you have sufficient space on a local or remote disk to ensure that it can be completely downloaded. - Once the download is complete navigate to the
vadd directory by using the following
command:
cd <workspace>/examples/getting_started/misc/vadd
Once in this directory, run thels
command and view the files. You should get something like this in return:[sdaccel@localhost vadd ]$ ls Makefile README.md description.json src
If you run thels
on thesrc
directory, you should get the following:[sdaccel@localhost vadd ]$ ls src host.cpp krnl_vadd.cl vadd.h