Creating a New Project

  1. Launch the SDx IDE 2017.1 using the desktop icon or the Start menu.
  2. When you launch the SDx IDE, the Workspace Launcher dialog appears. Click Browse to enter a workspace folder used to store your projects (you can use workspace folders to organize your work), then click OK to dismiss the Workspace Launcher dialog.
  3. The SDx IDE window opens with the Welcome tab visible when you create a new workspace. The tab includes links for Create SDx Project, Add Custom Platform, Create Application Project, Import Project, Tutorials, and Web Resources. Clicking any of these links takes you to further options available under each link. For example, to access documentation and tutorials, clicking on Tutorials takes you to the Tutorials page which has links for SDSoC and SDAccel related documents. The Welcome tab can be dismissed by clicking the X icon or minimized if you do not wish to use it.
  4. From the SDx IDE menu bar select File > New > Xilinx SDx Project. The New Project dialog box opens.
  5. Specify the name of the project, for example lab1.
  6. Click Next.
  7. From the Choose Hardware Platform page, select the zc702 platform.
    Note: If a custom platform is being used that is not in the list of supported platforms, click Add Custom Platform to add the custom platform.
  8. Click Next.
  9. From the System configuration drop-down list for the selected platform, select Linux. Leave all other fields at their default values.
  10. Click Next.
    The Templates page appears, containing source code examples for the selected platform.
  11. From the list of application templates, select Matrix Multiplication and Addition and click Finish.
  12. The standard build configurations are Debug and Release, and you can create additional build configurations. To get the best runtime performance, switch to use the Release configuration using one of the three methods illustrated below. The Release build configuration uses a higher compiler optimization setting than the Debug build configuration. The SDx Project Settings window also allows you to select the active configuration or create a build configuration.

    The Build icon provides a drop-down menu for selecting the build configuration and building the project. Clicking on the Build icon builds the project.

    In the Project Explorer you can right-click on the project to select the build configuration.

    The SDx Project Settings window includes a Build Configurations drop-down, where you can select the active configuration or create a build configuration.

    The SDx Project Settings window provides a summary of the project settings.

    When you build an SDx application, you use a build configuration (a collection of tool settings, folders and files). Each build configuration has a different purpose. Debug builds the application with extra information in the ELF (compiled and linked program) that you need to run the debugger. The debug information in an ELF increases the size of the file and makes your application information visible. The Release configuration provides the same ELF file as the Debug configuration with the exception that it has no debug information. The Estimate Performance option can be selected in any build configuration and is used to run the SDSoC environment in a mode used to estimate the performance of the application (how fast it runs), which requires different settings and steps (see Performance Estimation).