English | 日本語
This tutorial demonstrates how to install examples that are available on Xilinx Github for the SDx environment.
First, you install the provided example on Github using the SDx IDE. After the application is installed, you target your design to the desired OS and platform and select the newly installed example application for your design.
📌 NOTE You can complete this tutorial even if you do not have a ZC702 board. When creating the SDx project, select your board and one of the available applications, even if the suggested template Emulation application is not found.
Step 1: Downloading and Installing an Example from the Github
-
To download and install an example from the SDx Example store, click Xilinx > SDx Examples.
-
The SDx Examples dialog box opens up. Click the Download button as shown below.
-
The examples are installed as shown below.
-
Click OK in the SDx Example Store Dialog box. The example is installed under
<install_area>/Xilinx/SDx/20xx.x/examples
. -
SDx Libraries can also be downloaded in the same fashion.
Step 2: Creating a Project to Run the Example
- Select File > New > SDx Project.
- In the Project Type page, Application Project is selected by default. Click Next.
- Specify the name of the project (for example, lab9) in the Project name field. Click New.
- From the Platform list select zc702. Click Next.
- From the System Configuration drop-down list, select Linux. Click Next.
- From the list of application templates, select Array Partitioning and click Finish.
- Click on the tab labeled lab9 to select the SDx Project Settings (if the tab is not visible, double click the
project.sdx
file in the Project Explorer). In the HW functions panel observe that the matmul_partition_accel function is marked as a hardware function when the project was created. - If the hardware functions were removed or not marked, click on the Add HW Functions icon to invoke the dialog box to specify hardware functions.
- Click the Build icon on the toolbar to build the project.
Step 3: Running the Application
After the build finishes, you can run your application just as you would run any other example as described in the previous chapters.
After completing this tutorial, you should be able to do the following:
- Use the SDx IDE to download an example from the Xilinx Github and install it.
- Run the example design on your target platform.
Copyright© 2019 Xilinx