Step 1: Creating SDAccel Project From Github Example
-
Use the
sdx
command to launch SDx™ in a Terminal window and you will see the Workspace Launcher window appear. Select a location for your workspace, this is where the project will reside.Figure: Workspace Launcher
-
In the the SDx Welcome window, click Create SDx Project.
Figure: SDx Welcome Window
-
In the Create a New SDx Project window, in the Project name field, type vadd, and click Next.
- In the Project Type
dialog, select Application Project and
click Next.
Figure: Project Type
-
In the Choose Hardware Platform dialog choose the xilinx_kcu1500_dynamic_5_0 platform and click Next.
Figure: Hardware Platform
- The System configuration
window is where you define what type of system and runtime to use. For this lab,
use the defaults of the System
configuration which are set to Linux and Runtime of
OpenCL. Click Next.
Figure: System Configuration
-
The Templates dialog has a list of possible templates that you can use to get started in building an SDAccel project. From a fresh start, you should only see Empty Application and Vector Addition. In this lab, you will be using the Vector Addition from the Github repository. To do this you need to download the examples. Click the SDx Examples button.
Figure: Templates (Empty)
- The
SDx Examples window shows that you can
download both the SDAccel Examples and SDSoC Examples. Click the Download button for the SDAccel Examples
and the system will begin to clone the Github repository to the location
designated in the Details.
Figure: SDx Examples (Not Populated)
Note: The download can take a while depending on connectivity speeds. The Progress Information dialog will be present until the cloning of the repository is complete. - Once completed, you will see the SDAccel Examples tree
table populated and expanded. Click OK to
close the window and go back to the Templates window.
Figure: SDx Examples (Populated)
- The Templates window is
now populated with the SDAccel Github
examples. Using the Find window, type
Vector, and locate the
Vector Addition from the Miscellaneous Examples. Click Finish.
Figure: Templates (Populated and Searched)